Grails
  1. Grails
  2. GRAILS-8205

Issue compiler error when groovy.transform.Canonical is used on domain class

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0-RC1
    • Fix Version/s: 2.4-M1
    • Component/s: Project infrastructure
    • Labels:
    • Environment:
      Windows XP SP3, JDK 1.6.0_29

      Description

      When starting console in an application that has a domain class annotated with @Canonical the following error occurs:

      Compiling 37 source files
      Compiling 11 source files.....
      Error Error executing script Console: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsApplication': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.codehaus.groovy.grails.commons.DefaultGrailsApplication]: Constructor threw exception; nested exception is java.lang.ClassFormatError: Duplicate method name&signature in class file Person (Use --stacktrace to s
      ee the full trace)

        Activity

        Matthias Hryniszak created issue -
        Graeme Rocher made changes -
        Field Original Value New Value
        Fix Version/s 2.0.1 [ 13005 ]
        Burt Beckwith made changes -
        Workflow Grails2 [ 70526 ] jira [ 71213 ]
        Burt Beckwith made changes -
        Workflow jira [ 71213 ] Grails2 [ 79280 ]
        Graeme Rocher made changes -
        Priority Major [ 3 ] Critical [ 2 ]
        Graeme Rocher made changes -
        Assignee Graeme Rocher [ graemerocher ]
        Graeme Rocher made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Peter Ledbrook made changes -
        Last Reviewed 01/Jan/10
        Peter Ledbrook made changes -
        Workflow Grails2 [ 79280 ] jira [ 87878 ]
        Peter Ledbrook made changes -
        Workflow jira [ 87878 ] Grails2 [ 96074 ]
        Graeme Rocher made changes -
        Fix Version/s 2.0.2 [ 13064 ]
        Fix Version/s 2.0.1 [ 13005 ]
        Graeme Rocher made changes -
        Fix Version/s 2.0.3 [ 13094 ]
        Fix Version/s 2.0.2 [ 13064 ]
        Graeme Rocher made changes -
        Fix Version/s 2.0.4 [ 13099 ]
        Fix Version/s 2.0.3 [ 13094 ]
        Jeff Scott Brown made changes -
        Fix Version/s 2.2 [ 13093 ]
        Fix Version/s 2.0.4 [ 13099 ]
        Graeme Rocher made changes -
        Fix Version/s 2.3 [ 13311 ]
        Fix Version/s 2.2-RC1 [ 13093 ]
        Graeme Rocher made changes -
        Fix Version/s 2.3-M2 [ 13457 ]
        Fix Version/s 2.3-M1 [ 13311 ]
        Graeme Rocher made changes -
        Fix Version/s 2.3-RC1 [ 13458 ]
        Fix Version/s 2.3-M2 [ 13457 ]
        Graeme Rocher made changes -
        Fix Version/s 2.3-RC2 [ 13482 ]
        Fix Version/s 2.3-RC1 [ 13458 ]
        Graeme Rocher made changes -
        Fix Version/s 2.3.1 [ 13502 ]
        Fix Version/s 2.3-RC2 [ 13482 ]
        Graeme Rocher made changes -
        Status In Progress [ 3 ] Open [ 1 ]
        Graeme Rocher made changes -
        Fix Version/s 2.3.2 [ 13518 ]
        Fix Version/s 2.3.1 [ 13502 ]
        Graeme Rocher made changes -
        Fix Version/s 2.3.3 [ 13521 ]
        Fix Version/s 2.3.2 [ 13518 ]
        Graeme Rocher made changes -
        Fix Version/s 2.3.4 [ 13522 ]
        Fix Version/s 2.3.3 [ 13521 ]
        Graeme Rocher made changes -
        Summary Error starting Grails console if domain class is annotated with groovy.transform.Canonical Issue compiler error when groovy.transform.Canonical is used on domain class
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Assignee Graeme Rocher [ graemerocher ] Jeff Scott Brown [ brownj ]
        Fix Version/s 2.4 [ 13506 ]
        Fix Version/s 2.3.4 [ 13522 ]
        Jeff Scott Brown made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Jeff Scott Brown made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Jeff Scott Brown made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Jeff Scott Brown made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Fix Version/s 2.4-M1 [ 13551 ]
        Fix Version/s 2.4 [ 13506 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Jeff Scott Brown
            Reporter:
            Matthias Hryniszak
          • Votes:
            7 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Last Reviewed:

              Development