Bug 61845 - AjBuildManager.java:207
Summary: AjBuildManager.java:207
Status: RESOLVED DUPLICATE of bug 59895
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.2.1   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Jim Hugunin CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-11 23:20 EDT by Christian Pekeler CLA
Modified: 2004-05-13 05:27 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Pekeler CLA 2004-05-11 23:20:35 EDT
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)
Comment 1 Andrew Clement CLA 2004-05-12 06:16:16 EDT
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.
Comment 2 Adrian Colyer CLA 2004-05-13 05:27:11 EDT
1.2rc2 has been released with the fix in.

*** This bug has been marked as a duplicate of 59895 ***