java.lang.NullPointerException

Pentaho BI Platform Tracking | Dan Keeley (codek) | 3 years ago
  1. 0

    Open the Inputs.ktr file from kettle-cookbook and try and save and you get this error: java.lang.NullPointerException at org.pentaho.di.trans.steps.mailinput.MailInputMeta.getXML(MailInputMeta.java:406) at org.pentaho.di.trans.step.StepMeta.getXML(StepMeta.java:220) at org.pentaho.di.trans.step.StepMeta.getXML(StepMeta.java:196) at org.pentaho.di.trans.TransMeta.getXML(TransMeta.java:2890) at org.pentaho.di.trans.TransMeta.getXML(TransMeta.java:2703) at org.pentaho.di.ui.spoon.Spoon.saveMeta(Spoon.java:5634) at org.pentaho.di.ui.spoon.TransFileListener.save(TransFileListener.java:108) at org.pentaho.di.ui.spoon.Spoon.save(Spoon.java:5618) at org.pentaho.di.ui.spoon.Spoon.saveToFile(Spoon.java:4818) at org.pentaho.di.ui.spoon.Spoon.saveFile(Spoon.java:4774) 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.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:313) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:157) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:141) at org.pentaho.ui.xul.jface.tags.JfaceMenuitem.access$100(JfaceMenuitem.java:43) at org.pentaho.ui.xul.jface.tags.JfaceMenuitem$1.run(JfaceMenuitem.java:106) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402) 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:1264) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7668) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9012) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:639) 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:151)

    Pentaho BI Platform Tracking | 3 years ago | Dan Keeley (codek)
    java.lang.NullPointerException
  2. 0

    Open the Inputs.ktr file from kettle-cookbook and try and save and you get this error: java.lang.NullPointerException at org.pentaho.di.trans.steps.mailinput.MailInputMeta.getXML(MailInputMeta.java:406) at org.pentaho.di.trans.step.StepMeta.getXML(StepMeta.java:220) at org.pentaho.di.trans.step.StepMeta.getXML(StepMeta.java:196) at org.pentaho.di.trans.TransMeta.getXML(TransMeta.java:2890) at org.pentaho.di.trans.TransMeta.getXML(TransMeta.java:2703) at org.pentaho.di.ui.spoon.Spoon.saveMeta(Spoon.java:5634) at org.pentaho.di.ui.spoon.TransFileListener.save(TransFileListener.java:108) at org.pentaho.di.ui.spoon.Spoon.save(Spoon.java:5618) at org.pentaho.di.ui.spoon.Spoon.saveToFile(Spoon.java:4818) at org.pentaho.di.ui.spoon.Spoon.saveFile(Spoon.java:4774) 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.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:313) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:157) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:141) at org.pentaho.ui.xul.jface.tags.JfaceMenuitem.access$100(JfaceMenuitem.java:43) at org.pentaho.ui.xul.jface.tags.JfaceMenuitem$1.run(JfaceMenuitem.java:106) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402) 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:1264) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7668) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9012) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:639) 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:151)

    Pentaho BI Platform Tracking | 3 years ago | Dan Keeley (codek)
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    If transformation has been created in PDI 4.4 and it contains step "Email Message Input" - it is not possible to save any changes for it in PDI 5.1. It happens in both cases when repository is file-based or database. 1. Create a transformation containing "Email Messages Input" step in PDI 4.4 or you can use transformation attached to this case. 2. Open it in PDI 5.1 ( I tested on PDI CE 5.1 CI build #854 downloaded from http://ci.pentaho.com/view/Data%20Integration/job/Kettle/854/) 3. Click "Save" or "Save As". NOTE: Transformation is not saved. NullPointerException occurs java.lang.NullPointerException at org.pentaho.di.trans.steps.mailinput.MailInputMeta.getXML(MailInputMeta.java:399) at org.pentaho.di.trans.step.StepMeta.getXML(StepMeta.java:218) at org.pentaho.di.trans.step.StepMeta.getXML(StepMeta.java:196) at org.pentaho.di.trans.TransMeta.getXML(TransMeta.java:2868) at org.pentaho.di.trans.TransMeta.getXML(TransMeta.java:2684) at org.pentaho.di.ui.spoon.Spoon.saveMeta(Spoon.java:5542) at org.pentaho.di.ui.spoon.TransFileListener.save(TransFileListener.java:104) at org.pentaho.di.ui.spoon.Spoon.save(Spoon.java:5527) at org.pentaho.di.ui.spoon.Spoon.saveToFile(Spoon.java:4747) at org.pentaho.di.ui.spoon.Spoon.saveFile(Spoon.java:4703) 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.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:341) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:157) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:141) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton.access$100(SwtToolbarbutton.java:48) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:96) 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:1250) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7564) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8885) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:626) 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:151)

    Pentaho BI Platform Tracking | 3 years ago | Antonina Doudkina
    java.lang.NullPointerException
  5. 0

    If transformation has been created in PDI 4.4 and it contains step "Email Message Input" - it is not possible to save any changes for it in PDI 5.1. It happens in both cases when repository is file-based or database. 1. Create a transformation containing "Email Messages Input" step in PDI 4.4 or you can use transformation attached to this case. 2. Open it in PDI 5.1 ( I tested on PDI CE 5.1 CI build #854 downloaded from http://ci.pentaho.com/view/Data%20Integration/job/Kettle/854/) 3. Click "Save" or "Save As". NOTE: Transformation is not saved. NullPointerException occurs java.lang.NullPointerException at org.pentaho.di.trans.steps.mailinput.MailInputMeta.getXML(MailInputMeta.java:399) at org.pentaho.di.trans.step.StepMeta.getXML(StepMeta.java:218) at org.pentaho.di.trans.step.StepMeta.getXML(StepMeta.java:196) at org.pentaho.di.trans.TransMeta.getXML(TransMeta.java:2868) at org.pentaho.di.trans.TransMeta.getXML(TransMeta.java:2684) at org.pentaho.di.ui.spoon.Spoon.saveMeta(Spoon.java:5542) at org.pentaho.di.ui.spoon.TransFileListener.save(TransFileListener.java:104) at org.pentaho.di.ui.spoon.Spoon.save(Spoon.java:5527) at org.pentaho.di.ui.spoon.Spoon.saveToFile(Spoon.java:4747) at org.pentaho.di.ui.spoon.Spoon.saveFile(Spoon.java:4703) 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.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:341) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:157) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:141) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton.access$100(SwtToolbarbutton.java:48) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:96) 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:1250) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7564) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8885) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:626) 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:151)

    Pentaho BI Platform Tracking | 3 years ago | Antonina Doudkina
    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.trans.steps.mailinput.MailInputMeta.getXML()
    2. org.pentaho.di
      Spoon.saveFile
      1. org.pentaho.di.trans.steps.mailinput.MailInputMeta.getXML(MailInputMeta.java:406)
      2. org.pentaho.di.trans.step.StepMeta.getXML(StepMeta.java:220)
      3. org.pentaho.di.trans.step.StepMeta.getXML(StepMeta.java:196)
      4. org.pentaho.di.trans.TransMeta.getXML(TransMeta.java:2890)
      5. org.pentaho.di.trans.TransMeta.getXML(TransMeta.java:2703)
      6. org.pentaho.di.ui.spoon.Spoon.saveMeta(Spoon.java:5634)
      7. org.pentaho.di.ui.spoon.TransFileListener.save(TransFileListener.java:108)
      8. org.pentaho.di.ui.spoon.Spoon.save(Spoon.java:5618)
      9. org.pentaho.di.ui.spoon.Spoon.saveToFile(Spoon.java:4818)
      10. org.pentaho.di.ui.spoon.Spoon.saveFile(Spoon.java:4774)
      10 frames
    3. 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
    4. org.pentaho.ui
      JfaceMenuitem$1.run
      1. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:313)
      2. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:157)
      3. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:141)
      4. org.pentaho.ui.xul.jface.tags.JfaceMenuitem.access$100(JfaceMenuitem.java:43)
      5. org.pentaho.ui.xul.jface.tags.JfaceMenuitem$1.run(JfaceMenuitem.java:106)
      5 frames
    5. JFace
      ActionContributionItem$5.handleEvent
      1. org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
      2. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
      3. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
      4. org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
      4 frames
    6. 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
    7. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1264)
      2. org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7668)
      3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9012)
      4. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:639)
      4 frames
    8. 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
    9. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:151)
      1 frame