java.lang.IllegalArgumentException: Invalid dependency between upstream 'MID:org.springframework.roo.addon.solr.SolrMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet' and downstream 'MID:org.springframework.roo.addon.tostring.ToStringMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet'

Spring JIRA | Stefan Schmidt | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    The 'solr all' command executed on the petclinic project produces the following stack trace: {code} ~.web roo> solr all Managed SRC_MAIN_JAVA/com/springsource/petclinic/domain/Visit.java [org.springframework.roo.wrapping.inflector [70]] BundleEvent STOPPED Managed SRC_MAIN_JAVA/com/springsource/petclinic/domain/Vet.java Managed SRC_MAIN_JAVA/com/springsource/petclinic/domain/Pet.java Managed SRC_MAIN_JAVA/com/springsource/petclinic/domain/Owner.java Managed SRC_MAIN_JAVA/com/springsource/petclinic/SolrSearchAsyncTaskExecutor.aj Created SRC_MAIN_JAVA/com/springsource/petclinic/domain/Pet_Roo_SolrSearch.aj Undo create SRC_MAIN_JAVA/com/springsource/petclinic/domain/Pet_Roo_SolrSearch.aj Undo manage SRC_MAIN_JAVA/com/springsource/petclinic/SolrSearchAsyncTaskExecutor.aj Undo manage SRC_MAIN_JAVA/com/springsource/petclinic/domain/Owner.java Undo manage SRC_MAIN_JAVA/com/springsource/petclinic/domain/Pet.java Undo manage SRC_MAIN_JAVA/com/springsource/petclinic/domain/Vet.java Undo manage SRC_MAIN_JAVA/com/springsource/petclinic/domain/Visit.java Invalid dependency between upstream 'MID:org.springframework.roo.addon.solr.SolrMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet' and downstream 'MID:org.springframework.roo.addon.tostring.ToStringMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet' java.lang.IllegalArgumentException: Invalid dependency between upstream 'MID:org.springframework.roo.addon.solr.SolrMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet' and downstream 'MID:org.springframework.roo.addon.tostring.ToStringMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet' at org.springframework.roo.support.util.Assert.isTrue(Assert.java:65) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.registerDependency(DefaultMetadataDependencyRegistry.java:61) at org.springframework.roo.addon.tostring.ToStringMetadataProvider.getMetadata(ToStringMetadataProvider.java:36) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:250) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:139) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:124) at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:179) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:244) 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.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:183) 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:162) at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:326) at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:119) at java.lang.Thread.run(Thread.java:637) {code}

    Spring JIRA | 6 years ago | Stefan Schmidt
    java.lang.IllegalArgumentException: Invalid dependency between upstream 'MID:org.springframework.roo.addon.solr.SolrMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet' and downstream 'MID:org.springframework.roo.addon.tostring.ToStringMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet'
  2. 0

    The 'solr all' command executed on the petclinic project produces the following stack trace: {code} ~.web roo> solr all Managed SRC_MAIN_JAVA/com/springsource/petclinic/domain/Visit.java [org.springframework.roo.wrapping.inflector [70]] BundleEvent STOPPED Managed SRC_MAIN_JAVA/com/springsource/petclinic/domain/Vet.java Managed SRC_MAIN_JAVA/com/springsource/petclinic/domain/Pet.java Managed SRC_MAIN_JAVA/com/springsource/petclinic/domain/Owner.java Managed SRC_MAIN_JAVA/com/springsource/petclinic/SolrSearchAsyncTaskExecutor.aj Created SRC_MAIN_JAVA/com/springsource/petclinic/domain/Pet_Roo_SolrSearch.aj Undo create SRC_MAIN_JAVA/com/springsource/petclinic/domain/Pet_Roo_SolrSearch.aj Undo manage SRC_MAIN_JAVA/com/springsource/petclinic/SolrSearchAsyncTaskExecutor.aj Undo manage SRC_MAIN_JAVA/com/springsource/petclinic/domain/Owner.java Undo manage SRC_MAIN_JAVA/com/springsource/petclinic/domain/Pet.java Undo manage SRC_MAIN_JAVA/com/springsource/petclinic/domain/Vet.java Undo manage SRC_MAIN_JAVA/com/springsource/petclinic/domain/Visit.java Invalid dependency between upstream 'MID:org.springframework.roo.addon.solr.SolrMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet' and downstream 'MID:org.springframework.roo.addon.tostring.ToStringMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet' java.lang.IllegalArgumentException: Invalid dependency between upstream 'MID:org.springframework.roo.addon.solr.SolrMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet' and downstream 'MID:org.springframework.roo.addon.tostring.ToStringMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet' at org.springframework.roo.support.util.Assert.isTrue(Assert.java:65) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.registerDependency(DefaultMetadataDependencyRegistry.java:61) at org.springframework.roo.addon.tostring.ToStringMetadataProvider.getMetadata(ToStringMetadataProvider.java:36) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:250) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:139) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:124) at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:179) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:244) 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.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:183) 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:162) at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:326) at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:119) at java.lang.Thread.run(Thread.java:637) {code}

    Spring JIRA | 6 years ago | Stefan Schmidt
    java.lang.IllegalArgumentException: Invalid dependency between upstream 'MID:org.springframework.roo.addon.solr.SolrMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet' and downstream 'MID:org.springframework.roo.addon.tostring.ToStringMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet'

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Invalid dependency between upstream 'MID:org.springframework.roo.addon.solr.SolrMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet' and downstream 'MID:org.springframework.roo.addon.tostring.ToStringMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet'

      at org.springframework.roo.support.util.Assert.isTrue()
    2. org.springframework.roo
      DefaultMetadataDependencyRegistry.registerDependency
      1. org.springframework.roo.support.util.Assert.isTrue(Assert.java:65)
      2. org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.registerDependency(DefaultMetadataDependencyRegistry.java:61)
      2 frames
    3. Spring Roo - Annotations (ASLv2 Licensed)
      ToStringMetadataProvider.getMetadata
      1. org.springframework.roo.addon.tostring.ToStringMetadataProvider.getMetadata(ToStringMetadataProvider.java:36)
      1 frame
    4. org.springframework.roo
      JLineShell.run
      1. org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:250)
      2. org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:139)
      3. org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:124)
      4. org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:179)
      5. org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:244)
      6. org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.onFileEvent(JavaParserMetadataProvider.java:138)
      7. org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:344)
      8. org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanNotified(PollingFileMonitorService.java:217)
      9. org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:183)
      10. org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:140)
      11. org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47)
      12. org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:162)
      13. org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:326)
      14. org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:119)
      14 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:637)
      1 frame