Skip to content
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

After upgrade version >1.35, my project with lombok and hibernate-jpamodelgen stop to works #3842

Open
AntonioSeleda opened this issue Nov 5, 2024 · 1 comment

Comments

@AntonioSeleda
Copy link

AntonioSeleda commented Nov 5, 2024

I have a project that uses both Lombok and Hibernate JPA ModelGen. Until version 1.35 of the "Language Support for Java" extension, everything worked fine. After upgrading the plugin and cleaning the workspace, the build enters an infinite loop.

I've attached the log file to this issue for reference. For now, I'm forced to continue working with the older version.

The errors are;

!ENTRY org.eclipse.jdt.core 4 0 2024-11-05 10:00:46.486
!MESSAGE Lombok annotation handler class lombok.eclipse.handlers.HandleGetter failed
!STACK 0
java.lang.StackOverflowError
	at java.base/java.util.regex.Pattern$GroupTail.match(Unknown Source)
	at java.base/java.util.regex.Pattern$LazyLoop.match(Unknown Source)
	at java.base/java.util.regex.Pattern$GroupTail.match(Unknown Source)
	at java.base/java.util.regex.Pattern$BranchConn.match(Unknown Source)
	at java.base/java.util.regex.Pattern$BmpCharProperty.match(Unknown Source)

and

!ENTRY org.eclipse.core.resources 4 2 2024-11-05 10:01:12.071
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 0
java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because "this.problemsMap" is null
	at org.eclipse.jdt.internal.compiler.CompilationResult.getContext(CompilationResult.java:407)
	at org.eclipse.jdt.internal.compiler.Compiler.backupAptProblems(Compiler.java:548)
	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:478)
	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:447)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:441)
	at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.compile(BatchImageBuilder.java:250)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:372)
	at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:118)[.bak_0.log](https://github.com/user-attachments/files/17629962/default.bak_0.log)

.bak_0.log
.bak_1.log
.bak_2.log
.bak_3.log
.bak_4.log
.bak_5.log
.bak_6.log
.bak_7.log
.bak_8.log
.bak_9.log
.log

@bsproger
Copy link

bsproger commented Nov 7, 2024

Have a look at this issue

Just switch Lombok version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants