Bug 327473 - org.aspectj.weaver.BCException
Summary: org.aspectj.weaver.BCException
Status: CLOSED WONTFIX
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.6.10   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-11 12:34 EDT by ptft CLA
Modified: 2011-10-06 14:05 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.