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

Wrong Error Message (java.lang.IncompatibleClassChangeError) for Undefined Variable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-JSR-5
    • 1.0-RC-1
    • class generator
    • None
    • Groovy Version: 1.0-jsr-05 JVM: 1.4.2_05-b04

    Description

      By executing the code below

      class Test {

      static void main(args)

      { manualDir = new File("foo") }

      }

      the following error occurs:

      Caught: java.lang.IncompatibleClassChangeError
      at Test.main(Test.groovy:5)

      According to Mittie, this is a wrong error message.

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            mguillemot@yahoo.fr Marc Guillemot
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: