Skip to content

Uncaught exception is throw in VS Code Developer Tools #176

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

Closed
testforstephen opened this issue Sep 5, 2019 · 2 comments · Fixed by #182
Closed

Uncaught exception is throw in VS Code Developer Tools #176

testforstephen opened this issue Sep 5, 2019 · 2 comments · Fixed by #182
Milestone

Comments

@testforstephen
Copy link
Contributor

TypeError: Cannot read property 'push' of null
	at module.exports.e.DependencyDataProvider.getRootNodes.n.length.n.length.a.Jdtls.getProjects.then.e.forEach.t (c:\Users\jinbwan\.vscode\extensions\vscjava.vscode-java-dependency-0.5.1\dist\extension.js:46:28099)
	at Array.forEach (<anonymous>)
	at module.exports.e.DependencyDataProvider.getRootNodes.n.length.n.length.a.Jdtls.getProjects.then.e (c:\Users\jinbwan\.vscode\extensions\vscjava.vscode-java-dependency-0.5.1\dist\extension.js:46:28071)
	at i (c:\Users\jinbwan\.vscode\extensions\vscjava.vscode-maven-0.14.2\dist\extension.js:126:21501)
	at c:\Users\jinbwan\.vscode\extensions\vscjava.vscode-maven-0.14.2\dist\extension.js:126:21845
@testforstephen
Copy link
Contributor Author

This exception will cause the dependency view is hanging. (a progress bar is always scrolling in the explorer view.)
image

@bhanuteja-dev
Copy link

bhanuteja-dev commented Sep 13, 2019

This issue occurs for me too. Once it starts the Java Dependencies view get stuck with old information and will not update. Only solution is to close and reopen VS Code for me.
Recreate steps:

  1. Open existing java project folder.
  2. Wait for the Java Dependencies view to show up.
  3. Edit a java class so that there is an error. Now correct the class so that error disappears.

That's when i see the error show up and then looks like the dependency view doesn't get updated after that.

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

Successfully merging a pull request may close this issue.

2 participants