Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Error with Carte

  1. #1

    Default Error with Carte

    Version: PDI 4.2.1-stable
    OS: Windows XP

    I have been successfully running my job locally in spoon and I am not trying to set it up to run on carte. I have got the carte running on my server and can view the web UI but when I try to run the job remotely through spoon I get the following error. I looked around the code a little bit and confirmed that my XML file is readable by my user. I also tried this on a completely different box and got the same error. Any thoughts?

    org.pentaho.di.core.exception.KettleException:
    java.lang.NullPointerException
    at org.pentaho.commons.launcher.Launcher.main (Launcher.java:134)
    at java.lang.reflect.Method.invoke (null:-1)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1)
    at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2)
    at org.pentaho.di.ui.spoon.Spoon.main (Spoon.java:553)
    at org.pentaho.di.ui.spoon.Spoon.start (Spoon.java:6945)
    at org.pentaho.di.ui.spoon.Spoon.readAndDispatch (Spoon.java:1169)
    at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1)
    at org.eclipse.swt.widgets.Display.runDeferredEvents (null:-1)
    at org.eclipse.swt.widgets.Widget.sendEvent (null:-1)
    at org.eclipse.swt.widgets.EventTable.sendEvent (null:-1)
    at org.eclipse.swt.widgets.TypedListener.handleEvent (null:-1)
    at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected (SwtToolbarbutton.java:83)
    at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton.access$100 (SwtToolbarbutton.java:36)
    at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:123)
    at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:139)
    at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke (AbstractXulDomContainer.java:329)
    at java.lang.reflect.Method.invoke (null:-1)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1)
    at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2)
    at org.pentaho.di.ui.spoon.job.JobGraph.runJob (JobGraph.java:3024)
    at org.pentaho.di.ui.spoon.Spoon.runFile (Spoon.java:7480)
    at org.pentaho.di.ui.spoon.Spoon.executeFile (Spoon.java:7506)
    at org.pentaho.di.ui.spoon.Spoon.executeJob (Spoon.java:7534)
    at org.pentaho.di.ui.spoon.delegates.SpoonJobDelegate.executeJob (SpoonJobDelegate.java:1459)
    at org.pentaho.di.job.Job.sendToSlaveServer (Job.java:1391)
    at org.pentaho.di.job.JobConfiguration.getXML (JobConfiguration.java:47)
    at org.pentaho.di.job.JobExecutionConfiguration.getXML (JobExecutionConfiguration.java:388)

    at org.pentaho.di.job.Job.sendToSlaveServer(Job.java:1414)
    at org.pentaho.di.ui.spoon.delegates.SpoonJobDelegate.executeJob(SpoonJobDelegate.java:1459)
    at org.pentaho.di.ui.spoon.Spoon.executeJob(Spoon.java:7534)
    at org.pentaho.di.ui.spoon.Spoon.executeFile(Spoon.java:7506)
    at org.pentaho.di.ui.spoon.Spoon.runFile(Spoon.java:7480)
    at org.pentaho.di.ui.spoon.job.JobGraph.runJob(JobGraph.java:3024)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329)
    at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139)
    at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123)
    at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton.access$100(SwtToolbarbutton.java:36)
    at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:83)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1169)
    at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6945)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
    Caused by: java.lang.NullPointerException
    at org.pentaho.di.job.JobExecutionConfiguration.getXML(JobExecutionConfiguration.java:388)
    at org.pentaho.di.job.JobConfiguration.getXML(JobConfiguration.java:47)
    at org.pentaho.di.job.Job.sendToSlaveServer(Job.java:1391)
    ... 27 more

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

    Default

    It was a bug with the file repository that has since been fixed in 4.3 and upward.
    Regardless, sharing a file repository across systems is not something I could recommend.

  3. #3

    Default

    What is your recommended best practice for testing jobs in a local environment and then pushing to a server for deployment. I considered using SVN / Git but that seemed a little too heavy weight but you did get revisioning.

    Jacob

Tags for this Thread

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.