peichhorn / lombok-pg

Collection of lombok extensions
http://peichhorn.github.com/lombok-pg/
Other
327 stars 44 forks source link

NPE When using BoundSetter #144

Open LiorZ opened 10 years ago

LiorZ commented 10 years ago

Hi, I've set up my eclipse env to use lombok-pg (added the following flags to eclipse.ini :

-javaagent://lombok-pg-0.11.3.jar -Xbootclasspath/a://lombok-pg-0.11.3.jar

And added the jar to the annotation processing preference page and the classpath. Overall, everything works great except for BoundSetter which generates the following NPE upon compilation:

Internal compiler error: java.lang.NullPointerException at org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference.getTypeBinding(QualifiedTypeReference.java:69)

I've looked all over but couldn't find a solution to this issue. Does anyone know what seems to be the problem?

EDIT :

It seems that BoundSetter works for eclipse 3.6, but not for 3.7+ . (It seems that ivy depends on several eclipse 3.6 plugins, I'm guessing that's the root of the error?)

SimonScholz commented 9 years ago

I am currently facing the same issue. Is there an update or workaround concerning this?