-
Notifications
You must be signed in to change notification settings - Fork 38
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
Delombok fails on JDK 17 #98
Comments
Same here. I also have the error with |
projectlombok/lombok#3025 is holding back the upgrade to Lombok 1.18.22. You can try overriding the Lombok version, as described here. |
@awhitford thx. Works perfectly for https://github.com/cassandre-tech/cassandre-trading-bot |
When trying to release kiwi, received error: Unable to delombok: InvocationTargetException: Cannot read field "bindingsWhenTrue" because "currentBindings" is null This is a known error. For more details, see awhitford/lombok.maven#98
When trying to release kiwi, received error: Unable to delombok: InvocationTargetException: Cannot read field "bindingsWhenTrue" because "currentBindings" is null This is a known error. For more details, see awhitford/lombok.maven#98
I saw this in a very early draft of a project I'm working on for a class.
Based on my read of the error, I was able to sidestep the issue by removing all references to org.springframework.* (which I can still do at this very early stage). Spring Initializer no longer allows Java 8 as an option, and using the CompilerVersion/source/target configuration workaround from the website doesn't seem to be an option in Maven anymore. Since this ultimately comes back to being a Java 9+ problem, it seemed apropos to post here. Please reach out of you need more. GL! |
When running on Adoptium JDK 17.0.1.12 delombok task fails with such an error:
Lombok 1.18.20 has similar issue, but it is solved in Lombok 1.18.22+.
Command used:
Plugin setup:
The text was updated successfully, but these errors were encountered: