Hitachi Vantara Pentaho Community Forums
Results 1 to 10 of 10

Thread: 3.0.0RC1, spoon 'disappears' with debug

  1. #1

    Default 3.0.0RC1, spoon 'disappears' with debug

    Hi,
    When I use the new debugging, spoon closes without any warnings, (win xp). This has practically happened every time on different steps. Has this happened to anyone else?

    When I run a transformation in spoon on 3.0.0RC1, how can I get spoon to save the server.log file?


    Thanks,
    A

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    Open up spoon.bat in a text editor, remove the start from the last line and start spoon from the command line, you should be able to see what causes the problem.

    Regards,
    Sven

  3. #3

    Default

    Removed the start from last line and used command line and spoon disappeared with no errors in command window.

  4. #4
    Join Date
    May 2006
    Posts
    4,882

    Default

    mmm... what is your JDK version?

    Regards,
    Sven

  5. #5

    Default

    Doing java -version on command prompt gave me:
    java version "1.6.0_02"
    Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
    Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode, sharing)

  6. #6
    Join Date
    May 2006
    Posts
    4,882

    Default

    Do the java -version right before the actual execution in spoon.bat... you may be amazed

    Regards,
    Sven

  7. #7

    Default

    Sven,
    Did that, same version.
    I am assuming I'll have to downgrade to 1.5.0. (2.5.1 works just fine!)

    Thanks!

  8. #8
    Join Date
    May 2006
    Posts
    4,882

    Default

    at least try downgrading or upgrading to the very last version of JDK6... normally it should work with 6 as well, but there are reports that some version of the JDK are not that to run spoon with.

    Regards,
    Sven

  9. #9
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    I think you need to change "javaw" to "java".
    Also, to view the stack trace, you need to place a "pause" command after the last line.

    Please do send us the stack trace so we can file a proper bug. I'm really interested.

    Matt

  10. #10

    Default

    Hey Matt,
    1. Changed javaw to java
    2. Added pause at last line
    Stack trace:

    ERROR 07-10 12:59:15,906 (LogWriter.javarintln:399) -Spoon - An unexpected error occurred in Spoon:
    Failed to execute runnable (java.lang.NullPointerException)
    ERROR 07-10 12:59:15,906 (LogWriter.javarintln:399) -Spoon - org.eclipse.swt.
    SWTException: Failed to execute runnable (java.lang.NullPointerException)
    at org.eclipse.swt.SWT.error(Unknown Source)
    at org.eclipse.swt.SWT.error(Unknown Source)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)

    at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:811)
    at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5378)
    at org.pentaho.di.ui.spoon.Spoon.run(Spoon.java:5457)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:359)
    Caused by: java.lang.NullPointerException
    at org.pentaho.di.ui.core.dialog.PreviewRowsDialog.open(PreviewRowsDialog.java:163)
    at org.pentaho.di.ui.spoon.trans.TransLog$16.run(TransLog.java:901)
    at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
    ... 7 more

    INFO 07-10 12:59:16,015 (LogWriter.javarintln:402) -Spoon - Spoon has ended.
    Press any key to continue . . .

    Hope this gives you more info.
    Thanks,
    A

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.