java.lang.NullPointerException

Pentaho BI Platform Tracking | Robert Wennström | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    This NPE makes it very hard to know exactly what is wrong in my Transformation: java.lang.NullPointerException at org.pentaho.di.trans.steps.mapping.MappingMeta.loadMappingMeta(MappingMeta.java:624) at org.pentaho.di.trans.steps.mapping.MappingMeta.getFields(MappingMeta.java:383) at org.pentaho.di.trans.TransMeta.getThisStepFields(TransMeta.java:1898) at org.pentaho.di.trans.TransMeta.getStepFields(TransMeta.java:1753) at org.pentaho.di.trans.TransMeta.getPrevStepFields(TransMeta.java:1811) at org.pentaho.di.trans.TransMeta.getPrevStepFields(TransMeta.java:1783) at org.pentaho.di.trans.TransMeta.getPrevStepFields(TransMeta.java:1771) at org.pentaho.di.ui.trans.steps.selectvalues.SelectValuesDialog.get(SelectValuesDialog.java:710) at org.pentaho.di.ui.trans.steps.selectvalues.SelectValuesDialog.access$100(SelectValuesDialog.java:79) at org.pentaho.di.ui.trans.steps.selectvalues.SelectValuesDialog$2.handleEvent(SelectValuesDialog.java:154) 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:6943) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553) 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:134) Is there something wrong in my Transformation setup that is causing some of the parameters for this method to be NULL ? public synchronized static final TransMeta loadMappingMeta(MappingMeta mappingMeta, Repository rep, VariableSpace space) throws KettleException { ... } If this is an error on my side, it would be nice to get some message or hint of what configuration is missing in the requirements of getting the fields from a Mapping step.

    Pentaho BI Platform Tracking | 5 years ago | Robert Wennström
    java.lang.NullPointerException
  2. 0

    This NPE makes it very hard to know exactly what is wrong in my Transformation: java.lang.NullPointerException at org.pentaho.di.trans.steps.mapping.MappingMeta.loadMappingMeta(MappingMeta.java:624) at org.pentaho.di.trans.steps.mapping.MappingMeta.getFields(MappingMeta.java:383) at org.pentaho.di.trans.TransMeta.getThisStepFields(TransMeta.java:1898) at org.pentaho.di.trans.TransMeta.getStepFields(TransMeta.java:1753) at org.pentaho.di.trans.TransMeta.getPrevStepFields(TransMeta.java:1811) at org.pentaho.di.trans.TransMeta.getPrevStepFields(TransMeta.java:1783) at org.pentaho.di.trans.TransMeta.getPrevStepFields(TransMeta.java:1771) at org.pentaho.di.ui.trans.steps.selectvalues.SelectValuesDialog.get(SelectValuesDialog.java:710) at org.pentaho.di.ui.trans.steps.selectvalues.SelectValuesDialog.access$100(SelectValuesDialog.java:79) at org.pentaho.di.ui.trans.steps.selectvalues.SelectValuesDialog$2.handleEvent(SelectValuesDialog.java:154) 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:6943) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553) 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:134) Is there something wrong in my Transformation setup that is causing some of the parameters for this method to be NULL ? public synchronized static final TransMeta loadMappingMeta(MappingMeta mappingMeta, Repository rep, VariableSpace space) throws KettleException { ... } If this is an error on my side, it would be nice to get some message or hint of what configuration is missing in the requirements of getting the fields from a Mapping step.

    Pentaho BI Platform Tracking | 5 years ago | Robert Wennström
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.pentaho.di.trans.steps.mapping.MappingMeta.loadMappingMeta()
    2. org.pentaho.di
      SelectValuesDialog$2.handleEvent
      1. org.pentaho.di.trans.steps.mapping.MappingMeta.loadMappingMeta(MappingMeta.java:624)
      2. org.pentaho.di.trans.steps.mapping.MappingMeta.getFields(MappingMeta.java:383)
      3. org.pentaho.di.trans.TransMeta.getThisStepFields(TransMeta.java:1898)
      4. org.pentaho.di.trans.TransMeta.getStepFields(TransMeta.java:1753)
      5. org.pentaho.di.trans.TransMeta.getPrevStepFields(TransMeta.java:1811)
      6. org.pentaho.di.trans.TransMeta.getPrevStepFields(TransMeta.java:1783)
      7. org.pentaho.di.trans.TransMeta.getPrevStepFields(TransMeta.java:1771)
      8. org.pentaho.di.ui.trans.steps.selectvalues.SelectValuesDialog.get(SelectValuesDialog.java:710)
      9. org.pentaho.di.ui.trans.steps.selectvalues.SelectValuesDialog.access$100(SelectValuesDialog.java:79)
      10. org.pentaho.di.ui.trans.steps.selectvalues.SelectValuesDialog$2.handleEvent(SelectValuesDialog.java:154)
      10 frames
    3. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      2. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      4 frames
    4. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1169)
      2. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6943)
      3. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553)
      3 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:134)
      1 frame