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

Java language server crashing (5 times error) #897

Closed
jakegt1 opened this issue Apr 23, 2019 · 4 comments
Closed

Java language server crashing (5 times error) #897

jakegt1 opened this issue Apr 23, 2019 · 4 comments

Comments

@jakegt1
Copy link

jakegt1 commented Apr 23, 2019

Language server fails to start after 5 times.

Environment
  • Operating System: MacOS
  • JDK version: 1.8.0_201
  • Visual Studio Code version: 1.33
  • Java extension version: 0.43.0
Steps To Reproduce

N/A

Current Result

Requires deletion of the redhat-java folder in workspaceStorage to fix

Expected Result

Should not require this folder to be deleted and recreated, and instead should either report to the user the problem or have the problem fixed.

Additional Informations

I am sorry for the lack of info for this issue, but i do not know how it happened and i cannot provide a project it happened in, but there has been other people have been having this issue (#887) and there seems to be no logic or reason to it.

I can inform that deleting the redhat-java folder inside a specific workspaceStorage folder will fix the issue and reload the server. It seems likely that something went wrong, i reloaded the server and during that time botched config was left inside the redhat-java folder.

@pavkum
Copy link

pavkum commented Apr 23, 2019

I'm also facing the same issue.

@veredcon
Copy link

I have also the same issue. Is there any solution for it?

@yongwonshin
Copy link

I faced the same issue, and solved by entering "Java: Clean the java language server workspace" In the Command Palette. I hope this might help..

@NikolasKomonen
Copy link
Contributor

One thing to maybe try is to run the 'jps' command (with all IDE's closed)

$ jps

and then see if one of the processes that looks like the following
is still running:

2438 org.eclipse.equinox.launcher_1.5.400.v20190515-0925.jar

The Java language server process may not have ended and could be causing issues.

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

5 participants