Bug 311910

Summary: AspectJ internal Compiler Error
Product: [Tools] AspectJ Reporter: Vinay.Koduri
Component: CompilerAssignee: aspectj inbox <aspectj-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: aclement
Version: unspecified   
Target Milestone: 1.6.9M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Vinay.Koduri CLA 2010-05-06 11:22:11 EDT
Stack Trace:
java.lang.NullPointerException
at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303)
at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580)
at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyForBinaryAspect(AsmRelationshipProvider.java:562)
at org.aspectj.weaver.model.AsmRelationshipProvider.addAdvisedRelationship(AsmRelations ...       ARETURN
  end public Object run(Object[])
end public class com.cerner.isis.biz.services.asclepius.patient.PatientManagerImplTest$AjcClosure3


Happening when weaving a jar with a aspect jar.
Comment 1 Andrew Clement CLA 2010-05-06 12:36:06 EDT
i'd need more to go on to do a proper fix (and work out why the aspect is running a null location).  I'd need the jar and the aspect.  For now I've just committed a guard.