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."
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.