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
[BUG] ArrayIndexOutOfBoundsException using Eclipse #3659
Comments
Please add a stacktrace or a reproducer |
Issue only appears after installing Lombok in Eclipse java.lang.ArrayIndexOutOfBoundsException: Index -8 out of bounds for length 1 |
can you show me code and more details. Like Code Details and structure of your project. It would be better if you can share a screencast |
Of course, uploaded a screencast |
Thanks for adding all that information. I noticed that there is an additional exception in your error log, can you also share that one? Can you also describe why you think that the problem is related to lombok? Lombok seems to work and the stacktrace only contain eclipse compiler classes. |
I suggest to remove all lombok annotators and write getters setters and Constructors. Make dummy ones if you are not using currently. Then Rebuild the project. If there are errors. Its with eclispse or other part of code. OtherWise we can check in lombok |
The other message in the error log are showing nothing but "An exception stack trace is not available.". The only one I have seen was that one I posted yesterday. I am unable to remove the Lombok annoationsbecause it is a huge project with hundreds of annotations. If I remove Lombok from Eclipse, no such build error appears. Of course the project doesn't run without |
I tried using Eclipse with Linux and Lombok. When I try to start my Application with Lombok annotations, I get an error message popup while building:
Errors occurred during the build.
Errors running builder 'Java Builder' on project 'my-project'.
java.lang.ArrayIndexOutOfBoundsException
My configuration:
Linux Fedora 39, openjdk 22.0.1 2024-04-16, Eclipse IDE for Java Developers (Version: 2024-03 (4.31.0))
installed Lombok via lombok.jar and Install new software...
tried Eclipse Platform, Eclipse STS and Eclipse for Java Developers
Lombok appears in About Dialog:
Lombok v1.18.32 "Envious Ferret" is installed.
Did always a complete Eclipse restart.
Tried Java 17, 21, 22
I am unable to get my Application running. Runs fine with Maven and Intellij.
Thank you !
The text was updated successfully, but these errors were encountered: