Community
Participate
Working Groups
Build Identifier: STS 2.5.1 CI-R6236-B157 When I save an annotated class this fail occurrs (the annotation used is not for aspects). java.lang.NullPointerException at org.aspectj.ajdt.internal.core.builder.AjBuildManager.findOutputDirsForAspects(AjBuildManager.java:724) at org.aspectj.ajdt.internal.core.builder.AjBuildManager.writeOutxmlFile(AjBuildManager.java:652) at org.aspectj.ajdt.internal.core.builder.AjBuildManager.performBuild(AjBuildManager.java:367) at org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchBuild(AjBuildManager.java:181) at org.aspectj.a ... oBuildJob.run(AutoBuildJob.java:242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Compile error: NullPointerException thrown: null Reproducible: Always Steps to Reproduce: 1.Create a maven project and import dependencies for spring mvc 2.Create a controller annotated class 3.Save 4.Create a J2EE project 5.Create a j2ee component like an annotated sessionbean 6. save
looks like a dup of bug 324190 (although the slight difference in line number is concerning). Can you update your AJDT and see if it is resolved? Use the dev update site for eclipse 3.6: http://download.eclipse.org/tools/ajdt/36/dev/update
Did you try with an updated AJDT to see if it was already fixed?
Yes, I updated the AJDT and it works fine now. Thanks. (In reply to comment #2) > Did you try with an updated AJDT to see if it was already fixed?
thanks for confirming. *** This bug has been marked as a duplicate of bug 324190 ***