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 project does not run anymore when using redhat.java #6791

Open
lmcbout opened this issue Dec 23, 2019 · 3 comments
Open

Java project does not run anymore when using redhat.java #6791

lmcbout opened this issue Dec 23, 2019 · 3 comments
Labels
bug bugs found in the application java issues related to the java language vscode issues related to VSCode compatibility

Comments

@lmcbout
Copy link
Contributor

lmcbout commented Dec 23, 2019

Description

Cannot run Theia using redhat.java. Replace the @theia/java and @theia/java-debug in package.json with the java version below. Used to work up to mid last week. When starting a workspace for a JAVA project compiled with/without maven We have now the following message:
"The Language Support for Java server crashed 5 times in the last 3 minutes. The server will not be restarted."
Could be related to the vscode-api version (1.38.0) that we use in Theia.

Reproduction Steps

Create a HelloWorld.java
Open the HelloWorld.java file, you should have the Run | Debug over the main class. Does not show anymore
See my-app.tar.gz as a maven project attached

OS and Theia version:
Theia:latest
Ubuntu 16.04
redhat.java-0.54.2.vsix
vscjava.vscode-java-debug-0.23.0.vsix
vscjava.vscode-java-dependency-0.6.0.vsix
vscjava.vscode-java-test-0.22.0.vsix
vscjava.vscode-maven-0.20.1.vsix

Diagnostics:

https://github.com/eclipse-theia/theia/files/3996059/my-app.tar.gz

@vince-fugnitto vince-fugnitto added java issues related to the java language vscode issues related to VSCode compatibility labels Dec 23, 2019
@vince-fugnitto
Copy link
Member

I believe when you added the command line argument to start it still did not work, correct?

--vscode-api-version=1.40.0

@lmcbout
Copy link
Contributor Author

lmcbout commented Dec 23, 2019

You are correct @vince-fugnitto . Even with the option on the command line when starting : yarn start ...

@akosyakov akosyakov added the bug bugs found in the application label Dec 26, 2019
@akosyakov
Copy link
Member

Probably depends on #6804?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application java issues related to the java language vscode issues related to VSCode compatibility
Projects
None yet
Development

No branches or pull requests

3 participants