Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » AJDT Plugin Question3
AJDT Plugin Question3 [message #22038] Fri, 16 May 2003 09:57 Go to next message
Eclipse UserFriend
Originally posted by: delasoul.operamail.com

Hello again,

thanx very much for your fast answer, but I have already a new problem...
When running ant and the ajdt tasks in eclipse, I get error below.
The ant script works fine from command line.
I looked in Bugzilla and found the bug, but could not find out, if the
problem is solved now or not.

Thanks again for any help

delasoul



[ajc] ABORT
[ajc] Exception thrown from AspectJ 1.1rc2
[ajc]
[ajc] This might be logged as a bug already -- find current bugs
at
[ajc]
http://bugs.eclipse.org/bugs/buglist.cgi?product=AspectJ& ;component=Compiler
[ajc]
[ajc] Bugs for exceptions thrown have titles File:line from the
top stack,
[ajc] e.g., "SomeFile.java:243"
[ajc]
[ajc] If you don't find the exception below in a bug, please add
a new bug
[ajc] at
http://bugs.eclipse.org/bugs/enter_bug.cgi?product=AspectJ
[ajc] To make the bug a priority, please include a test program
[ajc] that can reproduce this exception.
[ajc] (class:
org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironmen t, method:
createBinaryTypeFrom signature:
(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;Lorg/ecl ipse/jdt/internal/compiler/lookup/PackageBinding;Z)Lorg/ecli pse/jdt/internal/compilerX¤/ ð®5 À% ?À% üÃ% ô?
[ajc] (class:
org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironmen t, method:
createBinaryTypeFrom signature:
(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;Lorg/ecl ipse/jdt/internal/compiler/lookup/PackageBinding;Z)Lorg/ecli pse/jdt/internal/compilerX¤/ ð®5 À% ?À% üÃ% ô?
[ajc] java.lang.VerifyError: (class:
org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironmen t, method:
createBinaryTypeFrom signature:
(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;Lorg/ecl ipse/jdt/internal/compiler/lookup/PackageBinding;Z)Lorg/ecli pse/jdt/internal/compilerX¤/ ð®5 À% ?À% üÃ% ô?
[ajc] at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.perfor mCompilation(AjBuildManager.java:351)
[ajc] at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.doBuil d(AjBuildManager.java:133)
[ajc] at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchB uild(AjBuildManager.java:78)
[ajc] at
org.aspectj.ajdt.ajc.AjdtCommand.doCommand(AjdtCommand.java: 106)
[ajc] at
org.aspectj.ajdt.ajc.AjdtCommand.runCommand(AjdtCommand.java :60)
[ajc] at org.aspectj.tools.ajc.Main.run(Main.java:217)
[ajc] at
org.aspectj.tools.ant.taskdefs.Ajc10.spoon(Ajc10.java:598)
[ajc] at
org.aspectj.tools.ant.taskdefs.Ajc10.execute(Ajc10.java:484)
[ajc] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:193)
[ajc] at org.apache.tools.ant.Task.perform(Task.java:341)
[ajc] at org.apache.tools.ant.Target.execute(Target.java:309)
[ajc] at
org.apache.tools.ant.Target.performTasks(Target.java:336)
[ajc] at
org.apache.tools.ant.Project.executeTarget(Project.java:1339 )
[ajc] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
[ajc] at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:143)
[ajc] at org.apache.tools.ant.Task.perform(Task.java:341)
[ajc] at org.apache.tools.ant.Target.execute(Target.java:309)
[ajc] at
org.apache.tools.ant.Target.performTasks(Target.java:336)
[ajc] at
org.apache.tools.ant.Project.executeTarget(Project.java:1339 )
[ajc] at
org.apache.tools.ant.Project.executeTargets(Project.java:125 5)
[ajc] at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:569)
[ajc] at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:367)
[ajc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[ajc] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
[ajc] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
[ajc] at java.lang.reflect.Method.invoke(Method.java:324)
[ajc] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335)
[ajc] at
org.eclipse.ui.externaltools.internal.ant.launchConfiguratio ns.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172)
[ajc] at java.lang.Thread.run(Thread.java:536)
[ajc]
[ajc] BUILD FAILED:
file:C:/java/eclipseWorkspace/workspace/test/build.xml:114: Compilation
error: 1
Re: AJDT Plugin Question3 [message #22716 is a reply to message #22038] Fri, 30 May 2003 13:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: clemas.hotmail.com

delasoul wrote:

> Hello again,

> thanx very much for your fast answer, but I have already a new problem...
> When running ant and the ajdt tasks in eclipse, I get error below.
> The ant script works fine from command line.
> I looked in Bugzilla and found the bug, but could not find out, if the
> problem is solved now or not.

Hi,

Hmmm - from some other work I've been doing with Eclipse I've had problems
with ANT in Eclipse. But I don't know if you are seeing the same problem
here. Can you tell me which bugzilla bug you were looking at?

To get you working ... I see you are using the ajc task for aspectj1.0 and
it does mention in the 1.1 doc that this old task is deprecated (although
it should still work...). Is there anyway you can move on to the AspectJ
1.1 task (called iajc) - you can find a readme about it in the aspectj1.1
documentation.

Andy.
AJDT Development
Re: AJDT Plugin Question3 [message #22934 is a reply to message #22716] Wed, 04 June 2003 10:11 Go to previous message
Eclipse UserFriend
Originally posted by: delasoul.operamail.com

Andrew Clement wrote:

> delasoul wrote:

> > Hello again,

> > thanx very much for your fast answer, but I have already a new problem...
> > When running ant and the ajdt tasks in eclipse, I get error below.
> > The ant script works fine from command line.
> > I looked in Bugzilla and found the bug, but could not find out, if the
> > problem is solved now or not.

> Hi,

> Hmmm - from some other work I've been doing with Eclipse I've had problems
> with ANT in Eclipse. But I don't know if you are seeing the same problem
> here. Can you tell me which bugzilla bug you were looking at?

> To get you working ... I see you are using the ajc task for aspectj1.0 and
> it does mention in the 1.1 doc that this old task is deprecated (although
> it should still work...). Is there anyway you can move on to the AspectJ
> 1.1 task (called iajc) - you can find a readme about it in the aspectj1.1
> documentation.

> Andy.
> AJDT Development

Hi,

thanx again for your answer..
I now tried the iajc task, but still get an error in eclipse (see below),
but
works fine from command line.
My compile target looks like this:

<target name="Ajx" depends="init"
description="compile {list} and run {class} of example">
<echo message="##### Ajx list=${list} class=${class}" />
<antcall target="clean" />
<!-- can use ajc or iajc here -->
<iajc destdir="${build.dir}" argfiles="${list}"
classpath="${aspectjrt.jar}"/>

<antcall target="Ajx-run" >
<param name="class" value="${class}"/>
</antcall>

</target>

Here comes the error:

[iajc] ABORT
[iajc] Exception thrown from AspectJ 1.1rc2
[iajc]
[iajc] This might be logged as a bug already -- find current bugs
at
[iajc]
http://bugs.eclipse.org/bugs/buglist.cgi?product=AspectJ& ;component=Compiler
[iajc]
[iajc] Bugs for exceptions thrown have titles File:line from the
top stack,
[iajc] e.g., "SomeFile.java:243"
[iajc]
[iajc] If you don't find the exception below in a bug, please add
a new bug
[iajc] at
http://bugs.eclipse.org/bugs/enter_bug.cgi?product=AspectJ
[iajc] To make the bug a priority, please include a test program
[iajc] that can reproduce this exception.
[iajc] (class:
org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironmen t, method:
createBinaryTypeFrom signature:
(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;Lorg/ecl ipse/jdt/internal/compiler/lookup/PackageBinding;Z)Lorg/ecli pse/jdt/internal/compilerÜ
[iajc] @Þ# p½ ?p½ üs½ Àó
[iajc] ¼?>m
[iajc] (class:
org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironmen t, method:
createBinaryTypeFrom signature:
(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;Lorg/ecl ipse/jdt/internal/compiler/lookup/PackageBinding;Z)Lorg/ecli pse/jdt/internal/compilerÜ
[iajc] @Þ# p½ ?p½ üs½ Àó
[iajc] ¼?>m
[iajc] java.lang.VerifyError: (class:
org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironmen t, method:
createBinaryTypeFrom signature:
(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;Lorg/ecl ipse/jdt/internal/compiler/lookup/PackageBinding;Z)Lorg/ecli pse/jdt/internal/compilerÜ
[iajc] @Þ# p½ ?p½ üs½ Àó
[iajc] ¼?>m
[iajc] at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.perfor mCompilation(AjBuildManager.java:351)
[iajc] at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.doBuil d(AjBuildManager.java:133)
[iajc] at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchB uild(AjBuildManager.java:78)
[iajc] at
org.aspectj.ajdt.ajc.AjdtCommand.doCommand(AjdtCommand.java: 106)
[iajc] at
org.aspectj.ajdt.ajc.AjdtCommand.runCommand(AjdtCommand.java :60)
[iajc] at org.aspectj.tools.ajc.Main.run(Main.java:217)
[iajc] at org.aspectj.tools.ajc.Main.runMain(Main.java:155)
[iajc] at
org.aspectj.tools.ant.taskdefs.AjcTask.executeInSameVM(AjcTa sk.java:839)
[iajc] at
org.aspectj.tools.ant.taskdefs.AjcTask.execute(AjcTask.java: 783)
[iajc] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:193)
[iajc] at org.apache.tools.ant.Task.perform(Task.java:341)
[iajc] at org.apache.tools.ant.Target.execute(Target.java:309)
[iajc] at
org.apache.tools.ant.Target.performTasks(Target.java:336)
[iajc] at
org.apache.tools.ant.Project.executeTarget(Project.java:1339 )
[iajc] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
[iajc] at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:143)
[iajc] at org.apache.tools.ant.Task.perform(Task.java:341)
[iajc] at org.apache.tools.ant.Target.execute(Target.java:309)
[iajc] at
org.apache.tools.ant.Target.performTasks(Target.java:336)
[iajc] at
org.apache.tools.ant.Project.executeTarget(Project.java:1339 )
[iajc] at
org.apache.tools.ant.Project.executeTargets(Project.java:125 5)
[iajc] at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:569)
[iajc] at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:367)
[iajc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[iajc] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
[iajc] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
[iajc] at java.lang.reflect.Method.invoke(Method.java:324)
[iajc] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335)
[iajc] at
org.eclipse.ui.externaltools.internal.ant.launchConfiguratio ns.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172)
[iajc] at java.lang.Thread.run(Thread.java:536)
[iajc]
[iajc] BUILD FAILED:
file:C:/java/eclipseWorkspace/workspace/aspectjTests/bin/bui ld.xml:122:
fail due to VerifyError "(class:
org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironmen t, method:
createBinaryTypeFrom signature:
(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;Lorg/ecl ipse/jdt/internal/compiler/lookup/PackageBinding;Z)Lorg/ecli pse/jdt/internal/compilerÜ
@Þ# p½ &#128;p½ üs½ Àó
¼&#155;>m""ABORT" (1 exceptions)
Re: AJDT Plugin Question3 [message #567870 is a reply to message #22038] Fri, 30 May 2003 13:42 Go to previous message
Eclipse UserFriend
Originally posted by: clemas.hotmail.com

delasoul wrote:

> Hello again,

> thanx very much for your fast answer, but I have already a new problem...
> When running ant and the ajdt tasks in eclipse, I get error below.
> The ant script works fine from command line.
> I looked in Bugzilla and found the bug, but could not find out, if the
> problem is solved now or not.

Hi,

Hmmm - from some other work I've been doing with Eclipse I've had problems
with ANT in Eclipse. But I don't know if you are seeing the same problem
here. Can you tell me which bugzilla bug you were looking at?

To get you working ... I see you are using the ajc task for aspectj1.0 and
it does mention in the 1.1 doc that this old task is deprecated (although
it should still work...). Is there anyway you can move on to the AspectJ
1.1 task (called iajc) - you can find a readme about it in the aspectj1.1
documentation.

Andy.
AJDT Development
Re: AJDT Plugin Question3 [message #568073 is a reply to message #22716] Wed, 04 June 2003 10:11 Go to previous message
Eclipse UserFriend
Originally posted by: delasoul.operamail.com

Andrew Clement wrote:

> delasoul wrote:

> > Hello again,

> > thanx very much for your fast answer, but I have already a new problem...
> > When running ant and the ajdt tasks in eclipse, I get error below.
> > The ant script works fine from command line.
> > I looked in Bugzilla and found the bug, but could not find out, if the
> > problem is solved now or not.

> Hi,

> Hmmm - from some other work I've been doing with Eclipse I've had problems
> with ANT in Eclipse. But I don't know if you are seeing the same problem
> here. Can you tell me which bugzilla bug you were looking at?

> To get you working ... I see you are using the ajc task for aspectj1.0 and
> it does mention in the 1.1 doc that this old task is deprecated (although
> it should still work...). Is there anyway you can move on to the AspectJ
> 1.1 task (called iajc) - you can find a readme about it in the aspectj1.1
> documentation.

> Andy.
> AJDT Development

Hi,

thanx again for your answer..
I now tried the iajc task, but still get an error in eclipse (see below),
but
works fine from command line.
My compile target looks like this:

<target name="Ajx" depends="init"
description="compile {list} and run {class} of example">
<echo message="##### Ajx list=${list} class=${class}" />
<antcall target="clean" />
<!-- can use ajc or iajc here -->
<iajc destdir="${build.dir}" argfiles="${list}"
classpath="${aspectjrt.jar}"/>

<antcall target="Ajx-run" >
<param name="class" value="${class}"/>
</antcall>

</target>

Here comes the error:

[iajc] ABORT
[iajc] Exception thrown from AspectJ 1.1rc2
[iajc]
[iajc] This might be logged as a bug already -- find current bugs
at
[iajc]
http://bugs.eclipse.org/bugs/buglist.cgi?product=AspectJ& ;component=Compiler
[iajc]
[iajc] Bugs for exceptions thrown have titles File:line from the
top stack,
[iajc] e.g., "SomeFile.java:243"
[iajc]
[iajc] If you don't find the exception below in a bug, please add
a new bug
[iajc] at
http://bugs.eclipse.org/bugs/enter_bug.cgi?product=AspectJ
[iajc] To make the bug a priority, please include a test program
[iajc] that can reproduce this exception.
[iajc] (class:
org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironmen t, method:
createBinaryTypeFrom signature:
(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;Lorg/ecl ipse/jdt/internal/compiler/lookup/PackageBinding;Z)Lorg/ecli pse/jdt/internal/compilerÜ
[iajc] @Þ# p½ ?p½ üs½ Àó
[iajc] ¼?>m
[iajc] (class:
org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironmen t, method:
createBinaryTypeFrom signature:
(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;Lorg/ecl ipse/jdt/internal/compiler/lookup/PackageBinding;Z)Lorg/ecli pse/jdt/internal/compilerÜ
[iajc] @Þ# p½ ?p½ üs½ Àó
[iajc] ¼?>m
[iajc] java.lang.VerifyError: (class:
org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironmen t, method:
createBinaryTypeFrom signature:
(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;Lorg/ecl ipse/jdt/internal/compiler/lookup/PackageBinding;Z)Lorg/ecli pse/jdt/internal/compilerÜ
[iajc] @Þ# p½ ?p½ üs½ Àó
[iajc] ¼?>m
[iajc] at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.perfor mCompilation(AjBuildManager.java:351)
[iajc] at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.doBuil d(AjBuildManager.java:133)
[iajc] at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchB uild(AjBuildManager.java:78)
[iajc] at
org.aspectj.ajdt.ajc.AjdtCommand.doCommand(AjdtCommand.java: 106)
[iajc] at
org.aspectj.ajdt.ajc.AjdtCommand.runCommand(AjdtCommand.java :60)
[iajc] at org.aspectj.tools.ajc.Main.run(Main.java:217)
[iajc] at org.aspectj.tools.ajc.Main.runMain(Main.java:155)
[iajc] at
org.aspectj.tools.ant.taskdefs.AjcTask.executeInSameVM(AjcTa sk.java:839)
[iajc] at
org.aspectj.tools.ant.taskdefs.AjcTask.execute(AjcTask.java: 783)
[iajc] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:193)
[iajc] at org.apache.tools.ant.Task.perform(Task.java:341)
[iajc] at org.apache.tools.ant.Target.execute(Target.java:309)
[iajc] at
org.apache.tools.ant.Target.performTasks(Target.java:336)
[iajc] at
org.apache.tools.ant.Project.executeTarget(Project.java:1339 )
[iajc] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
[iajc] at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:143)
[iajc] at org.apache.tools.ant.Task.perform(Task.java:341)
[iajc] at org.apache.tools.ant.Target.execute(Target.java:309)
[iajc] at
org.apache.tools.ant.Target.performTasks(Target.java:336)
[iajc] at
org.apache.tools.ant.Project.executeTarget(Project.java:1339 )
[iajc] at
org.apache.tools.ant.Project.executeTargets(Project.java:125 5)
[iajc] at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:569)
[iajc] at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:367)
[iajc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[iajc] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
[iajc] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
[iajc] at java.lang.reflect.Method.invoke(Method.java:324)
[iajc] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335)
[iajc] at
org.eclipse.ui.externaltools.internal.ant.launchConfiguratio ns.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172)
[iajc] at java.lang.Thread.run(Thread.java:536)
[iajc]
[iajc] BUILD FAILED:
file:C:/java/eclipseWorkspace/workspace/aspectjTests/bin/bui ld.xml:122:
fail due to VerifyError "(class:
org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironmen t, method:
createBinaryTypeFrom signature:
(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;Lorg/ecl ipse/jdt/internal/compiler/lookup/PackageBinding;Z)Lorg/ecli pse/jdt/internal/compilerÜ
@Þ# p½ &#128;p½ üs½ Àó
¼&#155;>m""ABORT" (1 exceptions)
Previous Topic:Latest build still not creating any class files
Next Topic:Debugging AspectJ Compiled Code
Goto Forum:
  


Current Time: Thu Dec 26 16:19:36 GMT 2024

Powered by FUDForum. Page generated in 0.03633 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top