| Summary: | NPE when saving an aspect - Aspectj Internal Compiler Error | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] AspectJ | Reporter: | Phil Hartley <phartley> | ||||
| Component: | LTWeaving | Assignee: | aspectj inbox <aspectj-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | blocker | ||||||
| Priority: | P3 | CC: | aclement, phartley, ramuprakash.c | ||||
| Version: | 1.6.12 | ||||||
| Target Milestone: | 1.6.12 | ||||||
| Hardware: | Macintosh | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
this is now fixed. It is due to the abstract aspect being only on the classpath. If you want to workaround it until an AJDT is available containing the change, just add the jar file (containing the abstract aspect) to the aspectpath rather than the classpath. *** Bug 357067 has been marked as a duplicate of this bug. *** |
Created attachment 200625 [details] Two projects java.lang.NullPointerException at org.aspectj.weaver.ShadowMunger.getBinaryFile(ShadowMunger.java:201) at org.aspectj.weaver.ShadowMunger.getBinarySourceLocation(ShadowMunger.java:188) at org.aspectj.weaver.model.AsmRelationshipProvider.createAdviceChild(AsmRelationshipProvider.java:699) at org.aspectj.weaver.model.AsmRelationshipProvider.addChildNodes(AsmRelationshipProvider.java:657) at org.aspectj.weaver.model.AsmRelationshipProvider.crea ... bleAspect$edu_uat_cs2011_observerpattern_Observable$observers(java.util.List) end public class edu.uat.csc263.su10045.observermodel.DepartmentManager I have attached a zip file containing the two projects that in combination caused this problem. To recreate, load the projects, go into DepartmentManagerObservableAspect, modify the pointcut and save the file.