AJDT 1.1.9 available [message #35650] |
Fri, 14 May 2004 10:36 |
Eclipse User |
|
|
|
Originally posted by: clemas.uk.ibm.com
Like 1.1.7 and 1.1.8 before it, 1.1.9 is specifically for Eclipse 3.0M8.
This new version of AJDT includes AspectJ1.2 release candidate 2 which was
released yesterday. If you have an update site defined then you should be
able to upgrade to it directly. It is also available as an archive of
plugins for standalone installation without an update site connection.
See our homepage and download page for more information.
http://eclipse.org/ajdt
thanks,
Andy.
---
AJDT Development
|
|
|
Re: AJDT 1.1.9 available [message #35684 is a reply to message #35650] |
Mon, 17 May 2004 15:24 |
Eclipse User |
|
|
|
Originally posted by: delasoul.operamail.com
Hello,
I downloaded 1.1.9 today and when compiling I now get the following
compile error - doe anybody know whatŽs happening?
thanx,
delasoul
Severity Description Resource In Folder Location Creation Time
2 Internal compiler error
java.lang.NoSuchMethodError:
org.apache.bcel.generic.InstructionFactory.createNewArray(Lo rg/apache/bcel/generic/Type;S)Lorg/apache/bcel/generic/Instr uction;
at
org.aspectj.weaver.bcel.BcelShadow.makeArgsObjectArray(BcelS hadow.java:1032)
at
org.aspectj.weaver.bcel.BcelShadow.createThisJoinPoint(BcelS hadow.java:980)
at
org.aspectj.weaver.bcel.BcelShadow.initializeThisJoinPoint(B celShadow.java:890)
at
org.aspectj.weaver.bcel.BcelShadow.prepareForMungers(BcelSha dow.java:260)
at org.aspectj.weaver.Shadow.implement(Shadow.java:324)
at
org.aspectj.weaver.bcel.BcelClassWeaver.implement(BcelClassW eaver.java:1145)
at org.aspectj.weaver.bcel.BcelClassWeaver.weave(BcelClassWeave r.java:357)
at org.aspectj.weaver.bcel.BcelClassWeaver.weave(BcelClassWeave r.java:80)
at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:724 )
at
org.aspectj.weaver.bcel.BcelWeaver.weaveWithoutDump(BcelWeav er.java:689)
at org.aspectj.weaver.bcel.BcelWeaver.weaveAndNotify(BcelWeaver .java:615)
at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:563 )
at
org.aspectj.ajdt.internal.compiler.AjCompilerAdapter.weave(A jCompilerAdapter.java:239)
at
org.aspectj.ajdt.internal.compiler.AjCompilerAdapter.afterCo mpiling(AjCompilerAdapter.java:114)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler. java:376)
at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.perfor mCompilation(AjBuildManager.java:601)
at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.doBuil d(AjBuildManager.java:160)
at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchB uild(AjBuildManager.java:94)
at
org.aspectj.ajde.internal.CompilerAdapter.compile(CompilerAd apter.java:108)
at
org.aspectj.ajde.internal.AspectJBuildManager$CompilerThread .run(AspectJBuildManager.java:165)
17. Mai 2004 17:12:27
Andy Clement wrote:
> Like 1.1.7 and 1.1.8 before it, 1.1.9 is specifically for Eclipse 3.0M8.
> This new version of AJDT includes AspectJ1.2 release candidate 2 which was
> released yesterday. If you have an update site defined then you should be
> able to upgrade to it directly. It is also available as an archive of
> plugins for standalone installation without an update site connection.
> See our homepage and download page for more information.
> http://eclipse.org/ajdt
> thanks,
> Andy.
> ---
> AJDT Development
|
|
|
Re: AJDT 1.1.9 available [message #35718 is a reply to message #35684] |
Mon, 17 May 2004 21:27 |
Eclipse User |
|
|
|
Originally posted by: clemas.uk.ibm.com
Hi,
Regarding this error ...
> 2 Internal compiler error
> java.lang.NoSuchMethodError:
>
org.apache.bcel.generic.InstructionFactory.createNewArray(Lo rg/apache/bcel/generic/Type;S)Lorg/apache/bcel/generic/Instr uction;
> at
That happens if you have a different version of BCEL somewhere on your
system and it is being found before the one in AJDT 1.1.9. Please can you
check in your jre/lib/ext directory under your Java SDK (the SDK you use
to run Eclipse) - is there anything in there that could be BCEL related?
Andy
---
Andy Clement
AJDT Development
|
|
|
Re: AJDT 1.1.9 available [message #35753 is a reply to message #35718] |
Tue, 18 May 2004 10:43 |
Eclipse User |
|
|
|
Originally posted by: delasoul.operamail.com
Hi Andy,
thank you for your answer.
In my ext dir I have the following jars:
dsns.jar
ldapsec.jar
localedata.jar
sunjce_provider.jar
I donŽt really know, if they are BCEL related.
If not can it come from somewhere else too?
delasoul
Andy Clement wrote:
> Hi,
> Regarding this error ...
> > 2 Internal compiler error
> > java.lang.NoSuchMethodError:
> >
>
org.apache.bcel.generic.InstructionFactory.createNewArray(Lo rg/apache/bcel/generic/Type;S)Lorg/apache/bcel/generic/Instr uction;
> > at
> That happens if you have a different version of BCEL somewhere on your
> system and it is being found before the one in AJDT 1.1.9. Please can you
> check in your jre/lib/ext directory under your Java SDK (the SDK you use
> to run Eclipse) - is there anything in there that could be BCEL related?
> Andy
> ---
> Andy Clement
> AJDT Development
|
|
|
|
Re: AJDT 1.1.9 available [message #36065 is a reply to message #35786] |
Mon, 24 May 2004 10:03 |
Eclipse User |
|
|
|
Originally posted by: clemas.uk.ibm.com
> Eclipse doesn't use libraries located in jre/lib/ext dir. It tries to load
> class from plugin runtime libraries first. For ajdt 1.1.7 there is BCEL in
> bcel.jar (not included as runtime library in plugin.xml) and in
> aspectjtools.jar (included as runtime library in plugin.xml).
I think bcel.jar is a rogue part of 1.1.9 (the bcel classes included in
aspectjtools.jar are correct). Can someone who has this problem (it only
seems to occur for a subset of users - not sure why yet) delete bcel.jar
from the org.aspectj.ajde plugin, or at least move it outside of the
eclipse environment. Do you still get the problem?
I'll fix up the packaging process to stop that bcel.jar being delivered in
future.
Andy.
|
|
|
Re: AJDT 1.1.9 available [message #36166 is a reply to message #36065] |
Mon, 24 May 2004 15:13 |
Eclipse User |
|
|
|
Originally posted by: clemas.uk.ibm.com
I believe I have found out what is wrong here. Certain levels of certain
JVMs have bcel classes in them, the old versions of the BCEL classes.
AspectJ finds these old versions rather than the new ones it bundles and
so it fails.
These classes are not included in jars that you may have accidentally
included in the jre/lib/ext directory but they are in core JVM jars that
exist in jre/lib.
Can you tell me the exact JVM you are using, i.e. the make, the version
and the service refresh level (or date)?
I think if you update your JVM to the latest version the problem will be
fixed.
cheers,
Andy.
|
|
|
Re: AJDT 1.1.9 available [message #36579 is a reply to message #36166] |
Wed, 26 May 2004 06:49 |
Eclipse User |
|
|
|
Originally posted by: delasoul.operamail.com
Hi Andy,
thanx for your help.
I updated from jdk1.4.1 to jdk1.4.2_04 and now my aspects work again.
Tank you again,
delasoul
Andy Clement wrote:
> I believe I have found out what is wrong here. Certain levels of certain
> JVMs have bcel classes in them, the old versions of the BCEL classes.
> AspectJ finds these old versions rather than the new ones it bundles and
> so it fails.
> These classes are not included in jars that you may have accidentally
> included in the jre/lib/ext directory but they are in core JVM jars that
> exist in jre/lib.
> Can you tell me the exact JVM you are using, i.e. the make, the version
> and the service refresh level (or date)?
> I think if you update your JVM to the latest version the problem will be
> fixed.
> cheers,
> Andy.
|
|
|
Re: AJDT 1.1.9 available [message #579593 is a reply to message #35650] |
Mon, 17 May 2004 15:24 |
Eclipse User |
|
|
|
Originally posted by: delasoul.operamail.com
Hello,
I downloaded 1.1.9 today and when compiling I now get the following
compile error - doe anybody know whatŽs happening?
thanx,
delasoul
Severity Description Resource In Folder Location Creation Time
2 Internal compiler error
java.lang.NoSuchMethodError:
org.apache.bcel.generic.InstructionFactory.createNewArray(Lo rg/apache/bcel/generic/Type;S)Lorg/apache/bcel/generic/Instr uction;
at
org.aspectj.weaver.bcel.BcelShadow.makeArgsObjectArray(BcelS hadow.java:1032)
at
org.aspectj.weaver.bcel.BcelShadow.createThisJoinPoint(BcelS hadow.java:980)
at
org.aspectj.weaver.bcel.BcelShadow.initializeThisJoinPoint(B celShadow.java:890)
at
org.aspectj.weaver.bcel.BcelShadow.prepareForMungers(BcelSha dow.java:260)
at org.aspectj.weaver.Shadow.implement(Shadow.java:324)
at
org.aspectj.weaver.bcel.BcelClassWeaver.implement(BcelClassW eaver.java:1145)
at org.aspectj.weaver.bcel.BcelClassWeaver.weave(BcelClassWeave r.java:357)
at org.aspectj.weaver.bcel.BcelClassWeaver.weave(BcelClassWeave r.java:80)
at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:724 )
at
org.aspectj.weaver.bcel.BcelWeaver.weaveWithoutDump(BcelWeav er.java:689)
at org.aspectj.weaver.bcel.BcelWeaver.weaveAndNotify(BcelWeaver .java:615)
at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:563 )
at
org.aspectj.ajdt.internal.compiler.AjCompilerAdapter.weave(A jCompilerAdapter.java:239)
at
org.aspectj.ajdt.internal.compiler.AjCompilerAdapter.afterCo mpiling(AjCompilerAdapter.java:114)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler. java:376)
at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.perfor mCompilation(AjBuildManager.java:601)
at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.doBuil d(AjBuildManager.java:160)
at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchB uild(AjBuildManager.java:94)
at
org.aspectj.ajde.internal.CompilerAdapter.compile(CompilerAd apter.java:108)
at
org.aspectj.ajde.internal.AspectJBuildManager$CompilerThread .run(AspectJBuildManager.java:165)
17. Mai 2004 17:12:27
Andy Clement wrote:
> Like 1.1.7 and 1.1.8 before it, 1.1.9 is specifically for Eclipse 3.0M8.
> This new version of AJDT includes AspectJ1.2 release candidate 2 which was
> released yesterday. If you have an update site defined then you should be
> able to upgrade to it directly. It is also available as an archive of
> plugins for standalone installation without an update site connection.
> See our homepage and download page for more information.
> http://eclipse.org/ajdt
> thanks,
> Andy.
> ---
> AJDT Development
|
|
|
|
Re: AJDT 1.1.9 available [message #579642 is a reply to message #35718] |
Tue, 18 May 2004 10:43 |
Eclipse User |
|
|
|
Originally posted by: delasoul.operamail.com
Hi Andy,
thank you for your answer.
In my ext dir I have the following jars:
dsns.jar
ldapsec.jar
localedata.jar
sunjce_provider.jar
I donŽt really know, if they are BCEL related.
If not can it come from somewhere else too?
delasoul
Andy Clement wrote:
> Hi,
> Regarding this error ...
> > 2 Internal compiler error
> > java.lang.NoSuchMethodError:
> >
>
org.apache.bcel.generic.InstructionFactory.createNewArray(Lo rg/apache/bcel/generic/Type;S)Lorg/apache/bcel/generic/Instr uction;
> > at
> That happens if you have a different version of BCEL somewhere on your
> system and it is being found before the one in AJDT 1.1.9. Please can you
> check in your jre/lib/ext directory under your Java SDK (the SDK you use
> to run Eclipse) - is there anything in there that could be BCEL related?
> Andy
> ---
> Andy Clement
> AJDT Development
|
|
|
|
|
|
Re: AJDT 1.1.9 available [message #580114 is a reply to message #36166] |
Wed, 26 May 2004 06:49 |
Eclipse User |
|
|
|
Originally posted by: delasoul.operamail.com
Hi Andy,
thanx for your help.
I updated from jdk1.4.1 to jdk1.4.2_04 and now my aspects work again.
Tank you again,
delasoul
Andy Clement wrote:
> I believe I have found out what is wrong here. Certain levels of certain
> JVMs have bcel classes in them, the old versions of the BCEL classes.
> AspectJ finds these old versions rather than the new ones it bundles and
> so it fails.
> These classes are not included in jars that you may have accidentally
> included in the jre/lib/ext directory but they are in core JVM jars that
> exist in jre/lib.
> Can you tell me the exact JVM you are using, i.e. the make, the version
> and the service refresh level (or date)?
> I think if you update your JVM to the latest version the problem will be
> fixed.
> cheers,
> Andy.
|
|
|
Powered by
FUDForum. Page generated in 0.03104 seconds