Results 1 to 2 of 2

Thread: NPE while starting Roo

  1. #1
    Join Date
    Apr 2012
    Posts
    2

    Default NPE while starting Roo

    Hello

    I have experience with Spring/Java, but new to Roo. I tried to run Roo today but getting NPE even before creating a project. My machine details : Windows Vista/ JDK Hotspot 1.7.0_02/ Roo 1.2.1

    Google says Roo had some problem with JDK 1.7, but that seems to be fixed in V1.2.0. Incidentally, this error happens only first time, subsequent commands don't show any error (I tried only a few). Also, if I use any console emulator (I normally use console2, which internally uses cmd.exe), roo just hangs indefinitely. Any idea why this is happening?


    The Exception
    ==============


    ____ ____ ____
    / __ \/ __ \/ __ \
    / /_/ / / / / / / /
    / _, _/ /_/ / /_/ /
    /_/ |_|\____/\____/ 1.2.1.RELEASE [rev 6eae723]


    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.D efaultProcessManager.logException(DefaultProcessMa nager.java:264)
    at org.springframework.roo.process.manager.internal.D efaultProcessManager.completeStartup(DefaultProces sManager.java:146)
    at org.springframework.roo.process.manager.internal.D efaultProcessManager.access$100(DefaultProcessMana ger.java:35)
    at org.springframework.roo.process.manager.internal.D efaultProcessManager$1.frameworkEvent(DefaultProce ssManager.java:68)
    at org.apache.felix.framework.util.EventDispatcher.in vokeFrameworkListenerCallback(EventDispatcher.java :774)
    at org.apache.felix.framework.util.EventDispatcher.fi reEventImmediately(EventDispatcher.java:725)
    at org.apache.felix.framework.util.EventDispatcher.ru n(EventDispatcher.java:949)
    at org.apache.felix.framework.util.EventDispatcher.ac cess$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!
    Before you can use many features of Roo, you need to start a new project.
    To do this, type 'project' (without the quotes) and then hit TAB.

    Enter a --topLevelPackage like 'com.mycompany.projectname' (no quotes).
    When you've finished completing your --topLevelPackage, press ENTER.
    Your new project will then be created in the current working directory.

    Note that Roo frequently allows the use of TAB, so press TAB regularly.
    Once your project is created, type 'hint' and ENTER for the next suggestion.
    You're also welcome to visit http://forum.springframework.org for Roo help.

    roo>
    Last edited by dipdatta; Apr 2nd, 2012 at 01:14 PM.

  2. #2
    Join Date
    Apr 2012
    Posts
    2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •