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 'provideDecoration' of undefined #42602

Closed
chrmarti opened this issue Jan 31, 2018 · 4 comments
Closed

Cannot read property 'provideDecoration' of undefined #42602

chrmarti opened this issue Jan 31, 2018 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug file-decorations verified Verification succeeded
Milestone

Comments

@chrmarti
Copy link
Collaborator

Issue Type

Bug

Description

I was testing #42195 (the workspace folder API):

TypeError: Cannot read property 'provideDecoration' of undefined
at /usr/share/code-insiders/resources/app/out/vs/workbench/node/extensionHostProcess.js:534:586
at /usr/share/code-insiders/resources/app/out/vs/workbench/node/extensionHostProcess.js:98:524
at new n.Class.derive._oncancel (/usr/share/code-insiders/resources/app/out/vs/workbench/node/extensionHostProcess.js:75:657)
at Object.t.asWinJsPromise (/usr/share/code-insiders/resources/app/out/vs/workbench/node/extensionHostProcess.js:98:487)
at /usr/share/code-insiders/resources/app/out/vs/workbench/node/extensionHostProcess.js:534:551
at Array.map (native)
at e.$provideDecorations (/usr/share/code-insiders/resources/app/out/vs/workbench/node/extensionHostProcess.js:534:475)
at e._doInvokeHandler (/usr/share/code-insiders/resources/app/out/vs/workbench/node/extensionHostProcess.js:579:983)
at e._invokeHandler (/usr/share/code-insiders/resources/app/out/vs/workbench/node/extensionHostProcess.js:579:701)
at e._receiveRequest (/usr/share/code-insiders/resources/app/out/vs/workbench/node/extensionHostProcess.js:578:836)

VS Code Info

VS Code version: Code - Insiders 1.20.0-insider (8adf87c, 2018-01-31T06:18:41.654Z)
OS version: Linux x64 3.13.0-108-generic

System Info
Item Value
CPUs Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (4 x 2194)
Load (avg) 0, 0, 0
Memory (System) 3.86GB (0.17GB free)
Process Argv /usr/share/code-insiders/code-insiders --enable-proposed-api
Screen Reader no
VM 100%
Extensions: none Reproduces only with extensions
@jrieken jrieken added the info-needed Issue requires more information from poster label Jan 31, 2018
@jrieken
Copy link
Member

jrieken commented Jan 31, 2018

@chrmarti Did you by any change cause an extension host reload with adding/removing folders?

@chrmarti
Copy link
Collaborator Author

No, I was rotating folders 1..n-1.

@jrieken
Copy link
Member

jrieken commented Jan 31, 2018

Thanks

@jrieken jrieken added bug Issue identified by VS Code Team member as probable bug git GIT issues file-decorations and removed info-needed Issue requires more information from poster labels Jan 31, 2018
@chrmarti
Copy link
Collaborator Author

Pushed it here, in case you need to reproduce it: https://github.com/chrmarti/test42195.git

@jrieken jrieken removed the git GIT issues label Mar 29, 2018
@jrieken jrieken added this to the April 2018 milestone Mar 29, 2018
@jrieken jrieken closed this as completed in aec9a5e Apr 3, 2018
@mjbvz mjbvz added the verified Verification succeeded label Apr 26, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators May 18, 2018
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 file-decorations verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants