Announcement Announcement Module
Collapse
No announcement yet.
Roo shell fail from begining in windows 7 64 -- java.lang.NullPointerException Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Roo shell fail from begining in windows 7 64 -- java.lang.NullPointerException

    Hello Martin Lippert, I try the last version of roo in windows 7 ultimate 64, I can't use it, help me please, this is the error:

    Microsoft Windows [Versión 6.1.7601] Please wait - still loading
    Copyright (c) 2009 Microsoft Corporation. Reservados todos los derechos.

    C:\Users\Franco>roo
    ____ ____ ____
    / __ \/ __ \/ __ \
    / /_/ / / / / / / /
    / _, _/ /_/ / /_/ /
    /_/ |_|\____/\____/ 1.2.1.RELEASE [rev 6eae723]


    Welcome to Spring Roo. For assistance press TAB or tyPlease wait - still loading
    roo> hint
    ERROR: Bundle org.springframework.roo.process.manager [54] EventDispatcher: Erro
    r during dispatch. (java.lang.NullPointerException)
    java.lang.NullPointerException
    at org.springframework.roo.process.manager.internal.D efaultProcessManage
    r.logException(DefaultProcessManager.java:264)
    at org.springframework.roo.process.manager.internal.D efaultProcessManage
    r.completeStartup(DefaultProcessManager.java:146)
    at org.springframework.roo.process.manager.internal.D efaultProcessManage
    r.access$100(DefaultProcessManager.java:35)
    at org.springframework.roo.process.manager.internal.D efaultProcessManage
    r$1.frameworkEvent(DefaultProcessManager.java:68)
    at org.apache.felix.framework.util.EventDispa
    erCallback(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.j
    ava:949)
    at org.apache.felix.framework.util.EventDispatcher.ac cess$000(EventDispa
    tcher.java:54)
    at org.apache.felix.framework.util.EventDispatcher$1. run(EventDispatcher
    .java:106)
    at java.lang.Thread.run(Unknown Source)
    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>
    roo> exit

    C:\Users\Franco>set
    ALLUSERSPROFILE=C:\ProgramData
    APPDATA=C:\Users\Franco\AppData\Roaming
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    CommonProgramW6432=C:\Program Files\Common Files
    COMPUTERNAME=FRANCO-PC
    ComSpec=C:\Windows\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Users\Franco
    JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_25
    JAVA_JRE=C:\Program Files (x86)\Java\jre6
    LOCALAPPDATA=C:\Users\Franco\AppData\Local
    LOGONSERVER=\\FRANCO-PC
    M2_HOME=C:\springsource\apache-maven-3.0.3
    NUMBER_OF_PROCESSORS=2
    OS=Windows_NT
    Path="C:\Program Files\Common Files\Microsoft Shared\Windows Live";C:\Windows\sy
    stem32;C:\Windows;C:\Windows\System32\Wbem;C:\Wind ows\System32\WindowsPowerShell
    \v1.0\;C:\springsource\apache-maven-3.0.3\bin;C:\Program Files (x86)\MySQL\MySQL
    Server 5.5\bin;C:\springsource\spring-roo-1.2.1.RELEASE\bin;C:\Program Files\Ja
    va\jdk1.6.0_25\bin;C:\Program Files\Java\jre6\bin;C:\Program Files (x86)\Java\jd
    k1.6.0_25\bin;C:\Program Files (x86)\Java\jre6\bin;C:\springsource\apache-maven-
    3.0.3\bin
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WS F;.WSH;.MSC
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 15 Stepping 13, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=0f0d
    ProgramData=C:\ProgramData
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    ProgramW6432=C:\Program Files
    PROMPT=$P$G
    PSModulePath=C:\Windows\system32\WindowsPowerShell \v1.0\Modules\
    PUBLIC=C:\Users\Public
    ROO_HOME=C:\springsource\spring-roo-1.2.1.RELEASE
    SESSIONNAME=Console
    SystemDrive=C:
    SystemRoot=C:\Windows
    TEMP=C:\Users\Franco\AppData\Local\Temp
    TMP=C:\Users\Franco\AppData\Local\Temp
    USERDOMAIN=Franco-PC
    USERNAME=Franco
    USERPROFILE=C:\Users\Franco
    windir=C:\Windows
    windows_tracing_flags=3
    windows_tracing_logfile=C:\BVTBin\Tests\installpac kage\csilogfile.log

    thank for your answer!!!

  • #2
    Hey!

    I moved this question over to the Roo forum, since it looks like you are running Spring Roo from the command line and that doesn't work as expected. Therefore I think the Roo forum is the better place to ask this... :-)

    Cheers,
    -Martin

    Comment

    Working...
    X