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

Roo seems not to work with the latest OSX 10.7 Lion.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.1.5.RELEASE
    • Fix Version/s: None
    • Component/s: @ ROO SHELL
    • Labels:
      None
    • Environment:

      Description

      The first command to start a project fails.

      roo> script clinic.roo
      project --topLevelPackage com.springsource.petclinic
      Unable to obtain required element '/project/artifactId' from element '[project: null]'
      java.lang.IllegalArgumentException: Unable to obtain required element '/project/artifactId' from element '[project: null]'
      at org.springframework.roo.support.util.Assert.notNull(Assert.java:112)
      at org.springframework.roo.support.util.XmlUtils.findRequiredElement(XmlUtils.java:352)
      at org.springframework.roo.project.MavenOperationsImpl.createProject(MavenOperationsImpl.java:87)
      at org.springframework.roo.project.MavenCommands.createProject(MavenCommands.java:36)
      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:180)
      at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:143)
      at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47)
      at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:191)
      at org.springframework.roo.shell.AbstractShell.executeScriptLine(AbstractShell.java:131)
      at org.springframework.roo.shell.AbstractShell.script(AbstractShell.java:98)
      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:180)
      at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:143)
      at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47)
      at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:191)
      at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:374)
      at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:135)
      at java.lang.Thread.run(Thread.java:680)
      Script required 0 second(s) to execute
      Script execution aborted
      java.lang.IllegalStateException: Script execution aborted
      at org.springframework.roo.shell.AbstractShell.script(AbstractShell.java:103)
      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:180)
      at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:143)
      at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47)
      at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:191)
      at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:374)
      at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:135)
      at java.lang.Thread.run(Thread.java:680)

        Attachments

          Activity

            People

            • Assignee:
              stewarta Alan Stewart
              Reporter:
              dirk65mb Dirk Joosen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: