Community
Participate
Working Groups
When running ajc (AspectJ 1.2rc1) with -incremental on a pure java project and pressing enter once or twice (without actually changing anything in the project) I repeatedly get: null java.lang.NullPointerException at org.aspectj.ajdt.internal.core.builder.AjBuildManager.doBuild(AjBuildManager.java:207) at org.aspectj.ajdt.internal.core.builder.AjBuildManager.incrementalBuild(AjBuildManager.java:101) at org.aspectj.ajdt.ajc.AjdtCommand.doCommand(AjdtCommand.java:102) at org.aspectj.ajdt.ajc.AjdtCommand.repeatCommand(AjdtCommand.java:68) at org.aspectj.tools.ajc.Main.run(Main.java:288) at org.aspectj.tools.ajc.Main.runMain(Main.java:217) at org.aspectj.tools.ajc.Main.main(Main.java:79)
I *think* this is a duplicate of bug 59895 - which was also raised on 1.2rc1 and has been fixed in CVS (fix will be in RC2) - can you please retest on RC2 when it comes out (today/tmrw). Although 59895 talks about modifying an aspect to cause the NPE, it is on the same line of code and the fix for 59895 is just what I would have done for this case.
1.2rc2 has been released with the fix in. *** This bug has been marked as a duplicate of 59895 ***