Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » ClassGenException after upgrade to 1.6.1
ClassGenException after upgrade to 1.6.1 [message #72066] Tue, 05 August 2008 14:27
Tom Duffey is currently offline Tom DuffeyFriend
Messages: 2
Registered: July 2009
Junior Member
Not sure if this is Spring, AspectJ or both but...Upgraded to AspectJ
1.6.1 and Spring 2.5.6 nightly build 576 and now my project doesn't build.
Getting pages and pages of output during build but I think this is the
relevant part:

[iajc] -- (ClassGenException) Do not attempt to modify the index for
this constant instruction: aload_0[42](size1)
[iajc] Do not attempt to modify the index for this constant
instruction: aload_0[42](size1)
[iajc] org.aspectj.apache.bcel.generic.ClassGenException: Do not
attempt to modify the index for this constant instruction:
aload_0[42](size1)
[iajc] at
org.aspectj.apache.bcel.generic.InstructionCLV.setIndex(Inst ructionCLV.java:19)
[iajc] at
org.aspectj.weaver.bcel.BcelClassWeaver.genInlineInstruction s(BcelClassWeaver.java:1949)
[iajc] at
org.aspectj.weaver.bcel.BcelClassWeaver.inlineMethod(BcelCla ssWeaver.java:1429)
[iajc] at
org.aspectj.weaver.bcel.BcelClassWeaver.inlineSelfConstructo rs(BcelClassWeaver.java:1352)
[iajc] at
org.aspectj.weaver.bcel.BcelClassWeaver.weave(BcelClassWeave r.java:502)
[iajc] at
org.aspectj.weaver.bcel.BcelClassWeaver.weave(BcelClassWeave r.java:105)
[iajc] at
org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:166 9)
[iajc] at
org.aspectj.weaver.bcel.BcelWeaver.weaveWithoutDump(BcelWeav er.java:1620)
[iajc] at
org.aspectj.weaver.bcel.BcelWeaver.weaveAndNotify(BcelWeaver .java:1393)
[iajc] at
org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:121 3)
[iajc] at
org.aspectj.ajdt.internal.compiler.AjPipeliningCompilerAdapt er.weaveQueuedEntries(AjPipeliningCompilerAdapter.java:454)
[iajc] at
org.aspectj.ajdt.internal.compiler.AjPipeliningCompilerAdapt er.queueForWeaving(AjPipeliningCompilerAdapter.java:391)
[iajc] at
org.aspectj.ajdt.internal.compiler.AjPipeliningCompilerAdapt er.afterProcessing(AjPipeliningCompilerAdapter.java:379)
[iajc] at
org.aspectj.ajdt.internal.compiler.CompilerAdapter.ajc$after $org_aspectj_ajdt_internal_compiler_CompilerAdapter$5$6b8551 84(CompilerAdapter.aj:98)
[iajc] at
org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.proce ss(Compiler.java:641)
[iajc] at
org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.compi le(Compiler.java:392)
[iajc] at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.perfor mCompilation(AjBuildManager.java:995)
[iajc] at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.doBuil d(AjBuildManager.java:269)
[iajc] at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchB uild(AjBuildManager.java:184)
[iajc] at
org.aspectj.ajdt.ajc.AjdtCommand.doCommand(AjdtCommand.java: 112)
[iajc] at
org.aspectj.ajdt.ajc.AjdtCommand.runCommand(AjdtCommand.java :60)
[iajc] at org.aspectj.tools.ajc.Main.run(Main.java:382)
[iajc] at org.aspectj.tools.ajc.Main.runMain(Main.java:254)
[iajc] at
org.aspectj.tools.ant.taskdefs.AjcTask.executeInSameVM(AjcTa sk.java:1307)
[iajc] at
org.aspectj.tools.ant.taskdefs.AjcTask.execute(AjcTask.java: 1105)
[iajc] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
[iajc] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
[iajc] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
[iajc] at java.lang.reflect.Method.invoke(Method.java:597)
[iajc] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
[iajc] at org.apache.tools.ant.Task.perform(Task.java:348)
[iajc] at org.apache.tools.ant.Target.execute(Target.java:357)
[iajc] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[iajc] at
org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
[iajc] at
org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
[iajc] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
[iajc] at
org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
[iajc] at org.apache.tools.ant.Main.runBuild(Main.java:698)
[iajc] at org.apache.tools.ant.Main.startAnt(Main.java:199)
[iajc] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[iajc] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Reverting back to AspectJ 1.6.0 seems to fix the problem.

Tom
Previous Topic:EMMA and AspectJ
Next Topic:ClassGenException after upgrade to 1.6.1
Goto Forum:
  


Current Time: Sat Nov 29 06:48:39 GMT 2014

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

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