Community
Participate
Working Groups
Create a class, create an aspect affecting that class via around advice. Build. Break the aspect, incremental build and the error comes out. Then whitespace change in the class and save - this incremental build will break with: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelAdvice.canInline(BcelAdvice.java:215) at org.aspectj.weaver.bcel.BcelAdvice.implementOn(BcelAdvice.java:304) at org.aspectj.weaver.Shadow.implementMungers(Shadow.java:613) at org.aspectj.weaver.Shadow.implement(Shadow.java:527) at org.aspectj.weaver.bcel.BcelClassWeaver.implement(BcelClassWeaver.java:3051) Because the aspect isn't in good enough shape to answer questions
fixed - guards in place to cope with this situation and weaving doesn't proceed for the broken advice.