java.lang.NullPointerException while running jobs in Carte – Pentaho

When the filesystem repository is used for storing jobs and on that time if we try to execute the job in cluster or in remote master/slave then the kettle will through the following error.

java.lang.NullPointerException
    at org.pentaho.commons.launcher.Launcher.main (Launcher.java:134)
    at java.lang.reflect.Method.invoke (Method.java:597)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)
    at org.pentaho.di.ui.spoon.Spoon.main (Spoon.java:545)
    at org.pentaho.di.ui.spoon.Spoon.start (Spoon.java:6725)
    at org.pentaho.di.ui.spoon.Spoon.readAndDispatch (Spoon.java:1161)

It is expected to be fixed in the next release (after 4.1). The workaround is disconnect the repository by selecting Tools -> Repository -> Disconnect Repository (or Ctrl – D), then try running it to the remote server. It should work in this case. So once you have posted the job to carte then you can reconnect to the repository again.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.