Bug 322622 - An error occurs when building workspace; Bug in relation with aspectJ weaving process.
Summary: An error occurs when building workspace; Bug in relation with aspectJ weaving...
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: 1.6.12   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-13 03:28 EDT by marc.pancheri CLA
Modified: 2011-04-28 11:54 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 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.