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 'map' of undefined #43131

Closed
pltrant opened this issue Feb 7, 2018 · 7 comments
Closed

Cannot read property 'map' of undefined #43131

pltrant opened this issue Feb 7, 2018 · 7 comments
Assignees

Comments

@pltrant
Copy link

pltrant commented Feb 7, 2018

Issue Type

Bug

Description

Upgraded VSCode to version 1.20 and immediately open launching, I receive the error of "Cannot read property 'map' of undefined". The below error may or may not be related, but it shows up in the new log window:

[2018-02-07 14:37:48.061] [renderer1] [error] Cannot read property 'result' of null: TypeError: Cannot read property 'result' of null
at Function. (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:4050:358)
at file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:4510:275
at Object.g.__generator.a.label [as next] (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:4510:380)
at s (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:149:1011)
at Object.g [as _notify] (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:139:729)
at Object.enter (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:143:61)
at n.Class.derive._oncancel._run (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:144:866)
at n.Class.derive._oncancel._completed (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:144:307)
at Object.g [as _notify] (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:139:729)
at Object.enter (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:143:61)

VS Code Info

VS Code version: Code 1.20.0 (c63189d, 2018-02-07T17:09:39.780Z)
OS version: Windows_NT x64 10.0.16299

System Info
Item Value
CPUs Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz (4 x 2808)
Memory (System) 7.93GB (1.15GB free)
Process Argv C:\Program Files\Microsoft VS Code\Code.exe
Screen Reader no
VM 0%
@ramya-rao-a
Copy link
Contributor

@pltrant Is VS Code otherwise functional?

@pltrant
Copy link
Author

pltrant commented Feb 7, 2018

It seemed so. Once it loaded and I saw the error, I closed it and then restarted VSCode to see if it would happen again. On the second attempt, there was no error. I will note that I believe this issue may not be related to v1.20 specifically, as last night, a coworker had installed VSCode (v1.19.3) on a new Windows 10 machine and reported the same error to me.

@pltrant
Copy link
Author

pltrant commented Feb 8, 2018

Actually, this issue is to due an extension and was unrelated to the copy/pasted error from the log. Sorry for the confusion.

@pltrant pltrant closed this as completed Feb 8, 2018
@JimiC
Copy link
Contributor

JimiC commented Feb 20, 2018

Had the same issue and found out that Path Intellisense extension was to blame.

//cc @ChristianKohler

@andreshg112
Copy link

@pltrant, what is the extension who has the problem?
I have the same issue and I decided to disable Path Intellisense, I still have the same error.

@JimiC
Copy link
Contributor

JimiC commented Mar 13, 2018

You need to uninstall path intellisense for it to resolve.

@pltrant
Copy link
Author

pltrant commented Mar 13, 2018

You can find out which extension is causing the issue by going to Help > Toggle Developer Tools. You should see the error listed in the console. You can then infer the extension based upon the path of the file with the error.

@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 25, 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

5 participants