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

assertion error after pushing method of converter creation in *Controller.java

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0.M2
    • Fix Version/s: 1.1.0.M2
    • Component/s: WEB MVC
    • Labels:
      None
    • Environment:
      1.1.0.M2 [rev ac300fd]

      Description

      [FelixDispatchQueue] Method 'getCategoryConverter' already defined in target type 'xxx.SubCategoryController' (ITD target 'xxx.SubCategoryController_Roo_Controller')
                           java.lang.IllegalArgumentException: Method 'getCategoryConverter' already defined in target type 'xxx.SubCategoryController' (ITD target 'xxx.SubCategory
      Controller_Roo_Controller')
                               at org.springframework.roo.support.util.Assert.isNull(Assert.java:89)
                               at org.springframework.roo.classpath.details.DefaultItdTypeDetailsBuilder.addMethod(DefaultItdTypeDetailsBuilder.java:96)
                               at org.springframework.roo.addon.web.mvc.controller.WebScaffoldMetadata.getRegisterConvertersMethod(WebScaffoldMetadata.java:729)
                               at org.springframework.roo.addon.web.mvc.controller.WebScaffoldMetadata.<init>(WebScaffoldMetadata.java:123)
                               at org.springframework.roo.addon.web.mvc.controller.WebScaffoldMetadataProviderImpl.getMetadata(WebScaffoldMetadataProviderImpl.java:77)
                               at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:261)
                               at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:126)
                               at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:170)
                               at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:262)
                               at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.onFileEvent(JavaParserMetadataProvider.java:124)
                               at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:346)
                               at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:320)
                               at org.springframework.roo.process.manager.internal.DefaultFileManager.notify(DefaultFileManager.java:189)
                               at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:276)
                               at org.springframework.roo.addon.maven.MavenProjectMetadataProvider.onFileEvent(MavenProjectMetadataProvider.java:509)
                               at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:346)
                               at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:320)
                               at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:36)
                               at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:15)
                               at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:169)
                               at org.springframework.roo.process.manager.internal.DefaultProcessManager.completeStartup(DefaultProcessManager.java:91)
                               at org.springframework.roo.process.manager.internal.DefaultProcessManager$1.frameworkEvent(DefaultProcessManager.java:62)
                               at org.apache.felix.framework.util.EventDispatcher.invokeFrameworkListenerCallback(EventDispatcher.java:767)
                               at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:724)
                               at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:942)
                               at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)
                               at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106)
                               at java.lang.Thread.run(Thread.java:619)

        Attachments

          Activity

            People

            Assignee:
            sschmidt Stefan Schmidt
            Reporter:
            dzmitry Dzmitry Barouka
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: