java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • To reproduce: Create a new transformation, drop a new Generate Rows step on the canvas, then try to open it. java.lang.NullPointerException at org.pentaho.di.ui.core.widget.TableView.optWidth(TableView.java:2270) at org.pentaho.di.ui.core.widget.TableView.optWidth(TableView.java:2242) at org.pentaho.di.ui.core.widget.TableView.<init>(TableView.java:1075) at org.pentaho.di.ui.core.widget.TableView.<init>(TableView.java:186) at org.pentaho.di.ui.trans.steps.rowgenerator.RowGeneratorDialog.open(RowGeneratorDialog.java:263) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:137) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8057) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2854) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:716) 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:1273) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7254) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8529) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:605) 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:115)
    via by Curtis Boyden,
  • To reproduce: Create a new transformation, drop a new Generate Rows step on the canvas, then try to open it. java.lang.NullPointerException at org.pentaho.di.ui.core.widget.TableView.optWidth(TableView.java:2270) at org.pentaho.di.ui.core.widget.TableView.optWidth(TableView.java:2242) at org.pentaho.di.ui.core.widget.TableView.<init>(TableView.java:1075) at org.pentaho.di.ui.core.widget.TableView.<init>(TableView.java:186) at org.pentaho.di.ui.trans.steps.rowgenerator.RowGeneratorDialog.open(RowGeneratorDialog.java:263) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:137) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8057) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2854) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:716) 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:1273) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7254) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8529) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:605) 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:115)
    via by Curtis Boyden,
  • when I make a mistake in the User Defined java class, such as a syntax error in the java (but I'm not entirely sure what causes this) I get on closing the message "Unable to open dialog for this step" and the details present the following stack trace: {noformat} java.lang.NullPointerException at org.pentaho.di.trans.steps.userdefinedjavaclass.StepDefinition.clone(StepDefinition.java:36) at org.pentaho.di.trans.steps.userdefinedjavaclass.UserDefinedJavaClassMeta.clone(UserDefinedJavaClassMeta.java:263) at org.pentaho.di.trans.step.StepMeta.replaceMeta(StepMeta.java:476) at org.pentaho.di.trans.step.StepMeta.clone(StepMeta.java:464) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:131) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7756) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2756) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:705) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:195) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1183) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6968) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:567) 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) 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 apple.launcher.LaunchRunner.run(LaunchRunner.java:116) at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51) at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52) {noformat} The step can't be opened after this, because it comes up with the same error and so does not let the user correct what ever is wrong.
    via by Kaj Kandler,
  • In the User Definined Java Class step, if you define a target step tag, but do not associate a Step with the tag, and click OK the step throws a Null Pointer Exception and you can no longer edit the step. 1, Add a User Defined Java Class to the transformation. 2. Edit the UDJC and Click the Target Steps tab. No need to write any code. 3. Add a target step specifying the tag, but do not select a step. 4. Click OK. 5. You will get the error below, and never be able to edit the step again. java.lang.NullPointerException at org.pentaho.di.trans.steps.userdefinedjavaclass.StepDefinition.clone(StepDefinition.java:50) at org.pentaho.di.trans.steps.userdefinedjavaclass.UserDefinedJavaClassMeta.clone(UserDefinedJavaClassMeta.java:270) at org.pentaho.di.trans.step.StepMeta.replaceMeta(StepMeta.java:540) at org.pentaho.di.trans.step.StepMeta.clone(StepMeta.java:531) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:131) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8195) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2952) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:720) 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:1227) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7368) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8673) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:625) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
    via by Chris Deptula,
  • After saving, closing and re-loading a transformation, the edit dialog box for the multiway merge join no longer works, and you get an "Unable to open dialog for this step" error message in an "Oops" window. The code still works okay - running the transformation still gives the previous result - however you can no longer edit the join. Information from the "Details" button of the error dialog: {noformat} java.lang.NullPointerException at org.pentaho.di.ui.trans.steps.multimerge.MultiMergeJoinDialog.getData(MultiMergeJoinDialog.java:480) at org.pentaho.di.ui.trans.steps.multimerge.MultiMergeJoinDialog.open(MultiMergeJoinDialog.java:189) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:124) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8797) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:3027) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:744) 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:1316) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7979) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9310) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654) 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:92) {noformat}
    via by Tom Simpson,
  • When clicking on the ETL Metadata Injector step I get following error message: "Unable to open dialog for this step" WARN 28-05 17:17:24,198 - could not parse [vertical] as Align value WARN 28-05 17:17:24,695 - Cannot overlay element with id [trans] as it does not exist in the target document. WARN 28-05 17:17:24,701 - Cannot overlay element with id [job] as it does not exist in the target document. java.lang.NullPointerException at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.refreshTree(MetaInjectDialog.java:817) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.getData(MetaInjectDialog.java:650) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.open(MetaInjectDialog.java:456) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:126) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7631) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2747) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:696) 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:6843) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) java.lang.NullPointerException at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.refreshTree(MetaInjectDialog.java:817) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.getData(MetaInjectDialog.java:650) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.open(MetaInjectDialog.java:456) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:126) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7631) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2747) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:696) 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:6843) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) java.lang.NullPointerException at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.refreshTree(MetaInjectDialog.java:817) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.getData(MetaInjectDialog.java:650) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.open(MetaInjectDialog.java:456) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:126) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7631) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2747) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:696) 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:6843) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) java.lang.NullPointerException at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.refreshTree(MetaInjectDialog.java:817) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.getData(MetaInjectDialog.java:650) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.open(MetaInjectDialog.java:456) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:126) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7631) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2747) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:696) 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:6843) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
    via by Diethard Steiner,
  • When clicking on the ETL Metadata Injector step I get following error message: "Unable to open dialog for this step" WARN 28-05 17:17:24,198 - could not parse [vertical] as Align value WARN 28-05 17:17:24,695 - Cannot overlay element with id [trans] as it does not exist in the target document. WARN 28-05 17:17:24,701 - Cannot overlay element with id [job] as it does not exist in the target document. java.lang.NullPointerException at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.refreshTree(MetaInjectDialog.java:817) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.getData(MetaInjectDialog.java:650) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.open(MetaInjectDialog.java:456) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:126) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7631) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2747) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:696) 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:6843) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) java.lang.NullPointerException at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.refreshTree(MetaInjectDialog.java:817) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.getData(MetaInjectDialog.java:650) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.open(MetaInjectDialog.java:456) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:126) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7631) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2747) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:696) 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:6843) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) java.lang.NullPointerException at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.refreshTree(MetaInjectDialog.java:817) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.getData(MetaInjectDialog.java:650) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.open(MetaInjectDialog.java:456) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:126) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7631) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2747) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:696) 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:6843) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) java.lang.NullPointerException at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.refreshTree(MetaInjectDialog.java:817) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.getData(MetaInjectDialog.java:650) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.open(MetaInjectDialog.java:456) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:126) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7631) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2747) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:696) 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:6843) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
    via by Diethard Steiner,
  • when I make a mistake in the User Defined java class, such as a syntax error in the java (but I'm not entirely sure what causes this) I get on closing the message "Unable to open dialog for this step" and the details present the following stack trace: {noformat} java.lang.NullPointerException at org.pentaho.di.trans.steps.userdefinedjavaclass.StepDefinition.clone(StepDefinition.java:36) at org.pentaho.di.trans.steps.userdefinedjavaclass.UserDefinedJavaClassMeta.clone(UserDefinedJavaClassMeta.java:263) at org.pentaho.di.trans.step.StepMeta.replaceMeta(StepMeta.java:476) at org.pentaho.di.trans.step.StepMeta.clone(StepMeta.java:464) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:131) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7756) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2756) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:705) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:195) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1183) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6968) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:567) 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) 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 apple.launcher.LaunchRunner.run(LaunchRunner.java:116) at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51) at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52) {noformat} The step can't be opened after this, because it comes up with the same error and so does not let the user correct what ever is wrong.
    via by Kaj Kandler,
  • In the User Definined Java Class step, if you define a target step tag, but do not associate a Step with the tag, and click OK the step throws a Null Pointer Exception and you can no longer edit the step. 1, Add a User Defined Java Class to the transformation. 2. Edit the UDJC and Click the Target Steps tab. No need to write any code. 3. Add a target step specifying the tag, but do not select a step. 4. Click OK. 5. You will get the error below, and never be able to edit the step again. java.lang.NullPointerException at org.pentaho.di.trans.steps.userdefinedjavaclass.StepDefinition.clone(StepDefinition.java:50) at org.pentaho.di.trans.steps.userdefinedjavaclass.UserDefinedJavaClassMeta.clone(UserDefinedJavaClassMeta.java:270) at org.pentaho.di.trans.step.StepMeta.replaceMeta(StepMeta.java:540) at org.pentaho.di.trans.step.StepMeta.clone(StepMeta.java:531) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:131) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8195) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2952) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:720) 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:1227) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7368) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8673) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:625) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
    via by Chris Deptula,
  • After saving, closing and re-loading a transformation, the edit dialog box for the multiway merge join no longer works, and you get an "Unable to open dialog for this step" error message in an "Oops" window. The code still works okay - running the transformation still gives the previous result - however you can no longer edit the join. Information from the "Details" button of the error dialog: {noformat} java.lang.NullPointerException at org.pentaho.di.ui.trans.steps.multimerge.MultiMergeJoinDialog.getData(MultiMergeJoinDialog.java:480) at org.pentaho.di.ui.trans.steps.multimerge.MultiMergeJoinDialog.open(MultiMergeJoinDialog.java:189) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:124) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8797) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:3027) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:744) 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:1316) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7979) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9310) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654) 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:92) {noformat}
    via by Tom Simpson,
    • java.lang.NullPointerException at org.pentaho.di.ui.core.widget.TableView.optWidth(TableView.java:2270) at org.pentaho.di.ui.core.widget.TableView.optWidth(TableView.java:2242) at org.pentaho.di.ui.core.widget.TableView.<init>(TableView.java:1075) at org.pentaho.di.ui.core.widget.TableView.<init>(TableView.java:186) at org.pentaho.di.ui.trans.steps.rowgenerator.RowGeneratorDialog.open(RowGeneratorDialog.java:263) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:137) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8057) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2854) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:716) 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:1273) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7254) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8529) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:605) 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:115)
    No Bugmate found.