Closed Bug 955649 Opened 11 years ago Closed 6 years ago

JavaScript errors if ibConvStatsService.js was processing LIST results during shutdown

Categories

(Instantbird Graveyard :: Conversation, defect)

x86
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: florian, Unassigned)

References

Details

Attachments

(1 file)

*** Original post on bio 2204 at 2013-10-05 18:14:00 UTC *** *** Due to BzAPI limitations, the initial description is in comment 1 ***
Attached patch untested possible patch (deleted) — Splinter Review
*** Original post on bio 2204 as attmnt 2930 at 2013-10-05 18:14:00 UTC *** Today my debug build (that was using 100% CPU and got me impatient to the point of pressing Command-Q) gave me all these JS errors at shutdown: prpl-irc: Sending: QUIT :Instantbird 1.5a1pre -- http://www.instantbird.com prpl-irc: Disconnect ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'[JavaScript Error: "this._account.imAccount is undefined" {file: "resource:///modules/ircBase.jsm" line: 43}]' when calling method: [prplIRoomInfo::accountId]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///<objdir>/mozilla/dist/InstantbirdDebug.app/Contents/MacOS/components/ibConvStatsService.js :: ConvStatsService.prototype._addPendingChats :: line 245" data: yes] ************************************************************ ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'[JavaScript Error: "this._account.imAccount is undefined" {file: "resource:///modules/ircBase.jsm" line: 43}]' when calling method: [prplIRoomInfo::accountId]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///<objdir>/mozilla/dist/InstantbirdDebug.app/Contents/MacOS/components/ibConvStatsService.js :: ConvStatsService.prototype._addPendingChats :: line 245" data: yes] ************************************************************ ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'[JavaScript Error: "this._account.imAccount is undefined" {file: "resource:///modules/ircBase.jsm" line: 43}]' when calling method: [prplIRoomInfo::accountId]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///<objdir>/mozilla/dist/InstantbirdDebug.app/Contents/MacOS/components/ibConvStatsService.js :: ConvStatsService.prototype._addPendingChats :: line 245" data: yes] ************************************************************ ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'[JavaScript Error: "this._account.imAccount is undefined" {file: "resource:///modules/ircBase.jsm" line: 43}]' when calling method: [prplIRoomInfo::accountId]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///<objdir>/mozilla/dist/InstantbirdDebug.app/Contents/MacOS/components/ibConvStatsService.js :: ConvStatsService.prototype._addPendingChats :: line 245" data: yes] ************************************************************ ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'[JavaScript Error: "this._account.imAccount is undefined" {file: "resource:///modules/ircBase.jsm" line: 43}]' when calling method: [prplIRoomInfo::accountId]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///<objdir>/mozilla/dist/InstantbirdDebug.app/Contents/MacOS/components/ibConvStatsService.js :: ConvStatsService.prototype._addPendingChats :: line 245" data: yes] ************************************************************ ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'[JavaScript Error: "this._account.imAccount is undefined" {file: "resource:///modules/ircBase.jsm" line: 43}]' when calling method: [prplIRoomInfo::accountId]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///<objdir>/mozilla/dist/InstantbirdDebug.app/Contents/MacOS/components/ibConvStatsService.js :: ConvStatsService.prototype._addPendingChats :: line 245" data: yes] ************************************************************ ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'[JavaScript Error: "this._account.imAccount is undefined" {file: "resource:///modules/ircBase.jsm" line: 43}]' when calling method: [prplIRoomInfo::accountId]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///<objdir>/mozilla/dist/InstantbirdDebug.app/Contents/MacOS/components/ibConvStatsService.js :: ConvStatsService.prototype._addPendingChats :: line 245" data: yes] ************************************************************ ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'[JavaScript Error: "this._account.imAccount is undefined" {file: "resource:///modules/ircBase.jsm" line: 43}]' when calling method: [prplIRoomInfo::accountId]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///<objdir>/mozilla/dist/InstantbirdDebug.app/Contents/MacOS/components/ibConvStatsService.js :: ConvStatsService.prototype._addPendingChats :: line 245" data: yes] ************************************************************ ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'[JavaScript Error: "this._account.imAccount is undefined" {file: "resource:///modules/ircBase.jsm" line: 43}]' when calling method: [prplIRoomInfo::accountId]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///<objdir>/mozilla/dist/InstantbirdDebug.app/Contents/MacOS/components/ibConvStatsService.js :: ConvStatsService.prototype._addPendingChats :: line 245" data: yes] ************************************************************ ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'[JavaScript Error: "this._account.imAccount is undefined" {file: "resource:///modules/ircBase.jsm" line: 43}]' when calling method: [prplIRoomInfo::accountId]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///<objdir>/mozilla/dist/InstantbirdDebug.app/Contents/MacOS/components/ibConvStatsService.js :: ConvStatsService.prototype._addPendingChats :: line 245" data: yes] ************************************************************ JavaScript strict warning: file:///<objdir>/mozilla/dist/InstantbirdDebug.app/Contents/MacOS/components/imConversations.js, line 426: reference to undefined property this._uiConv JavaScript error: file:///<objdir>/mozilla/dist/InstantbirdDebug.app/Contents/MacOS/components/ibConvStatsService.js, line 332: NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: '[JavaScript Error: "this._uiConv is not an object" {file: "file:///<objdir>/mozilla/dist/InstantbirdDebug.app/Contents/MacOS/components/imConversations.js" line: 426}]' when calling method: [imIConversationsService::getUIConversations] ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'[JavaScript Error: "this._account.imAccount is undefined" {file: "resource:///modules/ircBase.jsm" line: 43}]' when calling method: [prplIRoomInfo::accountId]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///<objdir>/mozilla/dist/InstantbirdDebug.app/Contents/MacOS/components/ibConvStatsService.js :: ConvStatsService.prototype._addPendingChats :: line 245" data: yes] ************************************************************ ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'[JavaScript Error: "this._account.imAccount is undefined" {file: "resource:///modules/ircBase.jsm" line: 43}]' when calling method: [prplIRoomInfo::accountId]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///<objdir>/mozilla/dist/InstantbirdDebug.app/Contents/MacOS/components/ibConvStatsService.js :: ConvStatsService.prototype._addPendingChats :: line 245" data: yes] ************************************************************ JavaScript error: file:///<objdir>/mozilla/dist/InstantbirdDebug.app/Contents/MacOS/components/ibConvStatsService.js, line 332: NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: '[JavaScript Error: "this._uiConv is not an object" {file: "file:///<objdir>/mozilla/dist/InstantbirdDebug.app/Contents/MacOS/components/imConversations.js" line: 426}]' when calling method: [imIConversationsService::getUIConversations]
Blocks: 955013
Shutdown errors also happen after LIST processing has completed, when shutting down with an awesometab open: * Call to xpconnect wrapped JSObject produced this error: * [Exception... "[JavaScript Error: "this._account.imAccount is undefined" {file: "resource:///modules/ircBase.jsm" line: 38}]'[JavaScript Error: "this._account.imAccount is undefined" {file: "resource:///modules/ircBase.jsm" line: 38}]' when calling method: [prplIRoomInfo::accountId]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file://Instantbird.app/Contents/MacOS/components/ibConvStatsService.js :: PossibleChat.prototype.accountId :: line 760" data: yes] ************************************************************ etc
On the behalf of Florian: Closing bugs related to the Instantbird UI as WONTFIX, as the development of the standalone chat client Instantbird has stopped. Instantbird users are encouraged to migrate to Thunderbird. The user interface of instant messaging in Thunderbird will feel familiar, as the Thunderbird IM support started as a fork of Instantbird.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
On the behalf of Florian: Closing bugs related to the Instantbird UI as WONTFIX, as the development of the standalone chat client Instantbird has stopped. Instantbird users are encouraged to migrate to Thunderbird. The user interface of instant messaging in Thunderbird will feel familiar, as the Thunderbird IM support started as a fork of Instantbird.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: