You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certain quick fixes related to Jakarta do not appear with the diagnostic in the editor because of an exception.
You can see the exception in the Output tab when you select "Language Support for Java."
[Error - 12:57:13 PM] Request textDocument/codeAction failed.
Message: Request jakarta/java/codeaction failed with message: java.lang.NullPointerException: Cannot invoke "Object.toString()" because the return value of "org.eclipse.lsp4j.Diagnostic.getData()" is null
Code: -32603
An example is the quick fix reading "The @AssertTrue annotation can only be used on boolean and Boolean type fields."
@aparnamichael now that eclipse/lsp4jakarta#536 has been merged, please verify this fix is resolved using the latest LSP4Jakarta 0.2.2-SNAPSHOT build. You will need to manually delete the language server jars and then re-run npm run build. Make sure LSP4Jakarta 0.2.2-SNAPSHOT is specified in all the correct locations. You can refer to #361.
Certain quick fixes related to Jakarta do not appear with the diagnostic in the editor because of an exception.
You can see the exception in the Output tab when you select "Language Support for Java."
An example is the quick fix reading "The
@AssertTrue
annotation can only be used on boolean and Boolean type fields."More details are available in the lsp4jakarta repository.
The text was updated successfully, but these errors were encountered: