Closed Bug 1013945 Opened 10 years ago Closed 10 years ago

Uncaught exception in task: `gThreadClient is null`

Categories

(DevTools :: Debugger, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 34

People

(Reporter: jlong, Assigned: past)

References

Details

Attachments

(1 file)

I'm almost positive this error existed before the Task.jsm port (I've seen it before), but Task is now reporting it consistently. It looks like it happens when a test is shutting down. One test that triggers it is browser_dbg_auto-pretty-print-02.js, but others do too.

 0:13.32 *************************
 0:13.32 A coding exception was thrown and uncaught in a Task.
 0:13.32 
 0:13.32 Full message: TypeError: gThreadClient is null
 0:13.32 Full stack: SourcesView.prototype<.togglePrettyPrint<@chrome://browser/content/devtools/debugger-panes.js:477:11
 0:13.32 TaskImpl_run@resource://gre/modules/Task.jsm:282:13
 0:13.32 TaskImpl@resource://gre/modules/Task.jsm:247:3
 0:13.32 createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:224:7
 0:13.32 SourcesView.prototype<._onSourceSelect<@chrome://browser/content/devtools/debugger-panes.js:828:9
 0:13.32 TaskImpl_run@resource://gre/modules/Task.jsm:282:13
 0:13.32 Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:863:11
 0:13.32 this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:742:7
 0:13.32 
 0:13.32 *************************
Summary: Error after porting debugger frontend to Task.jsm: gThreadClient is null → Uncaught exception in task: `gThreadClient is null`
No longer blocks: 1013941
In the browser_dbg_clean-exit.js test, the error is `this.activeThread is null` instead, but seems to happen at the same time (when the test is shutting down).
Blocks: 1011603
No longer depends on: 1011603
Assignee: nobody → past
Status: NEW → ASSIGNED
Priority: -- → P2
https://hg.mozilla.org/mozilla-central/rev/adbb8b35448b
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 34
\o/ Thanks for working on these past!
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: