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

Cannot read property getAssociatedPreferencesModel #42240

Closed
egamma opened this issue Jan 27, 2018 · 1 comment
Closed

Cannot read property getAssociatedPreferencesModel #42240

egamma opened this issue Jan 27, 2018 · 1 comment
Assignees
Milestone

Comments

@egamma
Copy link
Member

egamma commented Jan 27, 2018

Not reproducable, but I got this error after editing the user settings (added a setting).

workbench.main.js:2913 Unable to open 'Workspace Settings': Cannot read property 'getAssociatedPreferencesModel' of null.: Error: Unable to open 'Workspace Settings': Cannot read property 'getAssociatedPreferencesModel' of null.
    at t.doHandleSetInputError (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:4186:761)
    at file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:4186:362
    at n.Class.derive._creator.then (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:146:770)
    at t.doSetInput (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:4186:124)
    at t.doOpenEditor (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:4184:617)
    at t.openEditor (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:4183:736)
    at e.doOpenEditor (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3195:443)
    at e.openEditor (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3194:916)
    at file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3638:838
    at Object.g [as _notify] (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:140:868)
@sandy081 sandy081 added this to the January 2018 milestone Jan 29, 2018
@sandy081
Copy link
Member

Yah... hard to reproduce.. but from code I see this can happen.

@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants