[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] Null pointer exception when building
|
Interesting - that is a bit of code I changed only recently, the change was to do with advising join points within an intertype declared method.
Do you have any intertyped methods?
Please raise a bug and if you could determine a smaller failing case, that would be great, since all my tests that exercise that code are working OK.
I'll put in a guard for AspectJ 1.6.3 if nothing else.
cheers,
Andy.
2008/12/11
<kmerriman+aspects@xxxxxxxxx>
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
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users