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

VerifyError when debugging Groovy core tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 1.8-beta-3
    • Compiler
    • None

    Description

      For many test classes in package org.codehaus.groovy.classgen, I get a VerifyError when trying to debug them in IDEA 10. Examples:

      org.codehaus.groovy.classgen.ForTest:

      java.lang.VerifyError: (class: org/codehaus/groovy/ast/builder/AstBuilderTransformation, method: <clinit> signature: ()V) Attempt to split long or double on the stack
      	at java.lang.Class.getDeclaredConstructors0(Native Method)
      	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
      	at java.lang.Class.getConstructor0(Class.java:2699)
      	at java.lang.Class.newInstance0(Class.java:326)
      	at java.lang.Class.newInstance(Class.java:308)
      	at org.codehaus.groovy.transform.ASTTransformationVisitor.addPhaseOperationsForGlobalTransforms(ASTTransformationVisitor.java:299)
      	at org.codehaus.groovy.transform.ASTTransformationVisitor.doAddGlobalTransforms(ASTTransformationVisitor.java:266)
      	at org.codehaus.groovy.transform.ASTTransformationVisitor.addGlobalTransforms(ASTTransformationVisitor.java:187)
      	at org.codehaus.groovy.transform.ASTTransformationVisitor.addPhaseOperations(ASTTransformationVisitor.java:150)
      	at org.codehaus.groovy.control.CompilationUnit.<init>(CompilationUnit.java:184)
      	at org.codehaus.groovy.control.CompilationUnit.<init>(CompilationUnit.java:113)
      	at groovy.lang.GroovyClassLoader.createCompilationUnit(GroovyClassLoader.java:480)
      	at groovy.lang.GroovyClassLoader.defineClass(GroovyClassLoader.java:177)
      	at org.codehaus.groovy.classgen.TestSupport.loadClass(TestSupport.java:96)
      	at org.codehaus.groovy.classgen.ForTest.testNonLoop(ForTest.java:73)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at com.intellij.junit3.JUnit3IdeaTestRunner.doRun(JUnit3IdeaTestRunner.java:109)
      	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:65)
      

      org.codehaus.groovy.classgen.CastTest:

      Exception in thread "main" java.lang.VerifyError: (class: groovy/util/GroovyShellTestCase, method: <clinit> signature: ()V) Attempt to split long or double on the stack
      	at java.lang.Class.forName0(Native Method)
      	at java.lang.Class.forName(Class.java:169)
      	at com.intellij.junit3.TestRunnerUtil.loadTestClass(TestRunnerUtil.java:152)
      	at com.intellij.junit3.TestRunnerUtil.createClassOrMethodSuite(TestRunnerUtil.java:105)
      	at com.intellij.junit3.TestRunnerUtil.getTestSuite(TestRunnerUtil.java:79)
      	at com.intellij.junit3.JUnit3IdeaTestRunner.startRunnerWithArgs(JUnit3IdeaTestRunner.java:41)
      	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:196)
      	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:65)
      

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            pniederw Peter Niederwieser
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: