-
Notifications
You must be signed in to change notification settings - Fork 39k
Cannot convert undefined or null to object #57007
Copy link
Copy link
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeededVerification succeeded
Milestone
Description
- Start debugging
- Have the loaded scripts view open
- Stop debugging, notice exception in the console
- I can not reproduce with Stable so it might be that my listener refactoring caused this
If you pause on exception you will see that this call caused it.
ERR Cannot convert undefined or null to object: TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at file:///Users/isidor/Development/vscode/out/vs/base/parts/tree/browser/treeView.js:606:35
at file:///Users/isidor/Development/vscode/out/vs/base/common/async.js:272:28
at Object.notifySuccess [as _notify] (file:///Users/isidor/Development/vscode/out/vs/base/common/winjs.base.js:1191:59)
at Object.enter (file:///Users/isidor/Development/vscode/out/vs/base/common/winjs.base.js:867:30)
at Promise_ctor._run (file:///Users/isidor/Development/vscode/out/vs/base/common/winjs.base.js:1089:29)
at Promise_ctor._completed (file:///Users/isidor/Development/vscode/out/vs/base/common/winjs.base.js:1057:18)
at file:///Users/isidor/Development/vscode/out/vs/base/common/async.js:277:23
errors.js:42 WARNING: Promise with no error callback:24
errors.js:43 {exception: TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at file…, error: null, promise: _…e.C…s.d…e._creator, handler: undefined, id: 24, …}
errors.js:45 TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at treeView.js:606
at async.js:272
at Object.notifySuccess [as _notify] (winjs.base.js:1191)
at Object.enter (winjs.base.js:867)
at Promise_ctor._run (winjs.base.js:1089)
at Promise_ctor._completed (winjs.base.js:1057)
at async.js:277
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeededVerification succeeded