Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE when editing settings.json #16372

Closed
alexdima opened this issue Dec 2, 2016 · 1 comment
Closed

NPE when editing settings.json #16372

alexdima opened this issue Dec 2, 2016 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Milestone

Comments

@alexdima
Copy link
Member

alexdima commented Dec 2, 2016

I was just in the middle of typing in settings.json and got this:

shell.ts:526 Cannot read property 'startLineNumber' of null: TypeError: Cannot read property 'startLineNumber' of null
    at CopySettingActionRenderer.createSettingDecoration (file:///C:/Alex/src/vscode/out/vs/workbench/parts/preferences/browser/preferencesEditor.js:725:64)
    at CopySettingActionRenderer.createDecorations (file:///C:/Alex/src/vscode/out/vs/workbench/parts/preferences/browser/preferencesEditor.js:709:47)
    at file:///C:/Alex/src/vscode/out/vs/workbench/parts/preferences/browser/preferencesEditor.js:698:98
    at file:///C:/Alex/src/vscode/out/vs/editor/common/model/textModelWithDecorations.js:98:30
    at file:///C:/Alex/src/vscode/out/vs/editor/common/model/textModelWithDecorations.js:230:34
    at safeInvokeNoArg (file:///C:/Alex/src/vscode/out/vs/base/common/eventEmitter.js:240:20)
    at Model.EventEmitter.deferredEmit (file:///C:/Alex/src/vscode/out/vs/base/common/eventEmitter.js:179:26)
    at Model.TextModelWithDecorations._withDeferredEvents (file:///C:/Alex/src/vscode/out/vs/editor/common/model/textModelWithDecorations.js:224:25)
    at Model.TextModelWithDecorations.changeDecorations (file:///C:/Alex/src/vscode/out/vs/editor/common/model/textModelWithDecorations.js:78:25)
    at CopySettingActionRenderer.render (file:///C:/Alex/src/vscode/out/vs/workbench/parts/preferences/browser/preferencesEditor.js:697:24)
@sandy081 sandy081 added this to the November 2016 milestone Dec 2, 2016
@sandy081 sandy081 added the bug Issue identified by VS Code Team member as probable bug label Dec 2, 2016
@bpasero bpasero added the verified Verification succeeded label Dec 9, 2016
@bpasero
Copy link
Member

bpasero commented Dec 9, 2016

Marking as verified based on the fact that we have not seen this exception again for a while.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants