Open Bug 955572 Opened 11 years ago Updated 3 years ago

Exception... "'TypeError: this._account is undefined' when calling method: [nsIStreamListener::onStopRequest]

Categories

(Chat Core :: IRC, defect)

x86
Other
defect

Tracking

(Not tracked)

People

(Reporter: florian, Unassigned)

References

Details

*** Original post on bio 2134 at 2013-08-27 13:34:00 UTC *** Timestamp: 27/08/13 12:50:38 Error: Connection timed out. Source File: resource://gre/components/irc.js Line: 715 Source Code: prpl-irc Timestamp: 27/08/13 12:50:38 Error: [Exception... "'TypeError: this._account is undefined' when calling method: [nsIStreamListener::onStopRequest]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0" data: no] This exception sometimes appears after the "Connection timed out." error in my Error Console. It's not clear to me why it isn't there all the time, but a totally random guess is that whether the account was successfully connected or trying to connect before the socket timed out could make a difference.
Blocks: 955430
*** Original post on bio 2134 at 2013-08-27 14:16:52 UTC *** Another possibility is the distinction could be whether onConnectionTimedOut is called from the timer or from onStopRequest, but it's hard to debug without a timing out connection.
I've just seen "this._account is undefined" from a this.DEBUG for onStartRequest, also for an account that was timing out on connection.
(In reply to aleth [:aleth] from comment #2) > I've just seen "this._account is undefined" from a this.DEBUG for > onStartRequest, also for an account that was timing out on connection. Debug log for this case (onStartRequest missing, of course) [10/12/2014 16:47:50] LOG (@ prpl-irc: Socket.connect resource:///modules/socket.jsm:148) Connecting to: zelazny.freenode.net:7000 [10/12/2014 16:47:50] DEBUG (@ prpl-irc: Socket.onTransportStatus resource:///modules/socket.jsm:557) onTransportStatus(STATUS_RESOLVING) [10/12/2014 16:47:50] DEBUG (@ prpl-irc: Socket.onTransportStatus resource:///modules/socket.jsm:557) onTransportStatus(STATUS_RESOLVED) [10/12/2014 16:47:50] DEBUG (@ prpl-irc: Socket.onTransportStatus resource:///modules/socket.jsm:557) onTransportStatus(STATUS_CONNECTING_TO)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.