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

NPE (NullPOinterException) while starting Roo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.2.1.RELEASE
    • Fix Version/s: 1.2.2.RELEASE
    • Component/s: @ ROO SHELL
    • Labels:
      None
    • Environment:
      Windows Vista/ JDK Hotspot 1.7.0_02/ Roo 1.2.1

      Description

      While starting Roo shell, typing hint in roo prompt throws NullPointerException (after waiting for long time). Subsequent commands do not show any error.

      Exception
      =============

      Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
      roo> hint
      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:722)

      Welcome to Roo! We hope you enjoy your stay!
      ............
      ............

      roo> hint
      Welcome to Roo! We hope you enjoy your stay!
      ...........
      ...........
      roo>

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stewarta Alan Stewart
              Reporter:
              dipdatta Dipankar Datta
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: