Community
Participate
Working Groups
Reported on the list: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWorld.isAspectIncluded(BcelWorld.java:942) at org.aspectj.weaver.ShadowMunger.match(ShadowMunger.java:80) at org.aspectj.weaver.Advice.match(Advice.java:106) at org.aspectj.weaver.bcel.BcelAdvice.match(BcelAdvice.java:149) at org.aspectj.weaver.bcel.BcelClassWeaver.match(BcelClassWeaver.java:3108) at org.aspectj.weaver.bcel.BcelClassWeaver.match(BcelClassWeaver.java:2562)
Created attachment 170256 [details] project exhibiting npe
just another case of an advice that wasn't having the declaring type set. It never used to matter, but it does now if using xml configuration as we use the declaring type to see if the aspect has been included in any aop.xml. In this case the advice was the entry point to cflow: AdviceKind.CflowEntry fix in Advice.makeCflowEntry to set the declaring type.