-
Notifications
You must be signed in to change notification settings - Fork 455
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
Force Java Compilation returns error #1929
Comments
I have the same issue, and I can not have autobuild set to true since it fails my maven builds |
I can reproduce the issue too. Independent of the build system (Gradle, Maven). My gut feeling tells me this is caused by a change in either the LSP4J dependency on the server side, or, most likely, caused by the new vscode-languageclient 7.0.0 dependency in vscode-java |
yes, looks like a breaking change in language client 7.0.0. It adopts the Parameter Structures concept of jsonrpc, which requires the parameter of requests and notifications MUST be an array or an object. If you're sending a request with a primitive type parameter such as boolean, then language client will automatically convert it as an array to the language server. That's why the server reports incompatible parameter type. See JSON_RPC implementation. Fix: |
@testforstephen should we open a ticket with lsp4j? Could this be an issue in other places |
Same error here. This is the relevant part from Remote Extension Host log:
|
@fbricon, I opened an issue to ask lsp4j jsonrpc to destructure the wrapped byPosition array parameter. See eclipse-lsp4j/lsp4j#553. |
@fbricon When can we expect this to be fixed? Is a new version of vscode-java needed or should we check for an update of anything else? |
@rubensa You can try Continuous Integration build. See Contributing |
@snjeza Just downloaded Now that I know a new vscode-java version needs to be published, I'll wait to tell my colleges to update (we all had to revert to version 0.77.0 to find a currently released full working version) Thanks! |
Environment
Steps To Reproduce
Current Result
Error window showing operation failed
![image](https://user-images.githubusercontent.com/22768740/117227680-68111c80-ade5-11eb-9692-19f0aea49dd0.png)
Expected Result
Java source is compiled
Additional Informations
enabling java.trace.server verbose logging shows this error
Dev console does not have any detailed errors
This error seems have started occurring only recently.
The text was updated successfully, but these errors were encountered: