[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[aspectj-users] AJDT 1.2.0M1 problem
|
Hi,
After install AJDT
1.2.0M1 I experienced a problem when I try to compile the project
using Ant (the ant project is created dynamically -- no xml file). Stack is
shown below.
The compilation
is OK using version 1.1.12...
Thanks,
André
ABORT
Exception thrown from AspectJ
DEVELOPMENT
Bugs for exceptions
thrown have titles File:line from the top stack,
e.g.,
"SomeFile.java:243"
If you don't find
the exception below in a bug, please add a new bug
at http://bugs.eclipse.org/bugs/enter_bug.cgi?product=AspectJ
To
make the bug a priority, please include a test program
that can reproduce
this exception.
unknown
attributeorg.aspectj.weaver.MethodDeclarationLineNumber
unknown
attributeorg.aspectj.weaver.MethodDeclarationLineNumber
org.aspectj.weaver.BCException:
unknown attributeorg.aspectj.weaver.MethodDeclarationLineNumber
at
org.aspectj.weaver.AjAttribute.read(AjAttribute.java:109)
at
org.aspectj.weaver.bcel.BcelAttributes.readAjAttributes(BcelAttributes.java:38)
at
org.aspectj.weaver.bcel.BcelMethod.unpackAjAttributes(BcelMethod.java:83)
at
org.aspectj.weaver.bcel.BcelMethod.<init>(BcelMethod.java:49)
at
org.aspectj.weaver.bcel.BcelObjectType.getDeclaredMethods(BcelObjectType.java:123)
at
org.aspectj.weaver.ResolvedTypeX$Name.getDeclaredMethods(ResolvedTypeX.java:596)
at
org.aspectj.weaver.ResolvedTypeX.getDeclaredAdvice(ResolvedTypeX.java:444)
at
org.aspectj.weaver.ResolvedTypeX.getDeclaredShadowMungers(ResolvedTypeX.java:455)
at
org.aspectj.weaver.ResolvedTypeX.collectShadowMungers(ResolvedTypeX.java:395)
at
org.aspectj.weaver.ResolvedTypeX.collectCrosscuttingMembers(ResolvedTypeX.java:330)
at
org.aspectj.weaver.CrosscuttingMembersSet.addOrReplaceAspect(CrosscuttingMembersSet.java:57)
at
org.aspectj.weaver.bcel.BcelWeaver.prepareForWeave(BcelWeaver.java:331)
at
org.aspectj.ajdt.internal.compiler.AjCompilerAdapter.weave(AjCompilerAdapter.java:222)
at
org.aspectj.ajdt.internal.compiler.AjCompilerAdapter.afterCompiling(AjCompilerAdapter.java:114)
at
org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:383)
at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.performCompilation(AjBuildManager.java:671)
at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.doBuild(AjBuildManager.java:167)
at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchBuild(AjBuildManager.java:101)
at
org.aspectj.ajdt.ajc.AjdtCommand.doCommand(AjdtCommand.java:108)
at
org.aspectj.ajdt.ajc.AjdtCommand.runCommand(AjdtCommand.java:59)
at
org.aspectj.tools.ajc.Main.run(Main.java:289)
at
org.aspectj.tools.ajc.Main.runMain(Main.java:226)
at
org.aspectj.tools.ant.taskdefs.AjcTask.executeInSameVM(AjcTask.java:1158)
at
org.aspectj.tools.ant.taskdefs.AjcTask.execute(AjcTask.java:955)
at
org.apache.tools.ant.Task.perform(Task.java:364)
at
aftt.util.ant.AntRunner.compile(AntRunner.java:120)
at
aftt.core.Project.instrument(Project.java:628)
at
aftt.ui.MainWindow$8.actionPerformed(MainWindow.java:425)
at
javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown
Source)
at javax.swing.AbstractButton.doClick(Unknown
Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown
Source)
at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown
Source)
at java.awt.Component.processEvent(Unknown Source)
at
java.awt.Container.processEvent(Unknown Source)
at
java.awt.Component.dispatchEventImpl(Unknown Source)
at
java.awt.Container.dispatchEventImpl(Unknown Source)
at
java.awt.Component.dispatchEvent(Unknown Source)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at
java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at
java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at
java.awt.Container.dispatchEventImpl(Unknown Source)
at
java.awt.Window.dispatchEventImpl(Unknown Source)
at
java.awt.Component.dispatchEvent(Unknown Source)
at
java.awt.EventQueue.dispatchEvent(Unknown Source)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
at java.awt.EventDispatchThread.run(Unknown
Source)
[Log4jListener.java:124] Task "iajc" finished with
error.
fail due to BCException "unknown
attributeorg.aspectj.weaver.MethodDeclarationLineNumber""ABORT" (1
exceptions)
at
org.aspectj.tools.ant.taskdefs.AjcTask.executeInSameVM(AjcTask.java:1208)
at
org.aspectj.tools.ant.taskdefs.AjcTask.execute(AjcTask.java:955)
at
org.apache.tools.ant.Task.perform(Task.java:364)
at
aftt.util.ant.AntRunner.compile(AntRunner.java:120)
at
aftt.core.Project.instrument(Project.java:628)
at
aftt.ui.MainWindow$8.actionPerformed(MainWindow.java:425)
at
javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown
Source)
at javax.swing.AbstractButton.doClick(Unknown
Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown
Source)
at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown
Source)
at java.awt.Component.processEvent(Unknown Source)
at
java.awt.Container.processEvent(Unknown Source)
at
java.awt.Component.dispatchEventImpl(Unknown Source)
at
java.awt.Container.dispatchEventImpl(Unknown Source)
at
java.awt.Component.dispatchEvent(Unknown Source)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at
java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at
java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at
java.awt.Container.dispatchEventImpl(Unknown Source)
at
java.awt.Window.dispatchEventImpl(Unknown Source)
at
java.awt.Component.dispatchEvent(Unknown Source)
at
java.awt.EventQueue.dispatchEvent(Unknown Source)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
at java.awt.EventDispatchThread.run(Unknown
Source)