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.

  • Created a transformation, save it and open it again, Create another transformation, save it and click on the X to close the tab. You get an error dialog and details say a NULL pointer exception.( it sued to be index out of bounds error but now NUll pointer exception.) java.lang.NullPointerException at org.pentaho.di.ui.spoon.Spoon.getActiveTabitem(Spoon.java:5860) at org.pentaho.di.ui.spoon.Spoon.enableMenus(Spoon.java:5651) at org.pentaho.di.ui.spoon.Spoon.setShellText(Spoon.java:5632) at org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate.tabSelected(SpoonTabsDelegate.java:426) at org.pentaho.di.ui.spoon.Spoon.tabSelected(Spoon.java:2851) at org.pentaho.xul.swt.tab.TabSet.notifySelectListeners(TabSet.java:92) at org.pentaho.xul.swt.tab.TabSet.widgetSelected(TabSet.java:55) 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.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.custom.CTabFolder.setSelection(Unknown Source) at org.eclipse.swt.custom.CTabFolder.destroyItem(Unknown Source) at org.eclipse.swt.custom.CTabItem.dispose(Unknown Source) at org.pentaho.xul.swt.tab.TabItem.dispose(TabItem.java:90) at org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate.removeTab(SpoonTabsDelegate.java:140) at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.closeTransformation(SpoonTransformationDelegate.java:124) at org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate.tabClose(SpoonTabsDelegate.java:100) at org.pentaho.di.ui.spoon.Spoon.tabClose(Spoon.java:2839) at org.pentaho.xul.swt.tab.TabSet.notifyCloseListeners(TabSet.java:128) at org.pentaho.xul.swt.tab.TabSet.close(TabSet.java:68) at org.eclipse.swt.custom.CTabFolder.onMouse(Unknown Source) at org.eclipse.swt.custom.CTabFolder$1.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:1213) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6680) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:559) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110)
    via by Golda David,
  • Created a transformation, save it and open it again, Create another transformation, save it and click on the X to close the tab. You get an error dialog and details say a NULL pointer exception.( it sued to be index out of bounds error but now NUll pointer exception.) java.lang.NullPointerException at org.pentaho.di.ui.spoon.Spoon.getActiveTabitem(Spoon.java:5860) at org.pentaho.di.ui.spoon.Spoon.enableMenus(Spoon.java:5651) at org.pentaho.di.ui.spoon.Spoon.setShellText(Spoon.java:5632) at org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate.tabSelected(SpoonTabsDelegate.java:426) at org.pentaho.di.ui.spoon.Spoon.tabSelected(Spoon.java:2851) at org.pentaho.xul.swt.tab.TabSet.notifySelectListeners(TabSet.java:92) at org.pentaho.xul.swt.tab.TabSet.widgetSelected(TabSet.java:55) 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.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.custom.CTabFolder.setSelection(Unknown Source) at org.eclipse.swt.custom.CTabFolder.destroyItem(Unknown Source) at org.eclipse.swt.custom.CTabItem.dispose(Unknown Source) at org.pentaho.xul.swt.tab.TabItem.dispose(TabItem.java:90) at org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate.removeTab(SpoonTabsDelegate.java:140) at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.closeTransformation(SpoonTransformationDelegate.java:124) at org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate.tabClose(SpoonTabsDelegate.java:100) at org.pentaho.di.ui.spoon.Spoon.tabClose(Spoon.java:2839) at org.pentaho.xul.swt.tab.TabSet.notifyCloseListeners(TabSet.java:128) at org.pentaho.xul.swt.tab.TabSet.close(TabSet.java:68) at org.eclipse.swt.custom.CTabFolder.onMouse(Unknown Source) at org.eclipse.swt.custom.CTabFolder$1.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:1213) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6680) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:559) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110)
    via by Golda David,
  • When closing a transformation tab getting this error. Un expected error closing tab! java.lang.NullPointerException at org.pentaho.di.ui.spoon.Spoon.getActiveTabitem(Spoon.java:5141) at org.pentaho.di.ui.spoon.Spoon.enableMenus(Spoon.java:4960) at org.pentaho.di.ui.spoon.Spoon.setShellText(Spoon.java:4947) at org.pentaho.di.ui.spoon.Spoon.refreshTree(Spoon.java:4712) at org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate.tabSelected(SpoonTabsDelegate.java:418) at org.pentaho.di.ui.spoon.Spoon.tabSelected(Spoon.java:2525) at org.pentaho.xul.swt.tab.TabSet.notifySelectListeners(TabSet.java:92) at org.pentaho.xul.swt.tab.TabSet.widgetSelected(TabSet.java:55) 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.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.custom.CTabFolder.setSelection(Unknown Source) at org.eclipse.swt.custom.CTabFolder.destroyItem(Unknown Source) at org.eclipse.swt.custom.CTabItem.dispose(Unknown Source) at org.pentaho.xul.swt.tab.TabItem.dispose(TabItem.java:90) at org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate.removeTab(SpoonTabsDelegate.java:139) at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.closeTransformation(SpoonTransformationDelegate.java:124) at org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate.tabClose(SpoonTabsDelegate.java:99) at org.pentaho.di.ui.spoon.Spoon.tabClose(Spoon.java:2513) at org.pentaho.xul.swt.tab.TabSet.notifyCloseListeners(TabSet.java:128) at org.pentaho.xul.swt.tab.TabSet.close(TabSet.java:68) at org.eclipse.swt.custom.CTabFolder.onMouse(Unknown Source) at org.eclipse.swt.custom.CTabFolder$1.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:1038) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5888) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:474) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110)
    via by Golda David,
  • When closing a transformation tab getting this error. Un expected error closing tab! java.lang.NullPointerException at org.pentaho.di.ui.spoon.Spoon.getActiveTabitem(Spoon.java:5141) at org.pentaho.di.ui.spoon.Spoon.enableMenus(Spoon.java:4960) at org.pentaho.di.ui.spoon.Spoon.setShellText(Spoon.java:4947) at org.pentaho.di.ui.spoon.Spoon.refreshTree(Spoon.java:4712) at org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate.tabSelected(SpoonTabsDelegate.java:418) at org.pentaho.di.ui.spoon.Spoon.tabSelected(Spoon.java:2525) at org.pentaho.xul.swt.tab.TabSet.notifySelectListeners(TabSet.java:92) at org.pentaho.xul.swt.tab.TabSet.widgetSelected(TabSet.java:55) 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.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.custom.CTabFolder.setSelection(Unknown Source) at org.eclipse.swt.custom.CTabFolder.destroyItem(Unknown Source) at org.eclipse.swt.custom.CTabItem.dispose(Unknown Source) at org.pentaho.xul.swt.tab.TabItem.dispose(TabItem.java:90) at org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate.removeTab(SpoonTabsDelegate.java:139) at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.closeTransformation(SpoonTransformationDelegate.java:124) at org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate.tabClose(SpoonTabsDelegate.java:99) at org.pentaho.di.ui.spoon.Spoon.tabClose(Spoon.java:2513) at org.pentaho.xul.swt.tab.TabSet.notifyCloseListeners(TabSet.java:128) at org.pentaho.xul.swt.tab.TabSet.close(TabSet.java:68) at org.eclipse.swt.custom.CTabFolder.onMouse(Unknown Source) at org.eclipse.swt.custom.CTabFolder$1.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:1038) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5888) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:474) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110)
    via by Golda David,
  • Data Integration Perspective - Clicking the X to close Models, Transformations or Jobs generates a NullPointerException - The error dialog displays:"Continue with Spoon after fatal error. java.lang.NullPointerException at org.pentaho.di.ui.spoon.Spoon.getActiveTabitem(Spoon.java:5860) at org.pentaho.di.ui.spoon.Spoon.enableMenus(Spoon.java:5651) at org.pentaho.di.ui.spoon.Spoon.setShellText(Spoon.java:5632) at org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate.tabSelected(SpoonTabsDelegate.java:426) at org.pentaho.di.ui.spoon.Spoon.tabSelected(Spoon.java:2851) at org.pentaho.xul.swt.tab.TabSet.notifySelectListeners(TabSet.java:92) at org.pentaho.xul.swt.tab.TabSet.setSelected(TabSet.java:180) at org.pentaho.xul.swt.tab.TabSet.setSelected(TabSet.java:187) at org.pentaho.xul.swt.tab.TabSet.selectLastUsedTab(TabSet.java:142) at org.pentaho.xul.swt.tab.TabSet.notifyCloseListeners(TabSet.java:131) at org.pentaho.xul.swt.tab.TabSet.close(TabSet.java:68) at org.eclipse.swt.custom.CTabFolder.onMouse(Unknown Source) at org.eclipse.swt.custom.CTabFolder$1.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:1213) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6680) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:559) 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)
    via by Ruth Cook,
    • java.lang.NullPointerException at org.pentaho.di.ui.spoon.Spoon.getActiveTabitem(Spoon.java:5860) at org.pentaho.di.ui.spoon.Spoon.enableMenus(Spoon.java:5651) at org.pentaho.di.ui.spoon.Spoon.setShellText(Spoon.java:5632) at org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate.tabSelected(SpoonTabsDelegate.java:426) at org.pentaho.di.ui.spoon.Spoon.tabSelected(Spoon.java:2851) at org.pentaho.xul.swt.tab.TabSet.notifySelectListeners(TabSet.java:92) at org.pentaho.xul.swt.tab.TabSet.widgetSelected(TabSet.java:55) 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.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.custom.CTabFolder.setSelection(Unknown Source) at org.eclipse.swt.custom.CTabFolder.destroyItem(Unknown Source) at org.eclipse.swt.custom.CTabItem.dispose(Unknown Source) at org.pentaho.xul.swt.tab.TabItem.dispose(TabItem.java:90) at org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate.removeTab(SpoonTabsDelegate.java:140) at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.closeTransformation(SpoonTransformationDelegate.java:124) at org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate.tabClose(SpoonTabsDelegate.java:100) at org.pentaho.di.ui.spoon.Spoon.tabClose(Spoon.java:2839) at org.pentaho.xul.swt.tab.TabSet.notifyCloseListeners(TabSet.java:128) at org.pentaho.xul.swt.tab.TabSet.close(TabSet.java:68) at org.eclipse.swt.custom.CTabFolder.onMouse(Unknown Source) at org.eclipse.swt.custom.CTabFolder$1.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:1213) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6680) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:559) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110)
    No Bugmate found.