Open Bug 1901695 Opened 4 months ago Updated 3 months ago

[meta] Thunderbird console error cleanup

Categories

(Thunderbird :: General, task)

Tracking

(Not tracked)

People

(Reporter: mkmelin, Unassigned)

References

(Depends on 18 open bugs)

Details

(Keywords: meta)

Attachments

(1 file)

This bug is to track console errors that are triggered using "normal" operations.
Analyzing CI logs should provide some details about how much there's to do.

Keywords: meta
Summary: [meta] console error cleanup → [meta] Thunderbird console error cleanup
Blocks: 1780735
Blocks: 1777826
No longer blocks: 1780735
Blocks: 1770224
Blocks: 1744630
No longer blocks: 1723981, 1744630, 1770224, 1777826
Attached file grab-log-errors.sh

Rough script to grab errors from CI based on the D task id, and then sort errors by frequency.
Run it e.g. by grab-log-errors.sh Xmtz7BNBSeyeKFOzj_9Rww

The console.error: ({}) errors IIRC show more details in the error console. That should be fixed to show more relevant info on the native console as well.

Current output:

    183 console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
    109 console.error: ({})
     17 console.error: WebExtensions:
     14 console.error: (new TypeError("can't access property \"goUpdateCommand\", topChromeWindow is null", "chrome://messenger/content/addressbook/aboutAddressBook.js", 421))
      8 JavaScript error: chrome://messenger/content/aboutMessage.js, line 215: TypeError: can't access property "selectEventsSuppressed", gDBView.selection is null
      7 console.error: carddav.setup: ({})
      6 console.error: (new Error("Send aborted by an onBeforeSend event", "chrome://messenger/content/messengercompose/MsgComposeCommands.js", 6115))
      6 console.error: mailnews.smtp: "ConnectionRefusedError: a Network error occurred"
      5 console.error: mailnews.send: "Sending failed; The message could not be sent because connecting to Outgoing server (SMTP)  failed. The server may be unavailable or is refusing SMTP connections. Please verify that your Outgoing server (SMTP) settings are correct and try again., exitCode=2153066798, originalMsgURI="
      5  console.error: ({})
      4 JavaScript error: resource:///modules/calendar/calUtils.sys.mjs, line 129: NS_ERROR_UNEXPECTED: Assert failed: [CalCalendarManager::registerCalendar] calendar already registered!
      4  console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
      3 console.error: (new TypeError("can't access property \"classList\", row is null", "chrome://messenger/content/tree-listbox-mixin.mjs", 771))
      3 console.error: (new Error("Send aborted by the user: attachment missing", "chrome://messenger/content/messengercompose/MsgComposeCommands.js", 6215))
      2 JavaScript error: chrome://messenger/content/messengercompose/MsgComposeCommands.js, line 7725: TypeError: can't access property "incomingServer", account is null
      2 JavaScript error: chrome://messenger/content/messengercompose/MsgComposeCommands.js, line 11032: NS_ERROR_NOT_INITIALIZED: Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIMsgCompose.initEditor]
      2 JavaScript error: chrome://messenger/content/messengercompose/addressingWidgetOverlay.js, line 142: TypeError: can't access property "doCc", gCurrentIdentity is null
      2 JavaScript error: chrome://messenger/content/mail-offline.js, line 86: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgSendLater.hasUnsentMessages]
      2 JavaScript error: chrome://messenger/content/mailCommon.js, line 1118: TypeError: can't access property "document", top is null
      2 console.error: "No extension ID provided for the window listener"
      2 console.error: (new TypeError("can't access property \"initAccount\", provider is undefined", "resource:///modules/cloudFileAccounts.sys.mjs", 116))
      2 console.error: gloda.index_msg: "Problem entering folder: unknown, skipping. Error was: resource:///modules/gloda/IndexMsg.sys.mjs:645: TypeError: can't access property \"msgDatabase\", this._indexingFolder is null"
      2 console.error: Enterprise Policies:
      2 console.error: Calendar: "[calICSCalendar] Backup failed, no copy: TypeError: can't access property \"copyTo\", oldFile is undefined"
      1 JavaScript error: resource:///modules/MsgIncomingServer.sys.mjs, line 940: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIObserverService.removeObserver]
      1 JavaScript error: resource:///modules/IMIncomingServer.sys.mjs, line 173: TypeError: can't access property "setBool", this.imAccount is null
      1  JavaScript error: resource:///modules/DBViewWrapper.sys.mjs, line 1321: TypeError: can't access property "entries", this._underlyingFolders is null
      1 JavaScript error: resource:///modules/DBViewWrapper.sys.mjs, line 1321: TypeError: can't access property "entries", this._underlyingFolders is null
      1 JavaScript error: resource://gre/modules/HelperAppDlg.sys.mjs, line 594: TypeError: can't access property "postShowCallback", this.dialog is null
      1 JavaScript error: resource://gre/modules/ConduitsChild.sys.mjs, line 122: Error: sendRemoveListener on closed conduit overrideContext@mochi.test.29824252903428
      1 JavaScript error: resource://gre/modules/ConduitsChild.sys.mjs, line 122: Error: sendRemoveListener on closed conduit overrideContext@mochi.test.29686813949956
      1 JavaScript error: resource://gre/modules/ConduitsChild.sys.mjs, line 122: Error: sendRemoveListener on closed conduit overrideContext@mochi.test.29549374996484
      1 JavaScript error: resource://gre/modules/ConduitsChild.sys.mjs, line 122: Error: sendRemoveListener on closed conduit overrideContext@mochi.test.29411936043012
      1 JavaScript error: resource://gre/modules/ConduitsChild.sys.mjs, line 122: Error: sendRemoveListener on closed conduit overrideContext@mochi.test.29274497089540
      1 JavaScript error: resource://gre/modules/ConduitsChild.sys.mjs, line 122: Error: sendRemoveListener on closed conduit {21163bb6-8fd5-46d9-8dc3-804316412caf}.29137058136073
      1 JavaScript error: resource://devtools/client/jsonview/Sniffer.sys.mjs, line 50: NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIChannel.contentType]
      1 JavaScript error: chrome://mochitests/content/browser/comm/mail/test/browser/notification/browser_notification.js, line 50: NS_ERROR_FAILURE:
      1 JavaScript error: chrome://messenger/content/aboutMessage.js, line 119: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebProgress.addProgressListener]
      1 console.error: "Window listener for extension + 'test-addon1' already registered"
      1 console.error: "The extension + 'test-addon5' does not provide any callbacks"
      1 console.error: pop3.server8.4: "SecurityError info: SEC_ERROR_EXPIRED_CERTIFICATE"
      1 console.error: pop3.server8.4: "SecurityError cert chain: expired.test.test; serial# 67:6E:0F:2D:87:EF:98:46:31:8A:F3:9F:44:B0:BD:67:AC:3D:48:D5"
      1 console.error: pop3.server8.4: "SecurityError: a SecurityCertificate error occurred"
      1 console.error: pop3.server7.3: "SecurityError info: SEC_ERROR_EXPIRED_CERTIFICATE"
      1 console.error: pop3.server7.3: "SecurityError cert chain: expired.test.test; serial# 67:6E:0F:2D:87:EF:98:46:31:8A:F3:9F:44:B0:BD:67:AC:3D:48:D5"
      1 console.error: pop3.server7.3: "SecurityError: a SecurityCertificate error occurred"
      1 console.error: pop3.server49.38: "Got an error name=oAuth2Error, the server said: Yeah, nah, that's the wrong access token."
      1 console.error: pop3.server43.32: "SecurityError info: "
      1 console.error: pop3.server43.32: "ConnectionRefusedError: a Network error occurred"
      1 console.error: pop3.server40.30: "SecurityError info: MOZILLA_PKIX_ERROR_SELF_SIGNED_CERT"
      1 console.error: pop3.server40.30: "SecurityError cert chain: selfsigned.test.test; serial# 3D:A2:55:02:52:22:B7:B8:62:8E:FD:19:7A:EE:F8:25:1D:9B:F1:6C"
      1 console.error: pop3.server40.30: "SecurityError: a SecurityCertificate error occurred"
      1 console.error: pop3.server38.28: "SecurityError info: MOZILLA_PKIX_ERROR_NOT_YET_VALID_CERTIFICATE"
      1 console.error: pop3.server38.28: "SecurityError cert chain: notyetvalid.test.test; serial# 59:AA:2E:B0:99:A7:AC:D2:2F:02:25:24:E3:83:D0:88:33:34:B0:4F"
      1 console.error: pop3.server38.28: "SecurityError: a SecurityCertificate error occurred"
      1 console.error: pop3.server36.26: "SecurityError info: SEC_ERROR_EXPIRED_CERTIFICATE"
      1 console.error: pop3.server36.26: "SecurityError cert chain: expired.test.test; serial# 67:6E:0F:2D:87:EF:98:46:31:8A:F3:9F:44:B0:BD:67:AC:3D:48:D5"
      1 console.error: pop3.server36.26: "SecurityError: a SecurityCertificate error occurred"
      1 console.error: pop3.server34.4: "ConnectionRefusedError: a Network error occurred"
      1 console.error: pop3.server34.3: "ConnectionRefusedError: a Network error occurred"
      1 console.error: pop3.server34.25: "SecurityError info: SSL_ERROR_BAD_CERT_DOMAIN"
      1 console.error: pop3.server34.25: "SecurityError cert chain: test.test; serial# 45:CD:99:5B:B5:E0:23:52:D2:E9:03:B5:90:DA:A6:F5:EE:C0:84:CC"
      1 console.error: pop3.server34.25: "SecurityError: a SecurityCertificate error occurred"
      1 console.error: pop3.server33.2: "ConnectionRefusedError: a Network error occurred"
      1 console.error: pop3.server32.1: "ConnectionRefusedError: a Network error occurred"
      1 console.error: pop3.server30.24: "Got an error name=pop3PasswordFailed, the server said: Wrong username or password, crook!"
      1 console.error: Policies: "Web handler must contain %s (https://www.example.org/)"
      1 console.error: Policies: "useHelperApp requires a handler"
      1 console.error: Policies: "Download failed - ERROR_NETWORK_FAILURE - http://mochi.test:8888/browser/comm/mail/components/enterprisepolicies/tests/browser/policytest_invalid.xpi"
      1 console.error: "no parentRow for " "mailbox://nobody@Test%20Local%20Folders" "mailbox://nobody@Test%20Local%20Folders/Test%20Folder"
      1 console.error: "no parentRow for " "mailbox://nobody@Test%20Local%20Folders" "mailbox://nobody@Test%20Local%20Folders/Another%20Folder"
      1 console.error: "no parentRow for " "mailbox://nobody@Reply%20Identity%20Testing" "mailbox://nobody@Reply%20Identity%20Testing/Replies"
      1 console.error: (new ExtensionError("File does not exist", (void 0), 48))
      1 console.error: (new Error("Send aborted: invalid recipient address found", "chrome://messenger/content/messengercompose/MsgComposeCommands.js", 6122))
      1 console.error: mail.notification: ({})
      1 console.error: mailnews.send: "Sending failed; The message could not be sent because connecting to Outgoing server (SMTP)  failed. The server may be unavailable or is refusing SMTP connections. Please verify that your Outgoing server (SMTP) settings are correct and try again., exitCode=2153066798, originalMsgURI=mailbox-message://nobody@Local%20Folders/Drafts#5"
      1 console.error: mailnews.send: "Failed to fetch attachment; name=, url=data:1, error=[Exception... \"Failed to open input source 'data:1'\"  nsresult: \"0x804b000a (NS_ERROR_MALFORMED_URI)\"  location: \"JS frame :: resource:///modules/MimePart.sys.mjs :: _fetchAttachment/content< :: line 283\"  data: yes]"
      1 console.error: mailnews.nntp: "Got an error id=481, the server said: Authentication failed"
      1 console.error: mailnews.nntp: ({get isTrusted() {
      1 console.error: "Failed to enable sync" (new Error("No FxA user is signed in", "resource://services-sync/service.sys.mjs", 965))
      1 console.error: "Error updating the local engines state" (new Error("no user is logged in", "resource://services-sync/sync_auth.sys.mjs", 507))
      1  console.error: "Error creating vCard properties" (new ParserError("invalid line (no token \";\" or \":\") \"null\"", "resource:///modules/calendar/Ical.sys.mjs", 1942))
      1 console.error: "Couldn't remove window listener for extension + 'test-addon5'"
      1 console.error: "Couldn't remove window listener for extension + 'test-addon3'"

JavaScript error: resource://gre/modules/ConduitsChild.sys.mjs, line 122: Error: sendRemoveListener on closed conduit

Appears to be a toolkit issue, see:
https://github.com/Betterbird/thunderbird-patches/blob/518e8750e1ba796b7d91288fc5b6fc368b3ecec3/128/bugs/NNN9-reduce-console-noise-moz.patch#L15

See Also: → 1902241
Depends on: 1903736
Depends on: 1903738
Depends on: 1903740
Depends on: 1903743
Depends on: 1903744
Depends on: 1903745
Depends on: 1903746
Depends on: 1903747
Depends on: 1903748
Depends on: 1903749
Depends on: 1903750
Depends on: 1903751
Depends on: 1903752
Depends on: 1903753
Depends on: 1903754
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: