Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 322622

Summary: An error occurs when building workspace; Bug in relation with aspectJ weaving process.
Product: [Tools] AspectJ Reporter: marc.pancheri
Component: CompilerAssignee: aspectj inbox <aspectj-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: aclement
Version: DEVELOPMENT   
Target Milestone: 1.6.12   
Hardware: PC   
OS: Linux   
Whiteboard:

Description marc.pancheri CLA 2010-08-13 03:28:35 EDT
Build Identifier: SpringSource Tool Suite Version: 2.3.3.M2

When using Eclipse (SpringSource Tool Suite Version: 2.3.3.M2) with the aspectJ plugin, we get the following error at build time:

java.lang.RuntimeException
at org.aspectj.weaver.bcel.BcelObjectType.ensureAspectJAttributesUnpacked(BcelObjectType.java:383)
at org.aspectj.weaver.bcel.BcelObjectType.<init>(BcelObjectType.java:160)
at org.aspectj.weaver.bcel.BcelWorld.buildBcelDelegate(BcelWorld.java:382)
at org.aspectj.weaver.bcel.BcelWorld.addSourceObjectType(BcelWorld.java:462)
at org.aspectj.weaver.bcel.BcelWorld.addSourceObjectType(BcelWorld.java:428)
at org.aspectj.w ... : Problem processing attributes in /domain/AddressIntegrationTest.c
lass

However, when building outside of Eclipse (SpringSource Tool Suite Version: 2.3.3.M2) using just maven, it builds successfully.

Reproducible: Always

Steps to Reproduce:
1. Clean the project inside Eclipse (SpringSource Tool Suite Version: 2.3.3.M2).
2. Build workspace.
Comment 1 Andrew Eisenberg CLA 2010-08-26 16:25:12 EDT
This is an AspectJ bug.
Comment 2 Andrew Clement CLA 2011-04-28 11:54:45 EDT
the last remaining issue with attribute deserialization was fixed in 1.6.11, I expect this case was also addressed by that fix.  If you still have a problem on a more recent STS (like 2.6.0 or later), please reopen.