Eclipse compiler crashes with NPE #237

Closed
lombokissues opened this Issue Jul 14, 2015 · 58 comments

Projects

None yet

1 participant

@lombokissues
Collaborator

Migrated from Google Code (issue 164)

@lombokissues
Collaborator

๐Ÿ‘ค bskaarup ย  ๐Ÿ•— Nov 23, 2010 at 13:52 UTC

We quite often experiences that the compiler in eclipse crashes in classes that use Lombok
We usually get this error: Internal compiler error: java.lang.NullPointerException SomeClass.java line 0 Java Problem
but sometimes also this: Internal compiler error: java.lang.NullPointerException at org.eclipse.jdt.internal.compiler.ast.Argument.bind(Argument.java:35) SomeClass.java line 0 Java Problem
or this: Internal compiler error: java.lang.NullPointerException at org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference.getTypeBinding(QualifiedTypeReference.java:69) SomeClass.java line 0 Java Problem

Usually a clean of the project helps, but sometimes we need to clean more than once without any changes to the code before the NPE goes away

We primarily use @ Getter and @ Setter with or without AccessLevel in our classes.
We have been using a 0.9.4 EDGE version because of issue #209 and now I am using the 0.10 beta you showed off at Devoxx (cool costumes btw.)

It happens 10-20 time pr. developer pr. day so it gets quite annoying after a while

We have tried with different version of Java (Java 6 update 21 and 22) and Eclipse Version: 3.6.0 (Build id: I20100608-0911) and Version: 3.7.0 (Build id: I20101028-1441) and get errors often in each version.

The problems occur inside a large project so it isn't easy to extract a simple test case.

Do you have any idea what could be the problem here?
"delombok'ing" helps, but that isn't the solution (I hope).

@lombokissues
Collaborator

๐Ÿ‘ค reinierz ย  ๐Ÿ•— Nov 27, 2010 at 18:28 UTC

I've been running into this of late as well, though at least once it turns out it was a bug in eclipse itself. I've decided not to investigate much further, because we're going to rewrite the point at which we fix the AST, which will most likely fix this problem as well.

I'll leave this open in case our intended rewrite doesn't go as planned and we end up abandoning it.

@lombokissues
Collaborator

๐Ÿ‘ค reinierz ย  ๐Ÿ•— Jan 24, 2011 at 19:07 UTC

Hey, it happened on my eclipse. Guess it must be blue moon tonight.

Here's the full stacktrace:

java.lang.NullPointerException
at org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference.getTypeBinding(QualifiedTypeReference.java:69)
at org.eclipse.jdt.internal.compiler.ast.TypeReference.internalResolveType(TypeReference.java:131)
at org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveType(TypeReference.java:203)
at org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveType(TypeReference.java:199)
at org.eclipse.jdt.internal.compiler.ast.Annotation.resolveType(Annotation.java:233)
at org.eclipse.jdt.internal.compiler.ast.ASTNode.resolveAnnotations(ASTNode.java:637)
at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:409)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1147)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1235)
at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:540)
at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:759)
at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
at java.lang.Thread.run(Thread.java:680)

@lombokissues
Collaborator

๐Ÿ‘ค r.spilker ย  ๐Ÿ•— Jan 31, 2011 at 23:00 UTC

@lombokissues lombokissues added this to the 0.10.1 milestone Jul 14, 2015
@lombokissues
Collaborator

๐Ÿ‘ค ray.muirhead ย  ๐Ÿ•— Feb 11, 2011 at 00:03 UTC

This is happenening virtually all the time with lombok-0.10.0-BETA2.jar and Eclipse Java EE IDE for Web Developers.

Version: Helios Service Release 1
Build id: 20100917-0705

@lombokissues
Collaborator

๐Ÿ‘ค cbonn@htwm.de ย  ๐Ÿ•— Feb 23, 2011 at 11:20 UTC

I've written an Delegate-Extension for Lombok, which delegates a method call to another class. This works really good. But if i use the Annotation on many files, the NPE throws nearly everytime. A clean often solved the problem. I need a solution quickly.

Can you give me a hint what is causing the Exception? I would try to solve the problem.

@lombokissues
Collaborator

๐Ÿ‘ค ray.muirhead ย  ๐Ÿ•— Feb 23, 2011 at 22:32 UTC

I've had success using Eclipse 3.5.2 - could be a bug that is introduced in the newer version of Eclipse.

@lombokissues
Collaborator

๐Ÿ‘ค francois.marot ย  ๐Ÿ•— Feb 24, 2011 at 14:33 UTC

We suffer from this bug too on a very large project (50+ maven poms, 10 people, 2 years). Never took the time to investigate on a smaller sample to reproduce the problem though... Usually, a clean of the project on which the compiler crashed will bring back to normal. Sometimes it will crash numerous times until it manages to compile successfully.

@lombokissues
Collaborator

๐Ÿ‘ค jmsachs ย  ๐Ÿ•— Feb 25, 2011 at 22:44 UTC

I've had success using Eclipse 3.5.2 - could be a bug that is introduced in the newer version of Eclipse.

I've had failures using Eclipse 3.5.2, so don't blame the newer version of Eclipse.

My version of Lombok is 0.9.3

@lombokissues
Collaborator

๐Ÿ‘ค reinierz ย  ๐Ÿ•— Mar 23, 2011 at 06:46 UTC

Another stack trace that might be related:

java.lang.NullPointerException
at org.eclipse.jdt.internal.compiler.ast.Argument.bind(Argument.java:35)
at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.bindArguments(AbstractMethodDeclaration.java:83)
at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:406)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1147)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1235)
at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:540)
at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:759)
at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
at java.lang.Thread.run(Thread.java:680)

@lombokissues
Collaborator

๐Ÿ‘ค reinierz ย  ๐Ÿ•— Mar 28, 2011 at 20:08 UTC

Looks like you can reliably reproduce BOTH stack traces by checking out commit ab1d938 - create 2 classes that delegate to each other (each has a field of the other's type), then let one of those classes "extends ArrayList", and this error always occurs.

@lombokissues
Collaborator

๐Ÿ‘ค reinierz ย  ๐Ÿ•— Mar 29, 2011 at 11:24 UTC

False alarm, more or less (in re: Comment 10). The same stack traces do indeed occur but for different reasons.

Lombok or some eclipse code delivers an invalid AST (where some of the AST nodes' scope variables are still null), but this doesn't cause any problems right away. Then, later, when some worker is fired up to do some analysis on the AST, it crashes with the above 2 stack traces. The problem is thus: These stack traces contain absolutely no information at all about what actually went wrong.

We do think we figured out a point in lombok where, if this bug is going to happen, we'll be called, and we can figure out that it'll happen. We'll add code to 0.10.0 to log a stacktrace to the eclipse error log if this condition is detected. We hope that, if someone stumbles across this one again in 0.10.0, we can ask them to paste that stacktrace here and we'll have a much easier time figuring out why this occurs once in a blue moon with varying frequencies depending on as far as I can tell processor speed and project sizes of all things.

So not fixed, but some progress.

@lombokissues
Collaborator

๐Ÿ‘ค cbonn@htwm.de ย  ๐Ÿ•— May 03, 2011 at 14:27 UTC

The way how you try to identify the error is:

"if (parent.scope != null && method.scope == null)"

i can confirm, that this is a state where an nullpointererror appears. But after a clean the parent.scope is everytime null, and no error appears. Who sets the scope of the parent-class? maybe the eclipse trys to parse the class before the lombok has finished?

did you recognize that the parent's scope (the classscope) is set in the middle of the class. The first attributes are handled correct. The error appears somewhere, everytime on a different position, in the middle of a class.

@lombokissues
Collaborator

๐Ÿ‘ค rgransberger@gmx.de ย  ๐Ÿ•— May 15, 2011 at 16:05 UTC

Hi,

I'm using the current lombok code from git master repo as of today.

The build produces some of the stack traces you were looking for. Here are two of them:

eclipse.buildId=M20110210-1200
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_EN
Framework arguments: -product org.eclipse.epp.package.rcp.product -showlocation x
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product -showlocation x -data D:\workspaces\x

This is a continuation of log file D:\workspaces\x.metadata.bak_2.log
Created Time: 2011-05-15 17:43:38.654

Warning
Sun May 15 17:49:29 CEST 2011
We believe you may have just stumbled on lombok issue #237. Please report the stack trace associated with this message at:
issue #237

java.lang.Throwable
at lombok.eclipse.handlers.EclipseHandlerUtil.injectMethod(EclipseHandlerUtil.java:524)
at lombok.eclipse.handlers.HandleEqualsAndHashCode.generateMethods(HandleEqualsAndHashCode.java:241)
at lombok.eclipse.handlers.HandleEqualsAndHashCode.handle(HandleEqualsAndHashCode.java:140)
at lombok.eclipse.HandlerLibrary$AnnotationHandlerContainer.handle(HandlerLibrary.java:71)
at lombok.eclipse.HandlerLibrary.handle(HandlerLibrary.java:163)
at lombok.eclipse.TransformEclipseAST$AnnotationVisitor.visitAnnotationOnType(TransformEclipseAST.java:201)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:94)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:93)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:61)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:93)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:56)
at lombok.eclipse.EclipseAST.traverse(EclipseAST.java:88)
at lombok.eclipse.TransformEclipseAST.go(TransformEclipseAST.java:163)
at lombok.eclipse.TransformEclipseAST.transform(TransformEclipseAST.java:130)
at lombok.eclipse.TransformEclipseAST.transform_swapped(TransformEclipseAST.java:84)
at org.eclipse.jdt.internal.compiler.parser.Parser.endParse(Parser.java:8380)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9389)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9456)
at org.eclipse.jdt.internal.compiler.ast.ConstructorDeclaration.parseStatements(ConstructorDeclaration.java:424)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.parseMethods(TypeDeclaration.java:831)
at org.eclipse.jdt.internal.compiler.parser.Parser.getMethodBodies(Parser.java:8571)
at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:745)
at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
at java.lang.Thread.run(Thread.java:662)


Warning
Sun May 15 17:54:29 CEST 2011
We believe you may have just stumbled on lombok issue #237. Please report the stack trace associated with this message at:
issue #237

java.lang.Throwable
at lombok.eclipse.handlers.EclipseHandlerUtil.injectMethod(EclipseHandlerUtil.java:524)
at lombok.eclipse.handlers.HandleGetter.createGetterForField(HandleGetter.java:217)
at lombok.eclipse.handlers.HandleGetter.createGetterForFields(HandleGetter.java:162)
at lombok.eclipse.handlers.HandleGetter.handle(HandleGetter.java:150)
at lombok.eclipse.HandlerLibrary$AnnotationHandlerContainer.handle(HandlerLibrary.java:71)
at lombok.eclipse.HandlerLibrary.handle(HandlerLibrary.java:163)
at lombok.eclipse.TransformEclipseAST$AnnotationVisitor.visitAnnotationOnField(TransformEclipseAST.java:173)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:97)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:93)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:66)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:93)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:61)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:93)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:56)
at lombok.eclipse.EclipseAST.traverse(EclipseAST.java:88)
at lombok.eclipse.TransformEclipseAST.go(TransformEclipseAST.java:163)
at lombok.eclipse.TransformEclipseAST.transform(TransformEclipseAST.java:130)
at lombok.eclipse.TransformEclipseAST.transform_swapped(TransformEclipseAST.java:84)
at org.eclipse.jdt.internal.compiler.parser.Parser.endParse(Parser.java:8380)
at org.eclipse.jdt.internal.core.util.CommentRecorderParser.endParse(CommentRecorderParser.java:116)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9389)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9704)
at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.parseStatements(MethodDeclaration.java:119)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.parseMethods(TypeDeclaration.java:831)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.parseMethods(TypeDeclaration.java:821)
at org.eclipse.jdt.internal.compiler.parser.Parser.getMethodBodies(Parser.java:8571)
at org.eclipse.jdt.internal.compiler.Compiler.resolve(Compiler.java:873)
at org.eclipse.jdt.internal.compiler.Compiler.resolve(Compiler.java:928)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:189)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:255)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:190)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1205)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:133)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

@lombokissues
Collaborator

๐Ÿ‘ค reinierz ย  ๐Ÿ•— May 15, 2011 at 16:11 UTC

Stack traces from ๏นŸ14 and a clue from ๏นŸ13. Excellent. We really need to fix this thing before releasing 0.10.0 final, and these will help.

@lombokissues lombokissues modified the milestone: 0.10.1, 0.10.0 Jul 14, 2015
@lombokissues
Collaborator

๐Ÿ‘ค rgransberger@gmx.de ย  ๐Ÿ•— May 16, 2011 at 09:03 UTC

Now I have the situation of beeing able to reproduce the NPE occuring.

In my setup this occurs if I have a Bean using @ ToString(callSuper = true)
@ EqualsAndHashCode(callSuper = false) on the class and @ Getter and @ Setter on the fields. I have another class say X which uses the Beans generated getters and setters. If there's a compiler error in X (which has nothing todo with the getters or setters being used) and I change a fields name in the Bean and save the NPE warnings occur.

Did you have a look with a tool like VisualVM to overview the compilation process? There are quite a lot Threads involved and it might "just" be a synchronisation issue. Maybe it helps to have a look at some Thread Dumps while the compilation is running to see which parts are running in parallel. Just an idea...

@lombokissues
Collaborator

๐Ÿ‘ค r.spilker ย  ๐Ÿ•— May 16, 2011 at 21:20 UTC

We tried to reproduce it but can't get it to work. Any suggestions? Maybe the actual source files? Do you have cleanup actions active? Any special plugins? Doe it occur every time?

@lombokissues
Collaborator

๐Ÿ‘ค rgransberger@gmx.de ย  ๐Ÿ•— May 17, 2011 at 07:36 UTC

It's almost always reproducable within the big workspace I'm using. It conains over 20 plugins and I can't give you the sources.

I tried to reproduce it with a simpler example, but it doesn't always work. Seems like there's not enough work do to.

I've attached the simple eclipse project I was using.

A situation where the NPE occured quite often was the following:

  • Leave every other files as they are, containing compile errors
  • Comment in the constant expression in the Bean class
  • Copy the test2 field with it's annotations by marking it with the mouse and hitting Ctrl+C
  • Hit enter two times at the end of the line of field test2
  • Hit Ctrl+V to paste the field again
  • Backspace to remove the 2 and replace with a 3
  • SAVE!

As you may notice, I'm using a slightly patched version of lombok which uses an additional Handler (@ FieldAccessor). You may want to reproduce it with the lombok contained in the zip first, to be sure that it's not a problem in the version I'm using.

However try if these steps work for you. Otherwise I'm not quite sure how I could help with it.

@lombokissues
Collaborator

๐Ÿ‘ค rgransberger@gmx.de ย  ๐Ÿ•— May 17, 2011 at 07:36 UTC

๐Ÿ”— lombok-test.zip

@lombokissues
Collaborator

๐Ÿ‘ค rgransberger@gmx.de ย  ๐Ÿ•— May 17, 2011 at 07:42 UTC

Forgot to answer your questions: I'm not using any save actions and didn't use any formatting or organizing import actions. As of the plugins: I'm not using any other annotation processor or any other plugins enriching the outline. If you are interested I may attach the eclipse configuration I'm using.

@lombokissues
Collaborator

๐Ÿ‘ค reinierz ย  ๐Ÿ•— May 17, 2011 at 13:38 UTC

As we've had a few umptheen claims of reproducibility which never go anywhere, and as we've had similar experiences ourselves, we're virtually positive this is a race condition. Hard to explain what we're seeing any other way.

Right now we have a plan to refactor some of the code that we think might be causing this into cleaner code and perhaps the problem will go away on its own. Roel wants to spend a little more time trying to nail down why this bug occurs before doing the refactor, though.

@lombokissues
Collaborator

๐Ÿ‘ค reinierz ย  ๐Ÿ•— Jun 06, 2011 at 18:50 UTC

Refactoring discussed in ๏นŸ22 has been completed, and we'll ship the detector (which dumps a bunch of stuff in your eclipse logs if it thinks this bug might have occurred) with 0.10.0 RC1. Hopefully either nobody runs into it, or someone runs into it with a useful stack trace.

We'd be much obliged if you grab the edge release and try to reproduce this bane of my existence. Really. I'll give my left kidney for a fix for this thing.

https://projectlombok.org/download-edge.html

@lombokissues
Collaborator

๐Ÿ‘ค bskaarup ย  ๐Ÿ•— Jun 07, 2011 at 05:15 UTC

I just got these two stacktraces from the edge release from june 6th:

null
Warning
Tue Jun 07 07:09:53 CEST 2011
We believe you may have just stumbled on lombok issue #237. Please report the stack trace associated with this message at:
issue #237

java.lang.Throwable
at lombok.eclipse.handlers.EclipseHandlerUtil.injectMethod(EclipseHandlerUtil.java:471)
at lombok.eclipse.handlers.HandleSetter.createSetterForField(HandleSetter.java:191)
at lombok.eclipse.handlers.HandleSetter.createSetterForFields(HandleSetter.java:149)
at lombok.eclipse.handlers.HandleSetter.handle(HandleSetter.java:137)
at lombok.eclipse.HandlerLibrary$AnnotationHandlerContainer.handle(HandlerLibrary.java:73)
at lombok.eclipse.HandlerLibrary.handleAnnotation(HandlerLibrary.java:177)
at lombok.eclipse.TransformEclipseAST$AnnotationVisitor.visitAnnotationOnField(TransformEclipseAST.java:176)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:99)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:68)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:63)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:58)
at lombok.eclipse.EclipseAST.traverse(EclipseAST.java:89)
at lombok.eclipse.TransformEclipseAST.go(TransformEclipseAST.java:163)
at lombok.eclipse.TransformEclipseAST.transform(TransformEclipseAST.java:130)
at lombok.eclipse.TransformEclipseAST.transform_swapped(TransformEclipseAST.java:84)
at org.eclipse.jdt.internal.compiler.parser.Parser.endParse(Parser.java:8506)
at org.eclipse.jdt.internal.core.util.CommentRecorderParser.endParse(CommentRecorderParser.java:116)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9515)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9830)
at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.parseStatements(MethodDeclaration.java:148)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.parseMethods(TypeDeclaration.java:832)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.parseMethods(TypeDeclaration.java:822)
at org.eclipse.jdt.internal.compiler.parser.Parser.getMethodBodies(Parser.java:8697)
at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:1136)
at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:681)
at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1175)
at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
at org.eclipse.jdt.internal.corext.fix.CleanUpPostSaveListener.createAst(CleanUpPostSaveListener.java:608)
at org.eclipse.jdt.internal.corext.fix.CleanUpPostSaveListener.saved(CleanUpPostSaveListener.java:385)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider$5.run(CompilationUnitDocumentProvider.java:1590)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider.notifyPostSaveListeners(CompilationUnitDocumentProvider.java:1585)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider.commitWorkingCopy(CompilationUnitDocumentProvider.java:1379)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider$4.execute(CompilationUnitDocumentProvider.java:1450)
at org.eclipse.ui.editors.text.TextFileDocumentProvider$DocumentProviderOperation.run(TextFileDocumentProvider.java:132)
at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:69)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
at org.eclipse.ui.internal.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:75)
at org.eclipse.ui.internal.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:65)
at org.eclipse.ui.editors.text.TextFileDocumentProvider.executeOperation(TextFileDocumentProvider.java:456)
at org.eclipse.ui.editors.text.TextFileDocumentProvider.saveDocument(TextFileDocumentProvider.java:772)
at org.eclipse.ui.texteditor.AbstractTextEditor.performSave(AbstractTextEditor.java:5048)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.performSave(CompilationUnitEditor.java:1247)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.doSave(CompilationUnitEditor.java:1301)
at org.eclipse.ui.texteditor.AbstractTextEditor$TextEditorSavable.doSave(AbstractTextEditor.java:7177)
at org.eclipse.ui.Saveable.doSave(Saveable.java:214)
at org.eclipse.ui.internal.SaveableHelper.doSaveModel(SaveableHelper.java:349)
at org.eclipse.ui.internal.SaveableHelper$3.run(SaveableHelper.java:195)
at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:277)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2642)
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:285)
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:264)
at org.eclipse.ui.internal.SaveableHelper.saveModels(SaveableHelper.java:207)
at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:144)
at org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1399)
at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:3416)
at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3429)
at org.eclipse.ui.internal.handlers.SaveHandler.execute(SaveHandler.java:54)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1104)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1100)
at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1509)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4640)
at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4528)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2530)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.views.log.EventDetailsDialog.open(EventDetailsDialog.java:180)
at org.eclipse.ui.internal.views.log.EventDetailsDialogAction.run(EventDetailsDialogAction.java:98)
at org.eclipse.ui.internal.views.log.LogView$15.doubleClick(LogView.java:535)
at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:845)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:843)
at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1462)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1246)
at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:249)
at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:246)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:307)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

@lombokissues
Collaborator

๐Ÿ‘ค bskaarup ย  ๐Ÿ•— Jun 07, 2011 at 05:15 UTC

and this:

null
Warning
Tue Jun 07 07:09:53 CEST 2011
We believe you may have just stumbled on lombok issue #237. Please report the stack trace associated with this message at:
issue #237

java.lang.Throwable
at lombok.eclipse.handlers.EclipseHandlerUtil.injectMethod(EclipseHandlerUtil.java:471)
at lombok.eclipse.handlers.HandleGetter.createGetterForField(HandleGetter.java:221)
at lombok.eclipse.handlers.HandleGetter.createGetterForFields(HandleGetter.java:167)
at lombok.eclipse.handlers.HandleGetter.handle(HandleGetter.java:155)
at lombok.eclipse.HandlerLibrary$AnnotationHandlerContainer.handle(HandlerLibrary.java:73)
at lombok.eclipse.HandlerLibrary.handleAnnotation(HandlerLibrary.java:177)
at lombok.eclipse.TransformEclipseAST$AnnotationVisitor.visitAnnotationOnField(TransformEclipseAST.java:176)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:99)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:68)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:63)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:58)
at lombok.eclipse.EclipseAST.traverse(EclipseAST.java:89)
at lombok.eclipse.TransformEclipseAST.go(TransformEclipseAST.java:163)
at lombok.eclipse.TransformEclipseAST.transform(TransformEclipseAST.java:130)
at lombok.eclipse.TransformEclipseAST.transform_swapped(TransformEclipseAST.java:84)
at org.eclipse.jdt.internal.compiler.parser.Parser.endParse(Parser.java:8506)
at org.eclipse.jdt.internal.core.util.CommentRecorderParser.endParse(CommentRecorderParser.java:116)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9515)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9830)
at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.parseStatements(MethodDeclaration.java:148)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.parseMethods(TypeDeclaration.java:832)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.parseMethods(TypeDeclaration.java:822)
at org.eclipse.jdt.internal.compiler.parser.Parser.getMethodBodies(Parser.java:8697)
at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:1136)
at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:681)
at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1175)
at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
at org.eclipse.jdt.internal.corext.fix.CleanUpPostSaveListener.createAst(CleanUpPostSaveListener.java:608)
at org.eclipse.jdt.internal.corext.fix.CleanUpPostSaveListener.saved(CleanUpPostSaveListener.java:385)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider$5.run(CompilationUnitDocumentProvider.java:1590)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider.notifyPostSaveListeners(CompilationUnitDocumentProvider.java:1585)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider.commitWorkingCopy(CompilationUnitDocumentProvider.java:1379)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider$4.execute(CompilationUnitDocumentProvider.java:1450)
at org.eclipse.ui.editors.text.TextFileDocumentProvider$DocumentProviderOperation.run(TextFileDocumentProvider.java:132)
at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:69)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
at org.eclipse.ui.internal.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:75)
at org.eclipse.ui.internal.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:65)
at org.eclipse.ui.editors.text.TextFileDocumentProvider.executeOperation(TextFileDocumentProvider.java:456)
at org.eclipse.ui.editors.text.TextFileDocumentProvider.saveDocument(TextFileDocumentProvider.java:772)
at org.eclipse.ui.texteditor.AbstractTextEditor.performSave(AbstractTextEditor.java:5048)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.performSave(CompilationUnitEditor.java:1247)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.doSave(CompilationUnitEditor.java:1301)
at org.eclipse.ui.texteditor.AbstractTextEditor$TextEditorSavable.doSave(AbstractTextEditor.java:7177)
at org.eclipse.ui.Saveable.doSave(Saveable.java:214)
at org.eclipse.ui.internal.SaveableHelper.doSaveModel(SaveableHelper.java:349)
at org.eclipse.ui.internal.SaveableHelper$3.run(SaveableHelper.java:195)
at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:277)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2642)
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:285)
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:264)
at org.eclipse.ui.internal.SaveableHelper.saveModels(SaveableHelper.java:207)
at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:144)
at org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1399)
at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:3416)
at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3429)
at org.eclipse.ui.internal.handlers.SaveHandler.execute(SaveHandler.java:54)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1104)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1100)
at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1509)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4640)
at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4528)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2530)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.views.log.EventDetailsDialog.open(EventDetailsDialog.java:180)
at org.eclipse.ui.internal.views.log.EventDetailsDialogAction.run(EventDetailsDialogAction.java:98)
at org.eclipse.ui.internal.views.log.LogView$15.doubleClick(LogView.java:535)
at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:845)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:843)
at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1462)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1246)
at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:249)
at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:246)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:307)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

@lombokissues
Collaborator

๐Ÿ‘ค reinierz ย  ๐Ÿ•— Jun 07, 2011 at 05:16 UTC

Did you get any errors or otherwise buggy or weird behaviour other than these traces?

@lombokissues
Collaborator

๐Ÿ‘ค bskaarup ย  ๐Ÿ•— Jun 07, 2011 at 05:23 UTC

After the 164 messages (I get 4 of each of the previous) I got two different error messages, and Lombok fails to generate a setter/getter in one class and a a setter in another class.

Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".

java.lang.NullPointerException
at org.eclipse.jdt.internal.compiler.ast.Argument.bind(Argument.java:37)
at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.bindArguments(AbstractMethodDeclaration.java:83)
at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:418)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1148)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1258)
at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:538)
at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:1181)
at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:681)
at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1175)
at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
at org.eclipse.jdt.internal.corext.fix.CleanUpPostSaveListener.createAst(CleanUpPostSaveListener.java:608)

and

The save participant 'org.eclipse.jdt.ui.postsavelistener.cleanup' caused an exception: java.lang.NullPointerException

java.lang.NullPointerException
at org.eclipse.jdt.internal.compiler.ast.Argument.bind(Argument.java:37)
at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.bindArguments(AbstractMethodDeclaration.java:83)
at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:418)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1148)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1258)
at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:538)
at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:1181)
at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:681)
at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1175)
at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)

@lombokissues
Collaborator

๐Ÿ‘ค bskaarup ย  ๐Ÿ•— Jun 07, 2011 at 05:31 UTC

I just tried to disable "Save actions" and now I still get the ๏นŸ164 errors and these:

null
Error
Tue Jun 07 07:28:20 CEST 2011
Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".

java.lang.NullPointerException
at org.eclipse.jdt.internal.compiler.ast.Argument.bind(Argument.java:37)
at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.bindArguments(AbstractMethodDeclaration.java:83)
at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:418)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1148)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1249)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1047)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1258)
at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:538)
at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:763)
at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
at java.lang.Thread.run(Thread.java:662)
and

Error
Tue Jun 07 07:28:20 CEST 2011
Errors running builder 'Java Builder' on project 'MyProject'.

java.lang.NullPointerException
at org.eclipse.jdt.internal.compiler.ast.Argument.bind(Argument.java:37)
at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.bindArguments(AbstractMethodDeclaration.java:83)
at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:418)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1148)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1249)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1047)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1258)
at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:538)
at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:763)
at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
at java.lang.Thread.run(Thread.java:662)

@lombokissues
Collaborator

๐Ÿ‘ค reinierz ย  ๐Ÿ•— Jun 13, 2011 at 22:19 UTC

We've stared ourselves blind on this. bskaa's comments don't make ANY sense - the original stack trace includes PostSaveListener stuff, but when he turned them off he still got that error? How? Why? Aaargh!

0.10.0 is a few months late by now so we're going to release it with bug 164 unsolved.

@lombokissues lombokissues modified the milestone: 0.10.0, 0.10.1 Jul 14, 2015
@lombokissues
Collaborator

๐Ÿ‘ค troels@sumpen.dk ย  ๐Ÿ•— Jul 01, 2011 at 12:40 UTC

Hi, I get this error very often in Eclipse. It says it has soething to do with this issue:

eclipse.buildId=I20110127-2034
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=da_DK
Command-line arguments: -os win32 -ws win32 -arch x86 -data q:\eclipsedata\workspace -clean

This is a continuation of log file Q:\eclipsedata\workspace.metadata.bak_3.log
Created Time: 2011-07-01 11:23:25.217

Warning
Fri Jul 01 11:23:27 CEST 2011
We believe you may have just stumbled on lombok issue #237. Please report the stack trace associated with this message at:issue #237

java.lang.Throwable
at lombok.eclipse.handlers.EclipseHandlerUtil.injectMethod(EclipseHandlerUtil.java:467)
at lombok.eclipse.handlers.HandleGetter.createGetterForField(HandleGetter.java:217)
at lombok.eclipse.handlers.HandleGetter.createGetterForFields(HandleGetter.java:163)
at lombok.eclipse.handlers.HandleGetter.handle(HandleGetter.java:151)
at lombok.eclipse.HandlerLibrary$AnnotationHandlerContainer.handle(HandlerLibrary.java:73)
at lombok.eclipse.HandlerLibrary.handleAnnotation(HandlerLibrary.java:192)
at lombok.eclipse.TransformEclipseAST$AnnotationVisitor.visitAnnotationOnField(TransformEclipseAST.java:176)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:99)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:68)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:63)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:58)
at lombok.eclipse.EclipseAST.traverse(EclipseAST.java:89)
at lombok.eclipse.TransformEclipseAST.go(TransformEclipseAST.java:163)
at lombok.eclipse.TransformEclipseAST.transform(TransformEclipseAST.java:130)
at lombok.eclipse.TransformEclipseAST.transform_swapped(TransformEclipseAST.java:84)
at org.eclipse.jdt.internal.compiler.parser.Parser.endParse(Parser.java:8404)
at org.eclipse.jdt.internal.core.util.CommentRecorderParser.endParse(CommentRecorderParser.java:116)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9413)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9728)
at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.parseStatements(MethodDeclaration.java:148)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.parseMethods(TypeDeclaration.java:832)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.parseMethods(TypeDeclaration.java:822)
at org.eclipse.jdt.internal.compiler.parser.Parser.getMethodBodies(Parser.java:8595)
at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:1136)
at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:681)
at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1175)
at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
at org.eclipse.jdt.internal.debug.ui.BreakpointMarkerUpdater.updateMarker(BreakpointMarkerUpdater.java:102)
at org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel.updateMarker(AbstractMarkerAnnotationModel.java:511)
at org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel.updateMarkers(AbstractMarkerAnnotationModel.java:571)
at org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel.commit(AbstractMarkerAnnotationModel.java:636)
at org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer.commitFileBufferContent(ResourceTextFileBuffer.java:402)
at org.eclipse.core.internal.filebuffers.ResourceFileBuffer.commit(ResourceFileBuffer.java:325)
at org.eclipse.jdt.internal.ui.javaeditor.DocumentAdapter.save(DocumentAdapter.java:472)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider$5.run(CompilationUnitDocumentProvider.java:1579)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider.notifyPostSaveListeners(CompilationUnitDocumentProvider.java:1566)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider.commitWorkingCopy(CompilationUnitDocumentProvider.java:1363)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider$4.execute(CompilationUnitDocumentProvider.java:1432)
at org.eclipse.ui.editors.text.TextFileDocumentProvider$DocumentProviderOperation.run(TextFileDocumentProvider.java:132)
at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:69)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
at org.eclipse.ui.internal.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:75)
at org.eclipse.ui.internal.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:65)
at org.eclipse.ui.editors.text.TextFileDocumentProvider.executeOperation(TextFileDocumentProvider.java:456)
at org.eclipse.ui.editors.text.TextFileDocumentProvider.saveDocument(TextFileDocumentProvider.java:772)
at org.eclipse.ui.texteditor.AbstractTextEditor.performSave(AbstractTextEditor.java:5047)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.performSave(CompilationUnitEditor.java:1230)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.doSave(CompilationUnitEditor.java:1283)
at org.eclipse.ui.texteditor.AbstractTextEditor$TextEditorSavable.doSave(AbstractTextEditor.java:7176)
at org.eclipse.ui.Saveable.doSave(Saveable.java:214)
at org.eclipse.ui.internal.SaveableHelper.doSaveModel(SaveableHelper.java:349)
at org.eclipse.ui.internal.SaveableHelper$3.run(SaveableHelper.java:195)
at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:277)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2642)
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:285)
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:264)
at org.eclipse.ui.internal.SaveableHelper.saveModels(SaveableHelper.java:207)
at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:144)
at org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1369)
at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:3334)
at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3347)
at org.eclipse.ui.internal.handlers.SaveHandler.execute(SaveHandler.java:54)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1104)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1100)
at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1509)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4618)
at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4507)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4933)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2523)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2697)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2661)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2495)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

@lombokissues
Collaborator

๐Ÿ‘ค pe.fips ย  ๐Ÿ•— Jul 01, 2011 at 16:23 UTC

Issue #303 has been merged into this issue.

@lombokissues
Collaborator

๐Ÿ‘ค jorn86 ย  ๐Ÿ•— Jul 03, 2011 at 11:09 UTC

Happened on Eclipse 3.7RC4

java.lang.Throwable
at lombok.eclipse.handlers.EclipseHandlerUtil.injectMethod(EclipseHandlerUtil.java:467)
at lombok.eclipse.handlers.HandleGetter.createGetterForField(HandleGetter.java:217)
at lombok.eclipse.handlers.HandleGetter.generateGetterForField(HandleGetter.java:131)
at lombok.eclipse.handlers.HandleGetter.generateGetterForType(HandleGetter.java:98)
at lombok.eclipse.handlers.HandleGetter.handle(HandleGetter.java:156)
at lombok.eclipse.HandlerLibrary$AnnotationHandlerContainer.handle(HandlerLibrary.java:73)
at lombok.eclipse.HandlerLibrary.handleAnnotation(HandlerLibrary.java:192)
at lombok.eclipse.TransformEclipseAST$AnnotationVisitor.visitAnnotationOnType(TransformEclipseAST.java:196)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:96)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:63)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:58)
at lombok.eclipse.EclipseAST.traverse(EclipseAST.java:89)
at lombok.eclipse.TransformEclipseAST.go(TransformEclipseAST.java:163)
at lombok.eclipse.TransformEclipseAST.transform(TransformEclipseAST.java:130)
at lombok.eclipse.TransformEclipseAST.transform_swapped(TransformEclipseAST.java:84)
at org.eclipse.jdt.internal.compiler.parser.Parser.endParse(Parser.java:8506)
at org.eclipse.jdt.internal.core.util.CommentRecorderParser.endParse(CommentRecorderParser.java:116)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9515)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9830)
at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.parseStatements(MethodDeclaration.java:148)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.parseMethods(TypeDeclaration.java:832)
at org.eclipse.jdt.internal.compiler.parser.Parser.getMethodBodies(Parser.java:8697)
at org.eclipse.jdt.internal.compiler.Compiler.resolve(Compiler.java:903)
at org.eclipse.jdt.internal.compiler.Compiler.resolve(Compiler.java:958)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:202)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:268)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:190)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:104)
at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

@lombokissues
Collaborator

๐Ÿ‘ค mart788 ย  ๐Ÿ•— Jul 07, 2011 at 15:18 UTC

java.lang.Throwable
at lombok.eclipse.handlers.EclipseHandlerUtil.injectMethod(EclipseHandlerUtil.java:467)
at lombok.eclipse.handlers.HandleEqualsAndHashCode.generateMethods(HandleEqualsAndHashCode.java:213)
at lombok.eclipse.handlers.HandleEqualsAndHashCode.handle(HandleEqualsAndHashCode.java:140)
at lombok.eclipse.HandlerLibrary$AnnotationHandlerContainer.handle(HandlerLibrary.java:73)
at lombok.eclipse.HandlerLibrary.handleAnnotation(HandlerLibrary.java:192)
at lombok.eclipse.TransformEclipseAST$AnnotationVisitor.visitAnnotationOnType(TransformEclipseAST.java:196)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:96)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:63)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:58)
at lombok.eclipse.EclipseAST.traverse(EclipseAST.java:89)
at lombok.eclipse.TransformEclipseAST.go(TransformEclipseAST.java:163)
at lombok.eclipse.TransformEclipseAST.transform(TransformEclipseAST.java:130)
at lombok.eclipse.TransformEclipseAST.transform_swapped(TransformEclipseAST.java:84)
at org.eclipse.jdt.internal.compiler.parser.Parser.endParse(Parser.java:8506)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9515)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9830)
at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.parseStatements(MethodDeclaration.java:148)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.parseMethods(TypeDeclaration.java:832)
at org.eclipse.jdt.internal.compiler.parser.Parser.getMethodBodies(Parser.java:8697)
at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:749)
at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
at java.lang.Thread.run(Thread.java:662)

eclipse.buildId=I20110613-1736
java.version=1.6.0_25
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product

@lombokissues lombokissues referenced this issue Jul 14, 2015
Closed

Setter #307

@lombokissues
Collaborator

๐Ÿ‘ค pe.fips ย  ๐Ÿ•— Jul 12, 2011 at 20:54 UTC

Issue #307 has been merged into this issue.

@lombokissues
Collaborator

๐Ÿ‘ค david.sitte ย  ๐Ÿ•— Jul 13, 2011 at 10:45 UTC

Eclipse 3.7

java.lang.Throwable
at lombok.eclipse.handlers.EclipseHandlerUtil.injectMethod(EclipseHandlerUtil.java:467)
at lombok.eclipse.handlers.HandleSetter.createSetterForField(HandleSetter.java:187)
at lombok.eclipse.handlers.HandleSetter.generateSetterForField(HandleSetter.java:120)
at lombok.eclipse.handlers.HandleSetter.generateSetterForType(HandleSetter.java:93)
at lombok.eclipse.handlers.HandleSetter.handle(HandleSetter.java:138)
at lombok.eclipse.HandlerLibrary$AnnotationHandlerContainer.handle(HandlerLibrary.java:73)
at lombok.eclipse.HandlerLibrary.handleAnnotation(HandlerLibrary.java:192)
at lombok.eclipse.TransformEclipseAST$AnnotationVisitor.visitAnnotationOnType(TransformEclipseAST.java:196)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:96)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:63)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:58)
at lombok.eclipse.EclipseAST.traverse(EclipseAST.java:89)
at lombok.eclipse.TransformEclipseAST.go(TransformEclipseAST.java:163)
at lombok.eclipse.TransformEclipseAST.transform(TransformEclipseAST.java:130)
at lombok.eclipse.TransformEclipseAST.transform_swapped(TransformEclipseAST.java:84)
at org.eclipse.jdt.internal.compiler.parser.Parser.endParse(Parser.java:8506)
at org.eclipse.jdt.internal.core.util.CommentRecorderParser.endParse(CommentRecorderParser.java:116)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9515)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9830)
at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.parseStatements(MethodDeclaration.java:148)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.parseMethods(TypeDeclaration.java:832)
at org.eclipse.jdt.internal.compiler.parser.Parser.getMethodBodies(Parser.java:8697)
at org.eclipse.jdt.internal.compiler.Compiler.resolve(Compiler.java:903)
at org.eclipse.jdt.internal.compiler.Compiler.resolve(Compiler.java:958)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:202)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:268)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:190)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1205)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:133)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:104)
at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

eclipse.buildId=I20110613-1736
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=hu_HU
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product

@lombokissues
Collaborator

๐Ÿ‘ค jmsachs ย  ๐Ÿ•— Jul 14, 2011 at 13:56 UTC

I've added an export from the eclipse error log. (Source code elided due to employer confidentiality issues)

Hope this helps.

@lombokissues
Collaborator

๐Ÿ‘ค jmsachs ย  ๐Ÿ•— Jul 14, 2011 at 13:56 UTC

๐Ÿ”— test1.log View file

@lombokissues
Collaborator

๐Ÿ‘ค wendal1985 ย  ๐Ÿ•— Jul 16, 2011 at 12:11 UTC

java.lang.Throwable
at lombok.eclipse.handlers.EclipseHandlerUtil.injectMethod(EclipseHandlerUtil.java:467)
at lombok.eclipse.handlers.HandleEqualsAndHashCode.generateMethods(HandleEqualsAndHashCode.java:241)
at lombok.eclipse.handlers.HandleEqualsAndHashCode.handle(HandleEqualsAndHashCode.java:140)
at lombok.eclipse.HandlerLibrary$AnnotationHandlerContainer.handle(HandlerLibrary.java:73)
at lombok.eclipse.HandlerLibrary.handleAnnotation(HandlerLibrary.java:192)
at lombok.eclipse.TransformEclipseAST$AnnotationVisitor.visitAnnotationOnType(TransformEclipseAST.java:196)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:96)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:63)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:58)
at lombok.eclipse.EclipseAST.traverse(EclipseAST.java:89)
at lombok.eclipse.TransformEclipseAST.go(TransformEclipseAST.java:163)
at lombok.eclipse.TransformEclipseAST.transform(TransformEclipseAST.java:130)
at lombok.eclipse.TransformEclipseAST.transform_swapped(TransformEclipseAST.java:84)
at org.eclipse.jdt.internal.compiler.parser.Parser.endParse(Parser.java:8506)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9515)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9830)
at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.parseStatements(MethodDeclaration.java:148)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.parseMethods(TypeDeclaration.java:832)
at org.eclipse.jdt.internal.compiler.parser.Parser.getMethodBodies(Parser.java:8697)
at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:749)
at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
at java.lang.Thread.run(Unknown Source)

eclipse.buildId=I20110613-1736
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

@lombokissues
Collaborator

๐Ÿ‘ค paoyuan ย  ๐Ÿ•— Jul 26, 2011 at 09:26 UTC

Using 0.10.0-RC2 with new error log.
See the attached file.

@lombokissues
Collaborator

๐Ÿ‘ค paoyuan ย  ๐Ÿ•— Jul 26, 2011 at 09:26 UTC

๐Ÿ”— lombok164-1311672083648.err View file

@lombokissues
Collaborator

๐Ÿ‘ค Thomas.Hofmann ย  ๐Ÿ•— Jul 31, 2011 at 20:35 UTC

eclipse.buildId=2.6.1.201105041000-RELEASE
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments: -product com.springsource.sts.ide
Command-line arguments: -os win32 -ws win32 -arch x86 -product com.springsource.sts.ide

This is a continuation of log file C:\ws2.metadata.bak_0.log
Created Time: 2011-07-31 22:11:40.401

Warning
Sun Jul 31 22:32:45 CEST 2011
We believe you may have just stumbled on lombok issue #237. Please report the stack trace associated with this message at:issue #237

java.lang.Throwable
at lombok.eclipse.handlers.EclipseHandlerUtil.injectMethod(EclipseHandlerUtil.java:467)
at lombok.eclipse.handlers.HandleConstructor.generateConstructor(HandleConstructor.java:179)
at lombok.eclipse.handlers.HandleConstructor$HandleAllArgsConstructor.handle(HandleConstructor.java:141)
at lombok.eclipse.HandlerLibrary$AnnotationHandlerContainer.handle(HandlerLibrary.java:73)
at lombok.eclipse.HandlerLibrary.handleAnnotation(HandlerLibrary.java:192)
at lombok.eclipse.TransformEclipseAST$AnnotationVisitor.visitAnnotationOnType(TransformEclipseAST.java:196)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:96)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:63)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:63)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:58)
at lombok.eclipse.EclipseAST.traverse(EclipseAST.java:89)
at lombok.eclipse.TransformEclipseAST.go(TransformEclipseAST.java:163)
at lombok.eclipse.TransformEclipseAST.transform(TransformEclipseAST.java:130)
at org.eclipse.jdt.internal.compiler.parser.Parser.getMethodBodies(Parser.java:8552)
at org.eclipse.jdt.internal.core.hierarchy.HierarchyResolver.resolve(HierarchyResolver.java:794)
at org.eclipse.jdt.internal.core.hierarchy.HierarchyResolver.resolve(HierarchyResolver.java:613)
at org.eclipse.jdt.internal.core.hierarchy.HierarchyBuilder.buildSupertypes(HierarchyBuilder.java:125)
at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder.build(IndexBasedHierarchyBuilder.java:135)
at org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.compute(TypeHierarchy.java:300)
at org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.refresh(TypeHierarchy.java:1263)
at org.eclipse.jdt.internal.core.CreateTypeHierarchyOperation.executeOperation(CreateTypeHierarchyOperation.java:90)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
at org.eclipse.jdt.internal.core.SourceType.newSupertypeHierarchy(SourceType.java:726)
at org.eclipse.jdt.internal.core.SourceType.newSupertypeHierarchy(SourceType.java:678)
at org.eclipse.jdt.internal.junit.util.CoreTestSearchEngine.isTestImplementor(CoreTestSearchEngine.java:115)
at org.eclipse.jdt.internal.junit.launcher.JUnit3TestFinder.isTestImplementor(JUnit3TestFinder.java:91)
at org.eclipse.jdt.internal.junit.launcher.JUnit3TestFinder.isTest(JUnit3TestFinder.java:87)
at org.eclipse.jdt.internal.junit.util.CoreTestSearchEngine.isTestOrTestSuite(CoreTestSearchEngine.java:54)
at org.eclipse.jdt.internal.junit.JUnitPropertyTester.isJUnitTest(JUnitPropertyTester.java:113)
at org.eclipse.jdt.internal.junit.JUnitPropertyTester.canLaunchAsJUnitTest(JUnitPropertyTester.java:88)
at org.eclipse.jdt.internal.junit.JUnitPropertyTester.test(JUnitPropertyTester.java:71)
at org.eclipse.core.internal.expressions.Property.test(Property.java:58)
at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99)
at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
at org.eclipse.core.internal.expressions.AdaptExpression.evaluate(AdaptExpression.java:91)
at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
at org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:150)
at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72)
at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
at org.eclipse.core.internal.expressions.EnablementExpression.evaluate(EnablementExpression.java:53)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.evalEnablementExpression(LaunchShortcutExtension.java:287)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.getApplicableConfigurationTypes(LaunchConfigurationManager.java:744)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.getApplicableLaunchConfigurations(LaunchConfigurationManager.java:780)
at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.getParticipatingLaunchConfigurations(LaunchingResourceManager.java:506)
at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.getLabel(LaunchingResourceManager.java:320)
at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.computeLabels(LaunchingResourceManager.java:241)
at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager$2.run(LaunchingResourceManager.java:138)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

@lombokissues
Collaborator

๐Ÿ‘ค reinierz ย  ๐Ÿ•— Aug 01, 2011 at 20:34 UTC

WE GOT IT!!!! deece27

It was that simple; lombok contained a singleton mutable which was at the root of thread race issues.

Also turned off all the back-in-time ad-hoc debugging code that was present in 0.10.0-RC1 and RC2 which should improve performance. Unless you're on 0.10.0-RC3 (or higher), you can stop posting the issue164-X.err files here. Thanks for all the help!

@lombokissues lombokissues removed the accepted label Jul 14, 2015
@lombokissues lombokissues modified the milestone: 0.10.1, 0.10.0 Jul 14, 2015
@lombokissues
Collaborator

๐Ÿ‘ค amanic ย  ๐Ÿ•— Aug 01, 2011 at 21:27 UTC

congrats! \o/

@lombokissues
Collaborator

๐Ÿ‘ค cbonn@htwm.de ย  ๐Ÿ•— Aug 12, 2011 at 07:57 UTC

nice!

@lombokissues
Collaborator

๐Ÿ‘ค francois.marot ย  ๐Ÿ•— Aug 12, 2011 at 08:00 UTC

Yeah, thanks, you changed my life with 10.0-RC3 :)

@lombokissues
Collaborator

๐Ÿ‘ค sanchay.h ย  ๐Ÿ•— Aug 26, 2011 at 05:21 UTC

I'm still getting the following exception after upgrading to 0.10.0.

!ENTRY org.eclipse.jdt.core 2 0 2011-08-25 22:17:40.259
!MESSAGE We believe you may have just stumbled on lombok issue #237. Please report the stack trace associated with this message at:
issue #237
!STACK 0
java.lang.Throwable
at lombok.eclipse.handlers.EclipseHandlerUtil.injectMethod(EclipseHandlerUtil.java:467)
at lombok.eclipse.handlers.HandleGetter.createGetterForField(HandleGetter.java:217)
at lombok.eclipse.handlers.HandleGetter.generateGetterForField(HandleGetter.java:131)
at lombok.eclipse.handlers.HandleGetter.generateGetterForType(HandleGetter.java:98)
at lombok.eclipse.handlers.HandleData.handle(HandleData.java:61)
at lombok.eclipse.HandlerLibrary$AnnotationHandlerContainer.handle(HandlerLibrary.java:73)
at lombok.eclipse.HandlerLibrary.handleAnnotation(HandlerLibrary.java:192)
at lombok.eclipse.TransformEclipseAST$AnnotationVisitor.visitAnnotationOnType(TransformEclipseAST.java:196)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:96)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:63)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:63)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:58)
at lombok.eclipse.EclipseAST.traverse(EclipseAST.java:89)
at lombok.eclipse.TransformEclipseAST.go(TransformEclipseAST.java:163)
at lombok.eclipse.TransformEclipseAST.transform(TransformEclipseAST.java:130)
at lombok.eclipse.TransformEclipseAST.transform_swapped(TransformEclipseAST.java:84)
at org.eclipse.jdt.internal.compiler.parser.Parser.endParse(Parser.java:8380)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9389)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9456)
at org.eclipse.jdt.internal.compiler.ast.ConstructorDeclaration.parseStatements(ConstructorDeclaration.java:424)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.parseMethods(TypeDeclaration.java:831)
at org.eclipse.jdt.internal.compiler.parser.Parser.getMethodBodies(Parser.java:8571)
at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:745)
at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
at java.lang.Thread.run(Unknown Source)

@lombokissues
Collaborator

๐Ÿ‘ค pe.fips ย  ๐Ÿ•— Aug 26, 2011 at 07:49 UTC

I'm pretty sure you didn't install 0.10.0 properly, since the message you just posted got replaced in 0.10.0RC2 and removed in 0.10.0RC3 cause the issue was fixed.

You check the lombok version eclipse uses by executing this line:
java -cp ${ECLIPSE_INSTALL_DIR}\lombok.jar lombok.core.Version

Or just run the installer again.

@lombokissues
Collaborator

๐Ÿ‘ค sanchay.h ย  ๐Ÿ•— Aug 26, 2011 at 08:01 UTC

Checked the lombok.core.Version and it reported 0.10.0. But I installed by just adding the line '-Xbootclasspath/a:lombok-0.10.0.jar' into eclipse.ini. This time I've installed by double clicking. I'll report again in case of problems.

@lombokissues
Collaborator

๐Ÿ‘ค sanchay.h ย  ๐Ÿ•— Aug 26, 2011 at 09:06 UTC

Got the same stack trace, here are my settings:

eclipse>java -cp lombok.jar lombok.core.Version
0.10.0

eclipse>type eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms256m
-Xmx1024m
-XX:+UseParallelGC
-javaagent:lombok.jar
-Xbootclasspath/a:lombok.jar

!ENTRY org.eclipse.jdt.core 2 0 2011-08-26 01:55:41.698
!MESSAGE We believe you may have just stumbled on lombok issue #237. Please report the stack trace associated with this message at:
issue #237
!STACK 0
java.lang.Throwable
at lombok.eclipse.handlers.EclipseHandlerUtil.injectMethod(EclipseHandlerUtil.java:467)
at lombok.eclipse.handlers.HandleToString.generateToString(HandleToString.java:166)
at lombok.eclipse.handlers.HandleToString.handle(HandleToString.java:121)
at lombok.eclipse.HandlerLibrary$AnnotationHandlerContainer.handle(HandlerLibrary.java:73)
at lombok.eclipse.HandlerLibrary.handleAnnotation(HandlerLibrary.java:192)
at lombok.eclipse.TransformEclipseAST$AnnotationVisitor.visitAnnotationOnType(TransformEclipseAST.java:196)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:96)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:63)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:58)
at lombok.eclipse.EclipseAST.traverse(EclipseAST.java:89)
at lombok.eclipse.TransformEclipseAST.go(TransformEclipseAST.java:163)
at lombok.eclipse.TransformEclipseAST.transform(TransformEclipseAST.java:130)
at lombok.eclipse.TransformEclipseAST.transform_swapped(TransformEclipseAST.java:84)
at org.eclipse.jdt.internal.compiler.parser.Parser.endParse(Parser.java:8380)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9389)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9456)
at org.eclipse.jdt.internal.compiler.ast.ConstructorDeclaration.parseStatements(ConstructorDeclaration.java:424)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.parseMethods(TypeDeclaration.java:831)
at org.eclipse.jdt.internal.compiler.parser.Parser.getMethodBodies(Parser.java:8571)
at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:745)
at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
at java.lang.Thread.run(Unknown Source)

@lombokissues
Collaborator

๐Ÿ‘ค pe.fips ย  ๐Ÿ•— Aug 26, 2011 at 10:04 UTC

I just checked the lombok.jar you get via https://projectlombok.org/download.html or via maven central. Both files don't contain anything that could produce this message (since it got removed in 0.10.0RC3), so this is very very strange.

Could you just download and install lombok again and see if that helps?
You also need to restart eclipse, if eclipse was running when you installed lombok.

@lombokissues
Collaborator

๐Ÿ‘ค sanchay.h ย  ๐Ÿ•— Aug 26, 2011 at 20:09 UTC

Ok I closed eclipse, installed again, then restarted eclipse, then did clean project. Looks like this time the plugin got installed. But now it produces the same error with a different stack trace. Is this one for 0.10.0 ?

!ENTRY org.eclipse.jdt.core 2 0 2011-08-26 13:02:13.757
!MESSAGE We believe you may have just stumbled on lombok issue #237. Please report the stack trace associated with this message at:
issue #237
!STACK 0
java.lang.Throwable
at lombok.eclipse.handlers.EclipseHandlerUtil.injectMethod(EclipseHandlerUtil.java:467)
at lombok.eclipse.handlers.HandleGetter.createGetterForField(HandleGetter.java:217)
at lombok.eclipse.handlers.HandleGetter.createGetterForFields(HandleGetter.java:163)
at lombok.eclipse.handlers.HandleGetter.handle(HandleGetter.java:151)
at lombok.eclipse.HandlerLibrary$AnnotationHandlerContainer.handle(HandlerLibrary.java:73)
at lombok.eclipse.HandlerLibrary.handleAnnotation(HandlerLibrary.java:192)
at lombok.eclipse.TransformEclipseAST$AnnotationVisitor.visitAnnotationOnField(TransformEclipseAST.java:176)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:99)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:68)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:63)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:58)
at lombok.eclipse.EclipseAST.traverse(EclipseAST.java:89)
at lombok.eclipse.TransformEclipseAST.go(TransformEclipseAST.java:163)
at lombok.eclipse.TransformEclipseAST.transform(TransformEclipseAST.java:130)
at lombok.eclipse.TransformEclipseAST.transform_swapped(TransformEclipseAST.java:84)
at org.eclipse.jdt.internal.compiler.parser.Parser.endParse(Parser.java:8506)
at org.eclipse.jdt.internal.core.util.CommentRecorderParser.endParse(CommentRecorderParser.java:116)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9515)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9830)
at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.parseStatements(MethodDeclaration.java:148)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.parseMethods(TypeDeclaration.java:832)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.parseMethods(TypeDeclaration.java:822)
at org.eclipse.jdt.internal.compiler.parser.Parser.getMethodBodies(Parser.java:8697)
at org.eclipse.jdt.internal.compiler.Compiler.resolve(Compiler.java:903)
at org.eclipse.jdt.internal.compiler.Compiler.resolve(Compiler.java:958)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:202)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:268)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:190)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:104)
at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

@lombokissues
Collaborator

๐Ÿ‘ค pe.fips ย  ๐Ÿ•— Aug 26, 2011 at 20:31 UTC

Sorry, no it is not. Lombok 0.10.0 does not contain anything that produces "We believe you may have just stumbled on lombok issue #237" messages anymore.

@lombokissues
Collaborator

๐Ÿ‘ค silvaran ย  ๐Ÿ•— Aug 31, 2011 at 13:20 UTC

I still get plenty of NPEs while building, including the popup. In some instances I need to keep opening arbitrary .java files, make a single character change and delete it so I can re-save and have the compiler continue compiling where it failed last time. I might have to do this 5-6 times in a row before the entire project can be built. Eclipse 3.7 and lombok 0.10. Here's the stack trace:

java.lang.NullPointerException
at org.eclipse.jdt.internal.compiler.ast.Argument.bind(Argument.java:37)
at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.bindArguments(AbstractMethodDeclaration.java:83)
at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:418)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1148)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1258)
at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:538)
at org.eclipse.jdt.internal.compiler.Compiler.resolve(Compiler.java:913)
at org.eclipse.jdt.internal.compiler.Compiler.resolve(Compiler.java:958)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:202)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:268)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:190)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1205)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:133)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:104)
at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

@lombokissues
Collaborator

๐Ÿ‘ค silvaran ย  ๐Ÿ•— Sep 22, 2011 at 19:44 UTC

I was using 0.10.0-RC1, which I noticed during a recent fresh install. My eclipse install is also completely new (as is the projects I work with; they were checked straight out of SVN), so I haven't had a lot of time to verify anything is different--were there any changes made between RC1 and the final release that could affect things?

@lombokissues
Collaborator

๐Ÿ‘ค sanchay.h ย  ๐Ÿ•— Sep 22, 2011 at 22:22 UTC

w.r.t ๏นŸ49, I changed my workspace couple of days back - not noticing NPEs now.

@lombokissues
Collaborator

๐Ÿ‘ค thomas.andreas.winkler ย  ๐Ÿ•— Dec 27, 2011 at 11:28 UTC

I also have this issue:

java.lang.Throwable
at lombok.eclipse.handlers.EclipseHandlerUtil.injectMethod(EclipseHandlerUtil.java:467)
at lombok.eclipse.handlers.HandleConstructor.generateConstructor(HandleConstructor.java:179)
at lombok.eclipse.handlers.HandleConstructor$HandleAllArgsConstructor.handle(HandleConstructor.java:141)
at lombok.eclipse.HandlerLibrary$AnnotationHandlerContainer.handle(HandlerLibrary.java:73)
at lombok.eclipse.HandlerLibrary.handleAnnotation(HandlerLibrary.java:192)
at lombok.eclipse.TransformEclipseAST$AnnotationVisitor.visitAnnotationOnType(TransformEclipseAST.java:196)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:96)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:63)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:58)
at lombok.eclipse.EclipseAST.traverse(EclipseAST.java:89)
at lombok.eclipse.TransformEclipseAST.go(TransformEclipseAST.java:163)
at lombok.eclipse.TransformEclipseAST.transform(TransformEclipseAST.java:130)
at lombok.eclipse.TransformEclipseAST.transform_swapped(TransformEclipseAST.java:84)
at org.eclipse.jdt.internal.compiler.parser.Parser.endParse(Parser.java:8506)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9515)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9830)
at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.parseStatements(MethodDeclaration.java:148)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.parseMethods(TypeDeclaration.java:832)
at org.eclipse.jdt.internal.compiler.parser.Parser.getMethodBodies(Parser.java:8697)
at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:749)
at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
at java.lang.Thread.run(Thread.java:662)

eclipse.buildId=I20110613-1736
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

@lombokissues
Collaborator

๐Ÿ‘ค slade.justin ย  ๐Ÿ•— Jul 04, 2012 at 13:07 UTC

!ENTRY org.eclipse.jdt.core 2 0 2012-07-04 15:01:12.099
!MESSAGE We believe you may have just stumbled on lombok issue #237. Please report the stack trace associated with this message at:
issue #237
!STACK 0
java.lang.Throwable
at lombok.eclipse.handlers.EclipseHandlerUtil.injectMethod(EclipseHandlerUtil.java:467)
at lombok.eclipse.handlers.HandleGetter.createGetterForField(HandleGetter.java:217)
at lombok.eclipse.handlers.HandleGetter.createGetterForFields(HandleGetter.java:163)
at lombok.eclipse.handlers.HandleGetter.handle(HandleGetter.java:151)
at lombok.eclipse.HandlerLibrary$AnnotationHandlerContainer.handle(HandlerLibrary.java:73)
at lombok.eclipse.HandlerLibrary.handleAnnotation(HandlerLibrary.java:192)
at lombok.eclipse.TransformEclipseAST$AnnotationVisitor.visitAnnotationOnField(TransformEclipseAST.java:176)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:99)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:68)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:63)
at lombok.eclipse.EclipseAST.traverseChildren(EclipseAST.java:94)
at lombok.eclipse.EclipseNode.traverse(EclipseNode.java:58)
at lombok.eclipse.EclipseAST.traverse(EclipseAST.java:89)
at lombok.eclipse.TransformEclipseAST.go(TransformEclipseAST.java:163)
at lombok.eclipse.TransformEclipseAST.transform(TransformEclipseAST.java:130)
at lombok.eclipse.TransformEclipseAST.transform_swapped(TransformEclipseAST.java:84)
at org.eclipse.jdt.internal.compiler.parser.Parser.endParse(Parser.java:8646)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9673)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9988)
at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.parseStatements(MethodDeclaration.java:148)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.parseMethods(TypeDeclaration.java:832)
at org.eclipse.jdt.internal.compiler.parser.Parser.getMethodBodies(Parser.java:8837)
at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:749)
at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
at java.lang.Thread.run(Thread.java:662)

@lombokissues
Collaborator

๐Ÿ‘ค r.spilker ย  ๐Ÿ•— Jul 04, 2012 at 13:13 UTC

@ slade.justin What version of lombok are you running? What version of Eclipse?

@lombokissues
Collaborator

End of migration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment