org.pentaho.ui.xul.XulException

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.

  • While testing PDI-4791, I downloaded the kjb from the case and used File->Import from an XMl file got the following exception in the console. ERROR 30-11 14:36:28,525 - Error calling oncommand event org.pentaho.ui.xul.XulException: Error invoking method: spoon.importFile() at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:27) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:77) 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:1150) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6640) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:543) 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:110) Caused by: java.lang.reflect.InvocationTargetException 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:325) ... 17 more Caused by: java.lang.NullPointerException at org.pentaho.di.repository.pur.PurRepository.loadRepositoryDirectoryTree(SourceFile:490) at org.pentaho.di.trans.TransMeta.loadXML(TransMeta.java:2595) at org.pentaho.di.ui.spoon.TransFileListener.open(TransFileListener.java:42) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:3742) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:3442) at org.pentaho.di.ui.spoon.Spoon.importFile(Spoon.java:3401) ... 22 more
    via by Golda David,
  • While testing PDI-4791, I downloaded the kjb from the case and used File->Import from an XMl file got the following exception in the console. ERROR 30-11 14:36:28,525 - Error calling oncommand event org.pentaho.ui.xul.XulException: Error invoking method: spoon.importFile() at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:27) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:77) 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:1150) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6640) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:543) 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:110) Caused by: java.lang.reflect.InvocationTargetException 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:325) ... 17 more Caused by: java.lang.NullPointerException at org.pentaho.di.repository.pur.PurRepository.loadRepositoryDirectoryTree(SourceFile:490) at org.pentaho.di.trans.TransMeta.loadXML(TransMeta.java:2595) at org.pentaho.di.ui.spoon.TransFileListener.open(TransFileListener.java:42) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:3742) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:3442) at org.pentaho.di.ui.spoon.Spoon.importFile(Spoon.java:3401) ... 22 more
    via by Golda David,
  • When we have a step that should reference another file (eg: Job Executor step) but we don't fill the path for that other file, if we connect to the repository and try to import the file (having the step with empty path), the file is not imported and a NPE is thrown to the logs. Full stacktrace: {noformat} 12:35:03,423 ERROR [AbstractXulDomContainer] Error invoking method: spoon.importFile() java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) 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.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(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:1366) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:8012) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9267) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:692) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) Caused by: java.lang.NullPointerException at org.pentaho.di.ui.spoon.TransFileListener.processLinkedJobs(TransFileListener.java:148) at org.pentaho.di.ui.spoon.TransFileListener.fixLinks(TransFileListener.java:133) at org.pentaho.di.ui.spoon.TransFileListener.open(TransFileListener.java:104) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:4620) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:4280) at org.pentaho.di.ui.spoon.Spoon.importFile(Spoon.java:4221) ... 30 more 12:35:03,426 ERROR [AbstractXulComponent] Error calling oncommand event org.pentaho.ui.xul.XulException: Error invoking method: spoon.importFile() at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:317) 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.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(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:1366) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:8012) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9267) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:692) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:313) ... 25 more Caused by: java.lang.NullPointerException at org.pentaho.di.ui.spoon.TransFileListener.processLinkedJobs(TransFileListener.java:148) at org.pentaho.di.ui.spoon.TransFileListener.fixLinks(TransFileListener.java:133) at org.pentaho.di.ui.spoon.TransFileListener.open(TransFileListener.java:104) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:4620) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:4280) at org.pentaho.di.ui.spoon.Spoon.importFile(Spoon.java:4221) ... 30 more 2017-03-21 12:35:03.536 java[83487:2263400] plugin com.getdropbox.dropbox.garcon invalidated {noformat}
    via by Paula Clemente,
    • org.pentaho.ui.xul.XulException: Error invoking method: spoon.importFile() at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:27) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:77) 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:1150) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6640) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:543) 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:110) Caused by: java.lang.reflect.InvocationTargetException 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:325) ... 17 more Caused by: java.lang.NullPointerException at org.pentaho.di.repository.pur.PurRepository.loadRepositoryDirectoryTree(SourceFile:490) at org.pentaho.di.trans.TransMeta.loadXML(TransMeta.java:2595) at org.pentaho.di.ui.spoon.TransFileListener.open(TransFileListener.java:42) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:3742) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:3442) at org.pentaho.di.ui.spoon.Spoon.importFile(Spoon.java:3401) ... 22 more
    No Bugmate found.