Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-752

java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.0-beta-8, 1.0-beta-9, 1.0-beta-10
    • 1.0-JSR-2
    • class generator
    • None
    • Windows 2000

      asm 1.5.2

      java version "1.5.0_01"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
      Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode, sharing)

      Eclipse 3.1M5a

    Description

      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) ...

      Attachments

        Activity

          People

            jstrachan James Strachan
            enonu Nicholaus Shupe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: