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 […]