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

Class generation regression in 3.0.5-ss: This method should not have been called

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.5
    • 4.0.0-alpha-1, 3.0.5, 2.5.16
    • None
    • None

    Description

      Compiling grails-core master branch on 3.0.5-SNAPSHOT I noticed a regression since 3.0.4 -

       Execution failed for task ':grails-web-databinding:compileGroovy'. > BUG! exception in phase 'class generation' in source unit '/Users/erichelgeson/source/grails-core/grails-web-databinding/src/main/groovy/grails/web/databinding/GrailsWebDataBinder.groovy' At line 541 column 33 On receiver: obj with message: getAt and arguments: propName This method should not have been called. Please try to create a simple example reproducing this error and file a bug report at https://issues.apache.org/jira/browse/GROOVY 

      Offending line in grails-core here: https://github.com/grails/grails-core/blob/master/grails-web-databinding/src/main/groovy/grails/web/databinding/GrailsWebDataBinder.groovy#L541

      I am unsure how to recreate a concise reproducible bug from this so I ran a git bisect and found this to be the commit that introduced the error: https://issues.apache.org/jira/browse/GROOVY-9344 / https://github.com/apache/groovy/commit/fafa3c60f3beaec71298e1e95bc27f83ccea5e1e - I also validated it by reverting the commit and re-testing.

      Attachments

        Activity

          People

            emilles Eric Milles
            erichelgeson Eric Helgeson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m