Closed Bug 1891699 Opened 1 month ago Closed 1 month ago

dev tools crashes cannot do anything halp

Categories

(DevTools :: Debugger, defect)

defect

Tracking

(firefox127 fixed)

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: fuckdead, Assigned: ochameau)

Details

Attachments

(1 file)

Error:
TypeError: selectedLocation.sourceActor is null

React Component Stack:
in Connect(SourceFooter)
in div
in main
in div
in div
in SplitBox
in div
in div
in SplitBox
in AppErrorBoundary
in div
in App
in Connect(App)
in Provider
in Provider

Stacktrace:
mapStateToProps@resource://devtools/client/debugger/src/components/Editor/Footer.js:339:89
mapToPropsProxy@resource://devtools/client/shared/vendor/react-redux.js:1776:92
handleNewState@resource://devtools/client/shared/vendor/react-redux.js:1937:41
handleSubsequentCalls@resource://devtools/client/shared/vendor/react-redux.js:1954:30
pureFinalPropsSelector@resource://devtools/client/shared/vendor/react-redux.js:1959:32
runComponentSelector@resource://devtools/client/shared/vendor/react-redux.js:1233:39
onStateChange@resource://devtools/client/shared/vendor/react-redux.js:1406:23
notify@resource://devtools/client/shared/vendor/react-redux.js:1159:21
notifyNestedSubs@resource://devtools/client/shared/vendor/react-redux.js:1198:20
onStateChange@resource://devtools/client/shared/vendor/react-redux.js:1409:16
dispatch@resource://devtools/client/shared/vendor/redux.js:265:7
waitUntilService/</<@resource://devtools/client/debugger/src/actions/utils/middleware/wait-service.js:71:24
promiseMiddleware/</<@resource://devtools/client/debugger/src/actions/utils/middleware/promise.js:38:14
context/</<@resource://devtools/client/debugger/src/actions/utils/middleware/context.js:84:12
thunk/</</<@resource://devtools/client/debugger/src/actions/utils/middleware/thunk.js:29:100
dispatch@resource://devtools/client/shared/vendor/redux.js:681:28
setBreakableLines/<@resource://devtools/client/debugger/src/actions/sources/breakableLines.js:62:15

Can you share which version of Firefox you are using? In the file mentioned in the stacktrace, we are checking that selectedLocation.sourceActor is defined before accessing it so it might be fixed in the latest Firefox versions.

Flags: needinfo?(fuckdead)

This could possibly throw if sourceActor was null, and wasn't used.

Assignee: nobody → poirot.alex
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9cb15fbf3387
[devtools] Remove unused sourceMapURL React component property. r=devtools-reviewers,nchevobbe

Indeed, I missed this when checking the component this morning!

Flags: needinfo?(fuckdead)
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: