Bug 327473

Summary: org.aspectj.weaver.BCException
Product: [Tools] AspectJ Reporter: ptft <pentaxfoto>
Component: CompilerAssignee: aspectj inbox <aspectj-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: aclement
Version: 1.6.10   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description ptft CLA 2010-10-11 12:34:26 EDT
at org.aspectj.weaver.AjAttribute.read(AjAttribute.java:137)
at org.aspectj.weaver.bcel.Utility.readAjAttributes(Utility.java:101)
at org.aspectj.weaver.bcel.BcelMethod.unpackAjAttributes(BcelMethod.java:185)
at org.aspectj.weaver.bcel.BcelMethod.<init>(BcelMethod.java:91)
at org.aspectj.weaver.bcel.BcelObjectType.getDeclaredMethods(BcelObjectType.java:289)
at org.aspectj.weaver.ReferenceType.getDeclaredM ... C:\Program Files\Java\jdk1.6.0_21\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Eclipse\helios\plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar;

This AspectJ Internal Compiler Error is observed from AspectJ 1.6.9 to 1.6.10rc1 (now using Eclipse Helios + AJDT 2.1.1 RC1). Previous versions (AspectJ 1.6.8) compiled the same aspect without any warning.
Comment 1 Andrew Clement CLA 2010-10-25 12:28:12 EDT
reproduceable?

Looks like the standard problem of incompatible versions in use - some recent version of AspectJ is being used to build code and then an older version is being asked to load that woven code.  This can happen if Roo uses an up to date AspectJ but AJDT uses an old version.  Please ensure all your AspectJs are up to date (Roo/AJDT/any others).
Comment 2 ptft CLA 2011-10-06 14:05:28 EDT
Doesn't appear any more in new version.