Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: Spoon does not launch at Win 7/64-bit

  1. #1
    Join Date
    Apr 2012
    Posts
    4

    Default Spoon does not launch at Win 7/64-bit

    Hi,

    I've downloaded pdi-ce-4.2.1-stable.zip.
    I run spoon.bat. It finds the environment variables correctly and launches launcher.jar.
    After launcher screen displayed a few seconds it disappears and nothing happens. Spoon application does not start.
    I increased the Xmx params but result is same.
    KETTLE_HOME seems blank? Am i missing something?

    Here is the last lines of the log.

    Code:
    C:\devtool\pdi-ce-4.2.1-stable\data-integration>REM ***************
    
    
    C:\devtool\pdi-ce-4.2.1-stable\data-integration>REM ** Run...    **
    
    
    C:\devtool\pdi-ce-4.2.1-stable\data-integration>REM ***************
    
    
    C:\devtool\pdi-ce-4.2.1-stable\data-integration>start "Spoon" "C:\Program Files\Java\jdk1.6.0_30\bin\javaw" "-Xmx512m" "-XX:MaxPermSize=256m" "-Djava.library.path=libswt\win64" "
    KETTLE_HOME=" "-DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT=" -jar launcher\launcher.jar -lib ..\libswt\win64
    Any ideas?

    Thanks a lot,

  2. #2
    Join Date
    Apr 2012
    Posts
    13

    Default

    Hi

    I m in the same situation as you. I work under vista 64bits. I downloaded the same version 4.2.1.
    They told me that to start this programme by double clicking on the file spoon.bat but it doesn't work for me.
    Here is a link that i tried but it didn't work for me.
    http://wiki.pentaho.com/display/EAI/Beginners+FAQ
    "Edit the Spoon.bat file and 1) replace in the last line "start javaw" with only "java" 2) add a "pause" in the next line 3) Save and try it again. Then you will get an error message and can analyze this with the following questions."

    I tried the solution above but didn't work for me.

    Hope it works for you.
    If it won't then i m waiting for a solution.
    Last edited by spatel; 04-12-2012 at 09:25 AM.

  3. #3
    Join Date
    Apr 2012
    Posts
    4

    Default

    Thanks a lot for your help.

    I could not check the logs because windows console is closing so quickly after the error occurs. I tried several pauses or redirecting the logs to a text file but could not succeed
    Also i checked spoon the logs at /user/appdata/... but they are all empty...
    I decided to run the spoon at linux environment. Now it is working well at centos.

    I will write the solution for windows if i find.
    Last edited by Sacunu; 04-13-2012 at 08:20 AM.

  4. #4
    Join Date
    Nov 2008
    Posts
    777

    Default

    Spoon runs fine for me on Windows 7 so I'm guessing there's an error you can't see because the window closes so quickly. Try adding a "pause" statement to the exit path of spoon.bat. Alternatively, you can redirect the output using " > out.txt" or " >> append.txt" at the end of the command line and examining the file after the window closes.

    http://blog.crankybit.com/redirectin...batch-scripts/
    pdi-ce-4.4.0-stable
    Java 1.7 (64 bit)
    MySQL 5.6 (64 bit)
    Windows 7 (64 bit)

  5. #5
    Join Date
    Apr 2012
    Posts
    4

    Default

    Thanks for your help. I checked the logs and the source code. I got the problem.

    My locale format was set to Turkish. It caused an encoding problem at below method. I set my locale format to English/US now it is working fine.

    I think it is better to throw an encoding error or something useful. Or encoding restrictions can be added to spoon.bat.


    at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:127)
    http://source.pentaho.org/viewvc/svn...e=text%2Fplain
    http://source.pentaho.org/viewvc/svn...e=text%2Fplain


    DEBUG: Using JAVA_HOME
    DEBUG: _PENTAHO_JAVA_HOME=C:\Program Files\Java\jdk1.6.0_30
    DEBUG: _PENTAHO_JAVA=C:\Program Files\Java\jdk1.6.0_30\bin\java


    C:\devtool\pdi-ce-4.2.1-stable\data-integration>"C:\Program Files\Java\jdk1.6.0_30\bin\java" "-Xmx512m" "-XX:MaxPermSize=256m" "-Djava.library.path=libswt\win64" "-DKETTLE_HOME=" "
    -DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT=" -jar launcher\launcher.jar -lib ..\libswt\win64
    INFO 16-04 00:34:10,822 - Spoon - Logging goes to file:///C:/Users/SERCAN~1/AppData/Local/Temp/spoon_9a5d4473-8781-11e1-8f15-49fac43c898b.log
    ERROR 16-04 00:34:11,757 - handler not found: W¦NDOW
    org.pentaho.ui.xul.XulException: java.lang.NullPointerException
    at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:127)
    at org.pentaho.ui.xul.swt.SwtXulLoader.loadXul(SwtXulLoader.java:112)
    at org.pentaho.ui.xul.swt.SwtXulLoader.loadXul(SwtXulLoader.java:106)
    at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:240)
    at org.pentaho.di.ui.spoon.Spoon.init(Spoon.java:695)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:536)
    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.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
    Caused by: java.lang.NullPointerException
    at org.pentaho.ui.xul.impl.XulParser.parseDocument(XulParser.java:77)
    at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:119)
    ... 10 more
    java.lang.NullPointerException
    at org.pentaho.di.ui.spoon.Spoon.init(Spoon.java:801)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:536)
    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.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
    ERROR 16-04 00:34:11,767 - Spoon - Fatal error : java.lang.NullPointerException
    ERROR 16-04 00:34:11,768 - Spoon - java.lang.NullPointerException
    at org.pentaho.di.ui.spoon.Spoon.init(Spoon.java:801)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:536)
    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.pentaho.commons.launcher.Launcher.main(Launcher.java:134)




    C:\devtool\pdi-ce-4.2.1-stable\data-integration>pause
    Press any key to continue . . .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.