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

1.7 error importing groovy scripts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.7.1
    • None
    • class generator
    • None
    • Groovy Version: 1.7.1 JVM: 1.6.0_11 (Windows installer version)

    Description

      Following error when importing a script:

      Caught: BUG! exception in phase 'class generation' in source unit 'C:\F\miner\xx.groovy' ClassNode#getTypeClass for xxutil is called before the type class is set

      This works fine in 1.6. I've attached very simple test scripts, xx.groovy, the main script and xxutil.groovy the imported script.

      This is a major issue for me because I have many scripts that are failing under 1.7.

      Attachments

        1. xxutil.groovy
          0.1 kB
          Buster Hymen
        2. xx.groovy
          0.1 kB
          Buster Hymen

        Issue Links

          Activity

            People

              roshandawrani Roshan Dawrani
              buster Buster Hymen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: