commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@vafer.org>
Subject Re: [Javaflow]java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(ZZ)V
Date Wed, 08 Jun 2011 08:46:12 GMT
Wayne,

please read the thread again. It's ASM 3.2 as you can also see from the pom.xml

....and until you show the results of 'mvn clean test' here there
isn't much I can do for you.

cheers,
Torsten

On Wed, Jun 8, 2011 at 10:37, wayne <whwayne@gmail.com> wrote:
> I  use the latest version of Javaflow and add asm-all.3.0.jar to
> project classpath.
>
> No org.objectweb.asm.ClassWriter.<init>(ZZ)V
>
> but another exception is thrown.
>
> Buildfile: F:\jppfworkspace\application-template\build.xml
> clean:
>   [delete] Deleting directory F:\jppfworkspace\application-template\classes
>   [delete] Deleting directory
> F:\jppfworkspace\application-template\instrumentedclasses
> init:
>    [mkdir] Created dir: F:\jppfworkspace\application-template\classes
>    [mkdir] Created dir:
> F:\jppfworkspace\application-template\instrumentedclasses
> compile:
>    [javac] F:\jppfworkspace\application-template\build.xml:70:
> warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
>    [javac] Compiling 2 source files to
> F:\jppfworkspace\application-template\classes
> javaflow:
>  [javaflow] org.objectweb.asm.tree.analysis.AnalyzerException: Error
> at instruction 27: java.lang.ClassNotFoundException:
> org.jppf.application.template.TemplateApplicationRunner
>  [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.NativeMethodAccessorImpl.invoke0(Native Method)
>  [javaflow]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>  [javaflow]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>  [javaflow]     at java.lang.reflect.Method.invoke(Unknown Source)
>  [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:1399)
>  [javaflow]     at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
>  [javaflow]     at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>  [javaflow]     at
> org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
>  [javaflow]     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
>  [javaflow]     at
> org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
>  [javaflow]     at
> org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
>  [javaflow] Caused by: java.lang.RuntimeException:
> java.lang.ClassNotFoundException:
> org.jppf.application.template.TemplateApplicationRunner
>  [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.merge(Unknown Source)
>  [javaflow]     at org.objectweb.asm.tree.analysis.Frame.merge(Unknown Source)
>  [javaflow]     at org.objectweb.asm.tree.analysis.Analyzer.merge(Unknown Source)
>  [javaflow]     ... 25 more
>
> BUILD FAILED
> F:\jppfworkspace\application-template\build.xml:90:
> java.lang.IllegalArgumentException: Array local[] is shorter than
> nLocal
>
> Total time: 5 seconds.
>
>
> From Wayne
>
> 2011/6/8 Torsten Curdt <tcurdt@vafer.org>:
>>> Torsten, what is mvn clean test by the way?
>>
>> http://maven.apache.org/
>>
>> That's how you build javaflow ...and how you can run the tests.
>>
>> cheers,
>> Torsten
>> --
>> http://www.yourdailygeekery.com
>> http://www.torstencurdt.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>>
>>
>
>
>
> --
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>



-- 
http://www.yourdailygeekery.com
http://www.torstencurdt.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message