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.

  • 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)
    via by Dan Keeley (codek),
  • 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)
    via by Dan Keeley (codek),
  • 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)
    via by Antonina Doudkina,
  • 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)
    via by Antonina Doudkina,
    • 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)
    No Bugmate found.