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 'length' of undefined #11

Closed
W4RH4WK opened this issue Dec 5, 2017 · 4 comments
Closed

Cannot read property 'length' of undefined #11

W4RH4WK opened this issue Dec 5, 2017 · 4 comments

Comments

@W4RH4WK
Copy link

W4RH4WK commented Dec 5, 2017

While the extension is working, I observed the following errors in the console.

[Atishay-Jain.All-Autocomplete] Cannot read property 'length' of undefined: TypeError: Cannot read property 'length' of undefined
	at DocumentManagerClass.clearDocument (C:\Users\alex\.vscode\extensions\Atishay-Jain.all-autocomplete-0.0.10\out\src\DocumentManager.js:86:33)
	at context.subscriptions.push.vscode_1.workspace.onDidCloseTextDocument (C:\Users\alex\.vscode\extensions\Atishay-Jain.all-autocomplete-0.0.10\out\src\extension.js:217:43)
	at e.invoke (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:84411)
	at e.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:86133)
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:426225
	at e.invoke (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:84411)
	at e.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:86133)
	at e.$acceptDocumentsAndEditorsDelta (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:430292)
	at t.e.invoke (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:509443)
	at e._invokeHandler (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:354786)
	at e._receiveOneMessage (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:354476)
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:353503
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:355422
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:85128
	at e.invoke (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:84411)
	at e.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:86133)
	at Socket.<anonymous> (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:4:144114)
@atishay
Copy link
Owner

atishay commented Dec 6, 2017

Thanks for the information. I will try and see what has changed in vscode and will reply back in a day or two.

atishay added a commit that referenced this issue Dec 16, 2017
@atishay
Copy link
Owner

atishay commented Dec 18, 2017

@W4RH4WK I am not able to reproduce this one. Unlike #12, this one does impact functionality. I would love to know how to get it reproduced. Do you have some special type of file open. Are there steps to reproduce the issue?

@W4RH4WK
Copy link
Author

W4RH4WK commented Dec 18, 2017

I am currently unable to reproduce this (and also #12). Maybe the new VSCode release fixed something causing this problem, yet I do not know.

I'll notify you if I find a reliable way to reproduce any one of these 2 issues.

@atishay
Copy link
Owner

atishay commented Jan 14, 2018

Closing as non-reproducible.

@atishay atishay closed this as completed Jan 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants