Skip to content

Instantly share code, notes, and snippets.

@ProjectMoon
Created June 24, 2011 14:39
Show Gist options
  • Save ProjectMoon/1044901 to your computer and use it in GitHub Desktop.
Save ProjectMoon/1044901 to your computer and use it in GitHub Desktop.
Javaflow build errors
[javaflow] org.objectweb.asm.tree.analysis.AnalyzerException: Error at instruction 4: java.lang.ClassNotFoundException: eve.statements.loop.WhileLoop
[javaflow] at org.objectweb.asm.tree.analysis.Analyzer.analyze(Unknown Source)
[javaflow] at org.apache.commons.javaflow.bytecode.transformation.asm.ContinuationMethodAnalyzer$2.analyze(ContinuationMethodAnalyzer.java:128)
[javaflow] at org.apache.commons.javaflow.bytecode.transformation.asm.ContinuationMethodAnalyzer.visitEnd(ContinuationMethodAnalyzer.java:139)
[javaflow] at org.objectweb.asm.ClassReader.accept(Unknown Source)
[javaflow] at org.objectweb.asm.ClassReader.accept(Unknown Source)
[javaflow] at org.apache.commons.javaflow.bytecode.transformation.asm.AsmClassTransformer.transform(AsmClassTransformer.java:49)
[javaflow] at org.apache.commons.javaflow.bytecode.transformation.asm.AsmClassTransformer.transform(AsmClassTransformer.java:41)
[javaflow] at org.apache.commons.javaflow.utils.RewritingUtils.rewriteClassFile(RewritingUtils.java:60)
[javaflow] at org.apache.commons.javaflow.ant.AntRewriteTask.execute(AntRewriteTask.java:140)
[javaflow] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
[javaflow] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[javaflow] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[javaflow] at java.lang.reflect.Method.invoke(Method.java:597)
[javaflow] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[javaflow] at org.apache.tools.ant.Task.perform(Task.java:348)
[javaflow] at org.apache.tools.ant.Target.execute(Target.java:390)
[javaflow] at org.apache.tools.ant.Target.performTasks(Target.java:411)
[javaflow] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
[javaflow] at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
[javaflow] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[javaflow] at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
[javaflow] at org.apache.tools.ant.Main.runBuild(Main.java:801)
[javaflow] at org.apache.tools.ant.Main.startAnt(Main.java:218)
[javaflow] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
[javaflow] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
[javaflow] Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: eve.statements.loop.WhileLoop
[javaflow] at org.apache.commons.javaflow.bytecode.transformation.asm.ContinuationMethodAnalyzer$1.getClass(ContinuationMethodAnalyzer.java:113)
[javaflow] at org.objectweb.asm.tree.analysis.SimpleVerifier.isAssignableFrom(Unknown Source)
[javaflow] at org.objectweb.asm.tree.analysis.SimpleVerifier.isSubTypeOf(Unknown Source)
[javaflow] at org.objectweb.asm.tree.analysis.BasicVerifier.binaryOperation(Unknown Source)
[javaflow] at org.objectweb.asm.tree.analysis.Frame.execute(Unknown Source)
[javaflow] at org.apache.commons.javaflow.bytecode.transformation.asm.MonitoringFrame.execute(MonitoringFrame.java:72)
[javaflow] ... 25 more
org.apache.bcel.generic.ClassGenException: Branch target offset too large for short
at org.apache.bcel.generic.BranchInstruction.dump(BranchInstruction.java:65)
at org.apache.bcel.generic.InstructionList.getByteCode(InstructionList.java:940)
at org.apache.bcel.generic.MethodGen.getMethod(MethodGen.java:615)
at org.apache.commons.javaflow.bytecode.transformation.bcel.BcelClassTransformer.doTransform(BcelClassTransformer.java:233)
at org.apache.commons.javaflow.bytecode.transformation.bcel.BcelClassTransformer.transform(BcelClassTransformer.java:153)
at org.apache.commons.javaflow.utils.RewritingUtils.rewriteClassFile(RewritingUtils.java:60)
at org.apache.commons.javaflow.ant.AntRewriteTask.execute(AntRewriteTask.java:140)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
at org.apache.tools.ant.Main.runBuild(Main.java:801)
at org.apache.tools.ant.Main.startAnt(Main.java:218)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
at eve.core.EveObject.invoke(EveObject.java)
at eve.scope.ScopeManager$CoroutineRunner.run(ScopeManager.java:329)
at org.apache.commons.javaflow.bytecode.StackRecorder.execute(StackRecorder.java:104)
at org.apache.commons.javaflow.Continuation.continueWith(Continuation.java:172)
at org.apache.commons.javaflow.Continuation.continueWith(Continuation.java:141)
at eve.scope.ScopeManager.invokeCoroutine(ScopeManager.java:353)
at eve.statements.expressions.ResumeExpression.execute(ResumeExpression.java:25)
at eve.core.Script.execute(Script.java:39)
at eve.core.EveCore.run(EveCore.java:119)
at eve.core.EveCore.run(EveCore.java:104)
at eve.core.EveCore.main(EveCore.java:220)
Exception in thread "main" java.lang.ClassCastException: eve.core.Function cannot be cast to eve.core.EveObject
at eve.core.EveObject.invoke(EveObject.java)
at eve.scope.ScopeManager$CoroutineRunner.run(ScopeManager.java:329)
at org.apache.commons.javaflow.bytecode.StackRecorder.execute(StackRecorder.java:104)
at org.apache.commons.javaflow.Continuation.continueWith(Continuation.java:172)
at org.apache.commons.javaflow.Continuation.continueWith(Continuation.java:141)
at eve.scope.ScopeManager.invokeCoroutine(ScopeManager.java:353)
at eve.statements.expressions.ResumeExpression.execute(ResumeExpression.java:25)
at eve.core.Script.execute(Script.java:39)
at eve.core.EveCore.run(EveCore.java:119)
at eve.core.EveCore.run(EveCore.java:104)
at eve.core.EveCore.main(EveCore.java:220)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment