java.lang.NullPointerException

Pentaho BI Platform Tracking | Chris Deptula | 3 years ago
  1. 0

    After saving and re-opening a transformation in the enterprise repository the HBase Input step can no longer be opened for editing. Trying to edit the step fails with an "Unable to open dialog for this step" error. To reproduce: 1. Connect to an enterprise repository 2. Create a new transformation and add an HBase Input step and configure it. 3. Close the transformation 4. Re-open the transformation 5. Try to edit the HBase Input step The problem is somehow related to the Get Key/Fields Info as the error does not happen until you configure the Key/Fields grid and save and re-open the transformation from the repository. The underlying stack trace is: java.lang.NullPointerException at org.pentaho.hbase.shim.api.Mapping.getXML(Mapping.java:403) at org.pentaho.di.trans.steps.hbaseinput.HBaseInputMeta.getXML(HBaseInputMeta.java:497) at org.pentaho.di.trans.steps.hbaseinput.HBaseInputDialog.getCurrentConfiguration(HBaseInputDialog.java:1609) at org.pentaho.hbase.mapping.MappingEditor.<init>(MappingEditor.java:139) at org.pentaho.di.trans.steps.hbaseinput.HBaseInputDialog.open(HBaseInputDialog.java:723) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:137) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8178) 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:7351) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8656) 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
  2. 0

    After saving and re-opening a transformation in the enterprise repository the HBase Input step can no longer be opened for editing. Trying to edit the step fails with an "Unable to open dialog for this step" error. To reproduce: 1. Connect to an enterprise repository 2. Create a new transformation and add an HBase Input step and configure it. 3. Close the transformation 4. Re-open the transformation 5. Try to edit the HBase Input step The problem is somehow related to the Get Key/Fields Info as the error does not happen until you configure the Key/Fields grid and save and re-open the transformation from the repository. The underlying stack trace is: java.lang.NullPointerException at org.pentaho.hbase.shim.api.Mapping.getXML(Mapping.java:403) at org.pentaho.di.trans.steps.hbaseinput.HBaseInputMeta.getXML(HBaseInputMeta.java:497) at org.pentaho.di.trans.steps.hbaseinput.HBaseInputDialog.getCurrentConfiguration(HBaseInputDialog.java:1609) at org.pentaho.hbase.mapping.MappingEditor.<init>(MappingEditor.java:139) at org.pentaho.di.trans.steps.hbaseinput.HBaseInputDialog.open(HBaseInputDialog.java:723) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:137) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8178) 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:7351) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8656) 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
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.hbase.shim.api.Mapping.getXML()
    2. org.pentaho.hbase
      Mapping.getXML
      1. org.pentaho.hbase.shim.api.Mapping.getXML(Mapping.java:403)
      1 frame
    3. org.pentaho.di
      HBaseInputDialog.getCurrentConfiguration
      1. org.pentaho.di.trans.steps.hbaseinput.HBaseInputMeta.getXML(HBaseInputMeta.java:497)
      2. org.pentaho.di.trans.steps.hbaseinput.HBaseInputDialog.getCurrentConfiguration(HBaseInputDialog.java:1609)
      2 frames
    4. org.pentaho.hbase
      MappingEditor.<init>
      1. org.pentaho.hbase.mapping.MappingEditor.<init>(MappingEditor.java:139)
      1 frame
    5. org.pentaho.di
      TransGraph.mouseDoubleClick
      1. org.pentaho.di.trans.steps.hbaseinput.HBaseInputDialog.open(HBaseInputDialog.java:723)
      2. org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:137)
      3. org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8178)
      4. org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2952)
      5. org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:720)
      5 frames
    6. 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
    7. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1227)
      2. org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7351)
      3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8656)
      4. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:625)
      4 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    9. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
      1 frame