-
Notifications
You must be signed in to change notification settings - Fork 456
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
lombok @Singular cause Lombok annotation handler class lombok.eclipse.handlers.HandleBuilder failure #3561
Comments
This is an upstream lombok issue caused by eclipse-jdt/eclipse.jdt.core@cb6774f |
Thank you @snjeza , I rolled back to v1.27.0 for Language Support for Java(TM) by Red Hat. That version is working. |
Rolling back to v1.28.1 is working too. |
@snjeza Please, could you tell us if you have any estimated time for a fixing here? |
@sashirestela This is a lombok issue. You could ask at projectlombok/lombok#3648 |
how do you rollback a vscode extension version? |
@ekeric13 Click on the drop down next to Uninstall: ![]() Then this list appears: ![]() Pick the version you want. I think you have to restart VS code + Clean Java Language Workspace after. enjoy ✌️ |
Does anyone know if the last version (1.30.0) is fixing the bug? |
@sashirestela |
The same on my machine. No bug fix, neither with version 1.30.0 nor with 1.31.2024050208. |
This should be fixed with the current edge release 1.18.33 https://projectlombok.org/download-edge @fbricon Downgrading is no option for me. If I do so I can't run/debug unit tests with covereage in VS Code anymore... |
when I roll back to that version, none of my tests can be discovered |
If anyone wants to "just get things working", these commands should get you there: git clone [email protected]:redhat-developer/vscode-java.git
cd vscode-java
mkdir -p lombok
curl -L https://projectlombok.org/lombok-edge.jar -o lombok/lombok-1.18.32.jar
npm install -g @vscode/vsce
npm install
npm run build
vsce package
code --install-extension java-1.31.0.vsix # I don't think the version number matters You might have to close vscode first, and/or uninstall the existing redhat vscode-java extension. Note that that will disable some other Java extensions, which you can re-enable by going Cmd Shift X, search for
Rolling back worked at the time, something changed since then (JDT LSP?). edit: added |
Nice this works, could you use the following curl command, because there is a redirect: curl -L https://projectlombok.org/lombok-edge.jar -o lombok/lombok-1.18.32.jar Thanks |
Can it be, that the master is not the branch for releasing? Using the manual steps from @azriel-healthpoint and @daniel-belonio 's improvement works, but the v1.31 doesnt.
|
Missed @daniel-belonio's comment. He already pointed out what the problem indeed is - It's an older lombok version delivered with the extension. |
See #3674 :) If you agree, please merge it :) |
Pre-releases since |
Can confirm new version 1.32.0 seems to fix the issue. 🚀 |
It seems the problem reappeared in the new 1.33.0 release. |
This is being tracked at #3733 . The upstream issue is projectlombok/lombok#3706 . |
|
Could you try the latest vscode-java from the pre-release stream and see if that resolves the issue ? As far as I can tell, we've been pulling from the latest lombok builds for some time, so if the issue was solved upstream, then it should be there. |
Ok, I tried it and it didn't work, back to 1.34.0 then |
@luccahuguet what's the error that you're seeing ? i just tried the sample project in #3733, and it works just fine. No errors. |
Just tested with v1.38.2024120308 and still not working, reverted back to 1.34.0 worked again. |
Lombok @Singular cause Lombok annotation handler class lombok.eclipse.handlers.HandleBuilder failed
Environment
Steps To Reproduce
demo.zip
Current Result
Lombok annotation handler class lombok.eclipse.handlers.HandleBuilder failed - See error log.
Expected Result
No issue
Additional Informations
Comment @Singular in the Domain.java, everything work as expected. It is working in Intellij.
The text was updated successfully, but these errors were encountered: