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

Roo shell should support multi module projects with <version /> specified only in parent pom

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.2.1.RELEASE
    • 1.3.0.RELEASE
    • @ ROO SHELL
    • None
    • Ubuntu 11.10

    Description

      When starting Roo shell with a multi module project where the <version /> is specified only in the parent pom, a NullPointerException is thrown at startup. Roo should support projects where the <version /> is only specified in the parent pom.

      The obvious workaround is to specify <version /> in each module.

      Here is the output of the Roo shell startup :

      
      

      Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
      roo> ERROR: Bundle org.springframework.roo.process.manager [54] EventDispatcher: Error during dispatch. (java.lang.NullPointerException)
      java.lang.NullPointerException
      at org.springframework.roo.process.manager.internal.DefaultProcessManager.logException(DefaultProcessManager.java:264)
      at org.springframework.roo.process.manager.internal.DefaultProcessManager.completeStartup(DefaultProcessManager.java:146)
      at org.springframework.roo.process.manager.internal.DefaultProcessManager.access$100(DefaultProcessManager.java:35)
      at org.springframework.roo.process.manager.internal.DefaultProcessManager$1.frameworkEvent(DefaultProcessManager.java:68)
      at org.apache.felix.framework.util.EventDispatcher.invokeFrameworkListenerCallback(EventDispatcher.java:774)
      at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:725)
      at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:949)
      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:679)

      {/code}

      Attachments

        Activity

          People

            jcgarcia Juan Carlos GarcĂ­a del Canto
            gehel Guillaume Lederrey
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: