java.lang.IllegalArgumentException: Project metadata required

Spring JIRA | Andrew Swan | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    When I tried to create the project structure "{{(root) -> core -> subcore}}", the shell threw this error: {code}java.lang.IllegalArgumentException: Project metadata required at org.springframework.roo.support.util.Assert.notNull(Assert.java:112) at org.springframework.roo.project.ApplicationContextOperationsImpl.createMiddleTierApplicationContext(ApplicationContextOperationsImpl.java:34) at org.springframework.roo.project.MavenOperationsImpl.createModule(MavenOperationsImpl.java:88) at org.springframework.roo.project.MavenCommands.createModule(MavenCommands.java:82) 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:183) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:146) 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 | Andrew Swan
    java.lang.IllegalArgumentException: Project metadata required
  2. 0

    When I tried to create the project structure "{{(root) -> core -> subcore}}", the shell threw this error: {code}java.lang.IllegalArgumentException: Project metadata required at org.springframework.roo.support.util.Assert.notNull(Assert.java:112) at org.springframework.roo.project.ApplicationContextOperationsImpl.createMiddleTierApplicationContext(ApplicationContextOperationsImpl.java:34) at org.springframework.roo.project.MavenOperationsImpl.createModule(MavenOperationsImpl.java:88) at org.springframework.roo.project.MavenCommands.createModule(MavenCommands.java:82) 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:183) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:146) 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 | Andrew Swan
    java.lang.IllegalArgumentException: Project metadata required

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Project metadata required

      at org.springframework.roo.support.util.Assert.notNull()
    2. org.springframework.roo
      MavenCommands.createModule
      1. org.springframework.roo.support.util.Assert.notNull(Assert.java:112)
      2. org.springframework.roo.project.ApplicationContextOperationsImpl.createMiddleTierApplicationContext(ApplicationContextOperationsImpl.java:34)
      3. org.springframework.roo.project.MavenOperationsImpl.createModule(MavenOperationsImpl.java:88)
      4. org.springframework.roo.project.MavenCommands.createModule(MavenCommands.java:82)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. org.springframework.roo
      JLineShell.run
      1. org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191)
      2. org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:49)
      3. org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:183)
      4. org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:146)
      5. org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47)
      6. org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:204)
      7. org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:403)
      8. org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:158)
      8 frames