Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Null pointer exception when building

I get an NPE when building, and I'm trying to make a smaller test
case, but for now I'll just throw it out and see if anyone can help.

As far as I can tell, this only happens when building through eclipse,
and it prevents all aspects from being applied to the files in
question. I am declaring a constructor and a few methods/variables on
the classes in question.

java.lang.NullPointerException
at org.aspectj.weaver.model.AsmRelationshipProvider.getNode(AsmRelationshipProvider.java:437)
at org.aspectj.weaver.model.AsmRelationshipProvider.adviceMunger(AsmRelationshipProvider.java:372)
at org.aspectj.weaver.bcel.BcelWorld.reportMatch(BcelWorld.java:132)
at org.aspectj.weaver.Shadow.implementMungers(Shadow.java:614)
at org.aspectj.weaver.Shadow.implement(Shadow.java:527)
at org.aspectj.weaver.bcel. ... uildAction.java:182)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Thanks in advance,
Kendall


Back to the top