Bug 103300 - org.aspectj.weaver.BCException: malformed org.aspectj.weaver.PointcutDeclaration attribute java.io.EOFException
Summary: org.aspectj.weaver.BCException: malformed org.aspectj.weaver.PointcutDeclarat...
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Adrian Colyer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-11 06:26 EDT by Matthew Webster CLA
Modified: 2008-03-31 14:18 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Webster CLA 2005-07-11 06:26:11 EDT
Using Eclipse 3.0.2 and AJDT 1.2

The exception occurs when trying to compile a sub-aspect using AspectJ 1.5 
with an aspect library built using AspectJ 1.2.1.
Comment 1 Adrian Colyer CLA 2005-10-28 08:34:10 EDT
andy says this is fixed!
Comment 2 Georges-Etienne Legendre CLA 2008-03-31 14:01:14 EDT
I have the same exception when I use aspectpath for the iajc Ant task. The classpath is fairly big (the same used for the build-classpath because I don't know in which jar there are aspects).

[iajc] abort ABORT -- (BCException) malformed org.aspectj.weaver.PointcutDeclaration attribute java.io.EOFException
[iajc] when batch building BuildConfig[null] #Files=85
[iajc] 
[iajc] malformed org.aspectj.weaver.PointcutDeclaration attribute java.io.EOFException
[iajc] when batch building BuildConfig[null] #Files=85
[iajc] 
[iajc] org.aspectj.weaver.BCException: malformed org.aspectj.weaver.PointcutDeclaration attribute java.io.EOFException
[iajc] when batch building BuildConfig[null] #Files=85
[iajc] 
[iajc] 	at org.aspectj.weaver.AjAttribute.read(AjAttribute.java:127)
Comment 3 Georges-Etienne Legendre CLA 2008-03-31 14:02:23 EDT
(In reply to comment #2)

(Version 1.6.0m2)
Comment 4 Georges-Etienne Legendre CLA 2008-03-31 14:18:39 EDT
I found the problem. The aspectpath was referencing the aspectjlib.jar aspectjrt.jar and aspectjtool.jar files. However, I would reopen this bug to fix this.