java.lang.NullPointerException

Pentaho BI Platform Tracking | Tom Simpson | 10 months ago
  1. 0

    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}

    Pentaho BI Platform Tracking | 10 months ago | Tom Simpson
    java.lang.NullPointerException
  2. 0

    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}

    Pentaho BI Platform Tracking | 10 months ago | Tom Simpson
    java.lang.NullPointerException
  3. 0

    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)

    Pentaho BI Platform Tracking | 4 years ago | Curtis Boyden
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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.

    Pentaho BI Platform Tracking | 4 years ago | Kaj Kandler
    java.lang.NullPointerException
  6. 0

    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)

    Pentaho BI Platform Tracking | 3 years ago | Chris Deptula
    java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.pentaho.di.ui.trans.steps.multimerge.MultiMergeJoinDialog.getData()
    2. org.pentaho.di
      TransGraph.mouseDoubleClick
      1. org.pentaho.di.ui.trans.steps.multimerge.MultiMergeJoinDialog.getData(MultiMergeJoinDialog.java:480)
      2. org.pentaho.di.ui.trans.steps.multimerge.MultiMergeJoinDialog.open(MultiMergeJoinDialog.java:189)
      3. org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:124)
      4. org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8797)
      5. org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:3027)
      6. org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:744)
      6 frames
    3. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      5 frames
    4. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1316)
      2. org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7979)
      3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9310)
      4. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654)
      4 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    6. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
      1 frame