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

NullPointerException in JDTLanguageServer$2.run(JDTLanguageServer.java:332) #2933

Open
guw opened this issue Oct 27, 2023 · 2 comments
Open

Comments

@guw
Copy link
Contributor

guw commented Oct 27, 2023

Found this in the log:

!ENTRY org.eclipse.core.jobs 4 2 2023-10-27 13:30:56.284
!MESSAGE An internal error occurred during: "Initialize workspace".
!STACK 0
java.lang.NullPointerException: Cannot invoke "org.eclipse.jdt.ls.core.internal.handlers.WorkspaceDiagnosticsHandler.publishDiagnostics(org.eclipse.core.runtime.IProgressMonitor)" because "this.this$0.workspaceDiagnosticsHandler" is null
	at org.eclipse.jdt.ls.core.internal.handlers.JDTLanguageServer$2.run(JDTLanguageServer.java:332)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

This happens during execution of tests in VS Code. Is there something missing in the setup?

@guw
Copy link
Contributor Author

guw commented Oct 27, 2023

This might be triggered because of a parallel shutdown.

@fbricon
Copy link
Contributor

fbricon commented Oct 27, 2023

Can you provide steps to reproduce?

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