java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I got the following error while trying to compile a script at runtime with the latest groovy (1.0-beta-10-SNAPSHOT): Exception in thread "Timer-0" java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V at org.codehaus.groovy.classgen.AsmClassGenerator.visitClass(AsmClassGenerator.java:272) at org.codehaus.groovy.control.CompilationUnit$5.call(CompilationUnit.java:564) at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:822) at org.codehaus.groovy.control.CompilationUnit.classgen(CompilationUnit.java:525) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:432) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:235) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:204) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:199) at asrs.barcode.manager.impl.CachingBarcodeProcessorManager.getProcessor(CachingBarcodeProcessorManager.java:83) at asrs.barcode.manager.impl.CachingBarcodeProcessorManager.compileScript(CachingBarcodeProcessorManager.java:75) at asrs.barcode.manager.impl.CachingBarcodeProcessorManager.fileCreated(CachingBarcodeProcessorManager.java:61) at asrs.dm.DirectoryScanner.run(DirectoryScanner.java:96) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) 2005-02-25 11:47:18,195 [BarcodeHandlerImpl:49] WARN - Couldn't locate processor for form-type MBENFM and version 1.0 2005-02-25 11:47:18,195 [BarcodeHandlerImpl:51] WARN - Sleeping 60000(ms) ... 2005-02-25 11:48:18,195 [BarcodeHandlerImpl:49] WARN - Couldn't locate processor for form-type MBENFM and version 1.0 2005-02-25 11:48:18,195 [BarcodeHandlerImpl:51] WARN - Sleeping 60000(ms) ... 2005-02-25 11:49:18,195 [BarcodeHandlerImpl:49] WARN - Couldn't locate processor for form-type MBENFM and version 1.0 2005-02-25 11:49:18,195 [BarcodeHandlerImpl:51] WARN - Sleeping 60000(ms) ...
    via by Nicholaus Shupe,
  • I got the following error while trying to compile a script at runtime with the latest groovy (1.0-beta-10-SNAPSHOT): Exception in thread "Timer-0" java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V at org.codehaus.groovy.classgen.AsmClassGenerator.visitClass(AsmClassGenerator.java:272) at org.codehaus.groovy.control.CompilationUnit$5.call(CompilationUnit.java:564) at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:822) at org.codehaus.groovy.control.CompilationUnit.classgen(CompilationUnit.java:525) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:432) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:235) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:204) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:199) at asrs.barcode.manager.impl.CachingBarcodeProcessorManager.getProcessor(CachingBarcodeProcessorManager.java:83) at asrs.barcode.manager.impl.CachingBarcodeProcessorManager.compileScript(CachingBarcodeProcessorManager.java:75) at asrs.barcode.manager.impl.CachingBarcodeProcessorManager.fileCreated(CachingBarcodeProcessorManager.java:61) at asrs.dm.DirectoryScanner.run(DirectoryScanner.java:96) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) 2005-02-25 11:47:18,195 [BarcodeHandlerImpl:49] WARN - Couldn't locate processor for form-type MBENFM and version 1.0 2005-02-25 11:47:18,195 [BarcodeHandlerImpl:51] WARN - Sleeping 60000(ms) ... 2005-02-25 11:48:18,195 [BarcodeHandlerImpl:49] WARN - Couldn't locate processor for form-type MBENFM and version 1.0 2005-02-25 11:48:18,195 [BarcodeHandlerImpl:51] WARN - Sleeping 60000(ms) ... 2005-02-25 11:49:18,195 [BarcodeHandlerImpl:49] WARN - Couldn't locate processor for form-type MBENFM and version 1.0 2005-02-25 11:49:18,195 [BarcodeHandlerImpl:51] WARN - Sleeping 60000(ms) ...
    via by Nicholaus Shupe,
    • java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V at org.codehaus.groovy.classgen.AsmClassGenerator.visitClass(AsmClassGenerator.java:272) at org.codehaus.groovy.control.CompilationUnit$5.call(CompilationUnit.java:564) at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:822) at org.codehaus.groovy.control.CompilationUnit.classgen(CompilationUnit.java:525) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:432) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:235) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:204) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:199) at asrs.barcode.manager.impl.CachingBarcodeProcessorManager.getProcessor(CachingBarcodeProcessorManager.java:83) at asrs.barcode.manager.impl.CachingBarcodeProcessorManager.compileScript(CachingBarcodeProcessorManager.java:75) at asrs.barcode.manager.impl.CachingBarcodeProcessorManager.fileCreated(CachingBarcodeProcessorManager.java:61) at asrs.dm.DirectoryScanner.run(DirectoryScanner.java:96) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462)
    No Bugmate found.