java.lang.IllegalArgumentException: Upstream dependency is an invalid metadata identification string ('null')

Spring JIRA | Ludovic Claude | 6 years ago
  1. 0

    Hello, I'm using the latest Roo from the git repository. I run the command roo-dev script master.roo where master.roo contains: project --topLevelPackage com.myapp --projectName selfcare-war --java 6 persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY enum type --class ~.domain.CivilityEnum enum constant --name SIR enum constant --name MADAM enum constant --name MISS entity --class ~.domain.AccountCreation field enum --fieldName civility --type CivilityEnum field string --fieldName firstName --notNull --sizeMax 30 field string --fieldName lastName --notNull --sizeMax 30 field date --fieldName birthDate --type java.util.Date ... controller all --package ~.web This script fails with an exception on a fresh project. Roo 1.1.0 RELEASE works well on the same project. Created SRC_MAIN_WEBAPP/WEB-INF/web.xml Managed SRC_MAIN_WEBAPP/WEB-INF/web.xml Managed ROOT/pom.xml [Added dependency org.springframework:spring-web:${spring.version}] Managed ROOT/pom.xml [Added dependency org.springframework:spring-webmvc:${spring.version}] Managed ROOT/pom.xml [Added dependency org.springframework.webflow:spring-js-resources:2.2.0.RELEASE] Managed ROOT/pom.xml [Added dependency commons-digester:commons-digester:2.0] Managed ROOT/pom.xml [Added dependency commons-fileupload:commons-fileupload:1.2.1] Managed ROOT/pom.xml [Added dependency javax.servlet:jstl:1.2] Managed ROOT/pom.xml [Added dependency javax.el:el-api:1.0] Managed ROOT/pom.xml [Added dependency joda-time:joda-time:1.6] Managed ROOT/pom.xml [Added dependency javax.servlet.jsp:jsp-api:2.1] Managed ROOT/pom.xml Created SRC_MAIN_JAVA/com/...ServiceFactoryBean.java Managed SRC_MAIN_WEBAPP/WEB-INF/spring/webmvc-config.xml Undo manage SRC_MAIN_WEBAPP/WEB-INF/spring/webmvc-config.xml Undo create SRC_MAIN_JAVA/com/lbpoker/selfcare/web/ApplicationConversionServiceFactoryBean.java Undo manage ROOT/pom.xml Undo manage SRC_MAIN_WEBAPP/WEB-INF/web.xml Undo create SRC_MAIN_WEBAPP/WEB-INF/web.xml Undo manage SRC_MAIN_WEBAPP/WEB-INF/views/menu.jspx ... Undo create SRC_MAIN_JAVA/com/lbpoker/selfcare/web Upstream dependency is an invalid metadata identification string ('null') java.lang.IllegalArgumentException: Upstream dependency is an invalid metadata identification string ('null') at org.springframework.roo.support.util.Assert.isTrue(Assert.java:65) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.isValidDependency(DefaultMetadataDependencyRegistry.java:138) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.registerDependency(DefaultMetadataDependencyRegistry.java:61) at org.springframework.roo.addon.web.mvc.controller.ConversionServiceMetadataProviderImpl.registerDependencies(ConversionServiceMetadataProviderImpl.java:112) at org.springframework.roo.addon.web.mvc.controller.ConversionServiceMetadataProviderImpl.getMetadata(ConversionServiceMetadataProviderImpl.java:54) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:251) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:139) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:125) at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:179) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:262) at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.onFileEvent(JavaParserMetadataProvider.java:138) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:344) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanNotified(PollingFileMonitorService.java:217) at org.springframework.roo.process.manager.internal.DefaultFileManager.scan(DefaultFileManager.java:195) at org.springframework.roo.addon.web.mvc.controller.ConversionServiceOperationsImpl.installConversionService(ConversionServiceOperationsImpl.java:56) at org.springframework.roo.addon.web.mvc.controller.ControllerOperationsImpl.createAutomaticController(ControllerOperationsImpl.java:120) at org.springframework.roo.addon.web.mvc.controller.ControllerOperationsImpl.generateAll(ControllerOperationsImpl.java:76) at org.springframework.roo.addon.web.mvc.controller.ControllerCommands.generateAll(ControllerCommands.java:52) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Please wait - still loading at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. [org.springframework.roo.process.manager [55]] ServiceEvent UNREGISTERING at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:49) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:177) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:140) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:165) at org.springframework.roo.shell.AbstractShell.executeScriptLine(AbstractShell.java:106) at org.springframework.roo.shell.AbstractShell.script(AbstractShell.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:49) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:177) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:140) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:165) at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:123) at java.lang.Thread.run(Thread.java:662) Script execution aborted java.lang.IllegalStateException: Script execution aborted at org.springframework.roo.shell.AbstractShell.script(AbstractShell.java:89) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:49) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:177) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:140) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:165) at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:123) at java.lang.Thread.run(Thread.java:662)

    Spring JIRA | 6 years ago | Ludovic Claude
    java.lang.IllegalArgumentException: Upstream dependency is an invalid metadata identification string ('null')
  2. 0

    Hello, I'm using the latest Roo from the git repository. I run the command roo-dev script master.roo where master.roo contains: project --topLevelPackage com.myapp --projectName selfcare-war --java 6 persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY enum type --class ~.domain.CivilityEnum enum constant --name SIR enum constant --name MADAM enum constant --name MISS entity --class ~.domain.AccountCreation field enum --fieldName civility --type CivilityEnum field string --fieldName firstName --notNull --sizeMax 30 field string --fieldName lastName --notNull --sizeMax 30 field date --fieldName birthDate --type java.util.Date ... controller all --package ~.web This script fails with an exception on a fresh project. Roo 1.1.0 RELEASE works well on the same project. Created SRC_MAIN_WEBAPP/WEB-INF/web.xml Managed SRC_MAIN_WEBAPP/WEB-INF/web.xml Managed ROOT/pom.xml [Added dependency org.springframework:spring-web:${spring.version}] Managed ROOT/pom.xml [Added dependency org.springframework:spring-webmvc:${spring.version}] Managed ROOT/pom.xml [Added dependency org.springframework.webflow:spring-js-resources:2.2.0.RELEASE] Managed ROOT/pom.xml [Added dependency commons-digester:commons-digester:2.0] Managed ROOT/pom.xml [Added dependency commons-fileupload:commons-fileupload:1.2.1] Managed ROOT/pom.xml [Added dependency javax.servlet:jstl:1.2] Managed ROOT/pom.xml [Added dependency javax.el:el-api:1.0] Managed ROOT/pom.xml [Added dependency joda-time:joda-time:1.6] Managed ROOT/pom.xml [Added dependency javax.servlet.jsp:jsp-api:2.1] Managed ROOT/pom.xml Created SRC_MAIN_JAVA/com/...ServiceFactoryBean.java Managed SRC_MAIN_WEBAPP/WEB-INF/spring/webmvc-config.xml Undo manage SRC_MAIN_WEBAPP/WEB-INF/spring/webmvc-config.xml Undo create SRC_MAIN_JAVA/com/lbpoker/selfcare/web/ApplicationConversionServiceFactoryBean.java Undo manage ROOT/pom.xml Undo manage SRC_MAIN_WEBAPP/WEB-INF/web.xml Undo create SRC_MAIN_WEBAPP/WEB-INF/web.xml Undo manage SRC_MAIN_WEBAPP/WEB-INF/views/menu.jspx ... Undo create SRC_MAIN_JAVA/com/lbpoker/selfcare/web Upstream dependency is an invalid metadata identification string ('null') java.lang.IllegalArgumentException: Upstream dependency is an invalid metadata identification string ('null') at org.springframework.roo.support.util.Assert.isTrue(Assert.java:65) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.isValidDependency(DefaultMetadataDependencyRegistry.java:138) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.registerDependency(DefaultMetadataDependencyRegistry.java:61) at org.springframework.roo.addon.web.mvc.controller.ConversionServiceMetadataProviderImpl.registerDependencies(ConversionServiceMetadataProviderImpl.java:112) at org.springframework.roo.addon.web.mvc.controller.ConversionServiceMetadataProviderImpl.getMetadata(ConversionServiceMetadataProviderImpl.java:54) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:251) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:139) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:125) at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:179) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:262) at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.onFileEvent(JavaParserMetadataProvider.java:138) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:344) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanNotified(PollingFileMonitorService.java:217) at org.springframework.roo.process.manager.internal.DefaultFileManager.scan(DefaultFileManager.java:195) at org.springframework.roo.addon.web.mvc.controller.ConversionServiceOperationsImpl.installConversionService(ConversionServiceOperationsImpl.java:56) at org.springframework.roo.addon.web.mvc.controller.ControllerOperationsImpl.createAutomaticController(ControllerOperationsImpl.java:120) at org.springframework.roo.addon.web.mvc.controller.ControllerOperationsImpl.generateAll(ControllerOperationsImpl.java:76) at org.springframework.roo.addon.web.mvc.controller.ControllerCommands.generateAll(ControllerCommands.java:52) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Please wait - still loading at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. [org.springframework.roo.process.manager [55]] ServiceEvent UNREGISTERING at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:49) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:177) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:140) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:165) at org.springframework.roo.shell.AbstractShell.executeScriptLine(AbstractShell.java:106) at org.springframework.roo.shell.AbstractShell.script(AbstractShell.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:49) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:177) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:140) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:165) at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:123) at java.lang.Thread.run(Thread.java:662) Script execution aborted java.lang.IllegalStateException: Script execution aborted at org.springframework.roo.shell.AbstractShell.script(AbstractShell.java:89) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:49) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:177) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:140) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:165) at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:123) at java.lang.Thread.run(Thread.java:662)

    Spring JIRA | 6 years ago | Ludovic Claude
    java.lang.IllegalArgumentException: Upstream dependency is an invalid metadata identification string ('null')
  3. 0

    Using Roo 1.1.1 snapshot, I'm getting this exception: controller scaffold --class ~.web.ChangeUserDataController --entity ~.domain.ChangeUserData --disallowedOperations update,delete [...] controller all --package ~.web SRC_MAIN_JAVA/com/myapp/web/ChangeUserDataController.java already exists java.lang.IllegalArgumentException: SRC_MAIN_JAVA/com/lbpoker/selfcare/web/ChangeUserDataController.java already exists at org.springframework.roo.support.util.Assert.isTrue(Assert.java:65) at org.springframework.roo.classpath.operations.ClasspathOperationsImpl.generateClassFile(ClasspathOperationsImpl.java:119) at org.springframework.roo.addon.web.mvc.controller.ControllerOperationsImpl.createAutomaticController(ControllerOperationsImpl.java:116) at org.springframework.roo.addon.web.mvc.controller.ControllerOperationsImpl.generateAll(ControllerOperationsImpl.java:75) at org.springframework.roo.addon.web.mvc.controller.ControllerCommands.generateAll(ControllerCommands.java:52) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:49) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:177) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:140) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:165) at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:358) at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:132) at java.lang.Thread.run(Thread.java:662) This seems to contradict the documentation... roo> help controller all Keyword: controller all Description: Scaffold a controller for all entities without an existing controlle,

    Spring JIRA | 6 years ago | Ludovic Claude
    java.lang.IllegalArgumentException: SRC_MAIN_JAVA/com/lbpoker/selfcare/web/ChangeUserDataController.java already exists
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using Roo 1.1.1 snapshot, I'm getting this exception: controller scaffold --class ~.web.ChangeUserDataController --entity ~.domain.ChangeUserData --disallowedOperations update,delete [...] controller all --package ~.web SRC_MAIN_JAVA/com/myapp/web/ChangeUserDataController.java already exists java.lang.IllegalArgumentException: SRC_MAIN_JAVA/com/lbpoker/selfcare/web/ChangeUserDataController.java already exists at org.springframework.roo.support.util.Assert.isTrue(Assert.java:65) at org.springframework.roo.classpath.operations.ClasspathOperationsImpl.generateClassFile(ClasspathOperationsImpl.java:119) at org.springframework.roo.addon.web.mvc.controller.ControllerOperationsImpl.createAutomaticController(ControllerOperationsImpl.java:116) at org.springframework.roo.addon.web.mvc.controller.ControllerOperationsImpl.generateAll(ControllerOperationsImpl.java:75) at org.springframework.roo.addon.web.mvc.controller.ControllerCommands.generateAll(ControllerCommands.java:52) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:49) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:177) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:140) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:165) at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:358) at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:132) at java.lang.Thread.run(Thread.java:662) This seems to contradict the documentation... roo> help controller all Keyword: controller all Description: Scaffold a controller for all entities without an existing controlle,

    Spring JIRA | 6 years ago | Ludovic Claude
    java.lang.IllegalArgumentException: SRC_MAIN_JAVA/com/lbpoker/selfcare/web/ChangeUserDataController.java already exists
  6. 0

    Since Git commit 91b7f045137b3d244ed730a7962a3f44d5098e4e (for ROO-120), DBRE gives the following error when attempting to reverse engineer a database: {code} roo> database reverse engineer --schema "roo2424 roo2425" --package ~.domain 0420398 Created SRC_MAIN_RESOURCES/dbre.xml fe0ade3 Updated ROOT/pom.xml 7425e2d Updated SRC_MAIN_RESOURCES/META-INF/persistence.xml Metadata identification string 'null' does not identify a metadata instance java.lang.IllegalArgumentException: Metadata identification string 'null' does not identify a metadata instance at org.springframework.roo.support.util.Assert.isTrue(Assert.java:65) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:87) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:83) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:219) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.getPhysicalTypeMetadata(DbreDatabaseListenerImpl.java:568) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.getIdentifierType(DbreDatabaseListenerImpl.java:546) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.manageIdentifier(DbreDatabaseListenerImpl.java:374) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.createNewManagedEntityFromTable(DbreDatabaseListenerImpl.java:323) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.reverseEngineer(DbreDatabaseListenerImpl.java:152) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.deserializeDatabase(DbreDatabaseListenerImpl.java:112) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.onFileEvent(DbreDatabaseListenerImpl.java:91) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:350) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanNotified(PollingFileMonitorService.java:231) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:193) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:147) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:204) at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:403) at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:158) at java.lang.Thread.run(Thread.java:680) {code}

    Spring JIRA | 5 years ago | Alan Stewart
    java.lang.IllegalArgumentException: Metadata identification string 'null' does not identify a metadata instance

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Upstream dependency is an invalid metadata identification string ('null')

      at org.springframework.roo.support.util.Assert.isTrue()
    2. org.springframework.roo
      ControllerCommands.generateAll
      1. org.springframework.roo.support.util.Assert.isTrue(Assert.java:65)
      2. org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.isValidDependency(DefaultMetadataDependencyRegistry.java:138)
      3. org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.registerDependency(DefaultMetadataDependencyRegistry.java:61)
      4. org.springframework.roo.addon.web.mvc.controller.ConversionServiceMetadataProviderImpl.registerDependencies(ConversionServiceMetadataProviderImpl.java:112)
      5. org.springframework.roo.addon.web.mvc.controller.ConversionServiceMetadataProviderImpl.getMetadata(ConversionServiceMetadataProviderImpl.java:54)
      6. org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:251)
      7. org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:139)
      8. org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:125)
      9. org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:179)
      10. org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:262)
      11. org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.onFileEvent(JavaParserMetadataProvider.java:138)
      12. org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:344)
      13. org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanNotified(PollingFileMonitorService.java:217)
      14. org.springframework.roo.process.manager.internal.DefaultFileManager.scan(DefaultFileManager.java:195)
      15. org.springframework.roo.addon.web.mvc.controller.ConversionServiceOperationsImpl.installConversionService(ConversionServiceOperationsImpl.java:56)
      16. org.springframework.roo.addon.web.mvc.controller.ControllerOperationsImpl.createAutomaticController(ControllerOperationsImpl.java:120)
      17. org.springframework.roo.addon.web.mvc.controller.ControllerOperationsImpl.generateAll(ControllerOperationsImpl.java:76)
      18. org.springframework.roo.addon.web.mvc.controller.ControllerCommands.generateAll(ControllerCommands.java:52)
      18 frames