Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-2346

Exception being thrown when the method to set an embeded ID is implemented in the governor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Complete
    • Affects Version/s: 1.1.3.RELEASE
    • Fix Version/s: 1.1.4.RELEASE
    • Component/s: TESTING
    • Labels:
      None

      Description

      The following Stack trace is output in the Shell when the setEmbeddedId method is implemented in the DataOnDemand java class.

      Method 'setEmbeddedId' already defined in target type 'com.iquo.igneous.brokersystem.server.domain.working.client.ClientDataOnDemand' (ITD target 'com.iquo.igneous.brokersystem.server.domain.working.client.ClientDataOnDemand_Roo_DataOnDemand')
      java.lang.IllegalArgumentException: Method 'setEmbeddedId' already defined in target type 'com.iquo.igneous.brokersystem.server.domain.working.client.ClientDataOnDemand' (ITD target 'com.iquo.igneous.brokersystem.server.domain.working.client.ClientDataOnDemand_Roo_DataOnDemand')
      at org.springframework.roo.support.util.Assert.isNull(Assert.java:89)
      at org.springframework.roo.classpath.details.ItdTypeDetailsBuilder.onAddMethod(ItdTypeDetailsBuilder.java:84)
      at org.springframework.roo.classpath.details.AbstractMemberHoldingTypeDetailsBuilder.addMethod(AbstractMemberHoldingTypeDetailsBuilder.java:138)
      at org.springframework.roo.classpath.details.AbstractMemberHoldingTypeDetailsBuilder.addMethod(AbstractMemberHoldingTypeDetailsBuilder.java:156)
      at org.springframework.roo.addon.dod.DataOnDemandMetadata.<init>(DataOnDemandMetadata.java:136)

        Attachments

          Activity

            People

            Assignee:
            stewarta Alan Stewart
            Reporter:
            draw David Wilkinson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: