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

BUG! exception in phase 'semantic analysis'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1-beta-3
    • 1.1-rc-1
    • None
    • None
    • Mac OS 10.4.10, Java 1.5.0_07-87
      Running groovy embedded in an app

    Description

      This happens only on Mac OS & Apple Java, not on Win32 (Sun or JRockit), not on Suse Linux (Sun JDK). We use Groovy embedded into a large J2EE-app, so I cannot provide a meaningful test case (loads of dependencies in the script on the environment classes).

      Caused by: BUG! exception in phase 'semantic analysis' in source unit 'com/pvs/pmm/domainmodel/services/XlsImport.groovy' null
      at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:789)
      at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:448)
      at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:290)
      at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:260)
      at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:255)
      at groovy.util.GroovyScriptEngine.updateCacheEntry(GroovyScriptEngine.java:355)
      at groovy.util.GroovyScriptEngine.run(GroovyScriptEngine.java:404)
      at com.pvs.groovy.GroovyEngine.runScript(GroovyEngine.java:61)

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            lenzmann Olaf Lenzmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: