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.

  • I was clicking on a slave monitor job to see execution metrics and logs and Spoon crashed. This is the stack trace: 2013/12/05 11:05:30 - Spoon - ERROR (version TRUNK-SNAPSHOT, build 1 from 2013-12-04 14.20.29 by skarmali) : An unexpected error occurred in Spoon: 2013/12/05 11:05:30 - Spoon - null 2013/12/05 11:05:30 - Spoon - ERROR (version TRUNK-SNAPSHOT, build 1 from 2013-12-04 14.20.29 by skarmali) : java.lang.NullPointerException 2013/12/05 11:05:30 - Spoon - at org.pentaho.di.ui.spoon.SpoonSlave.treeItemSelected(SpoonSlave.java:403) 2013/12/05 11:05:30 - Spoon - at org.pentaho.di.ui.spoon.SpoonSlave$1.widgetSelected(SpoonSlave.java:280) 2013/12/05 11:05:30 - Spoon - at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) 2013/12/05 11:05:30 - Spoon - at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) 2013/12/05 11:05:30 - Spoon - at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) 2013/12/05 11:05:30 - Spoon - at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) 2013/12/05 11:05:30 - Spoon - at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) 2013/12/05 11:05:30 - Spoon - at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) 2013/12/05 11:05:30 - Spoon - at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) 2013/12/05 11:05:30 - Spoon - at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) 2013/12/05 11:05:30 - Spoon - at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) 2013/12/05 11:05:30 - Spoon - at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1250) 2013/12/05 11:05:30 - Spoon - at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7564) 2013/12/05 11:05:30 - Spoon - at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8885) 2013/12/05 11:05:30 - Spoon - at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:626)
    via by Sulaiman Karmali,
  • I was clicking on a slave monitor job to see execution metrics and logs and Spoon crashed. This is the stack trace: 2013/12/05 11:05:30 - Spoon - ERROR (version TRUNK-SNAPSHOT, build 1 from 2013-12-04 14.20.29 by skarmali) : An unexpected error occurred in Spoon: 2013/12/05 11:05:30 - Spoon - null 2013/12/05 11:05:30 - Spoon - ERROR (version TRUNK-SNAPSHOT, build 1 from 2013-12-04 14.20.29 by skarmali) : java.lang.NullPointerException 2013/12/05 11:05:30 - Spoon - at org.pentaho.di.ui.spoon.SpoonSlave.treeItemSelected(SpoonSlave.java:403) 2013/12/05 11:05:30 - Spoon - at org.pentaho.di.ui.spoon.SpoonSlave$1.widgetSelected(SpoonSlave.java:280) 2013/12/05 11:05:30 - Spoon - at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) 2013/12/05 11:05:30 - Spoon - at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) 2013/12/05 11:05:30 - Spoon - at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) 2013/12/05 11:05:30 - Spoon - at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) 2013/12/05 11:05:30 - Spoon - at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) 2013/12/05 11:05:30 - Spoon - at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) 2013/12/05 11:05:30 - Spoon - at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) 2013/12/05 11:05:30 - Spoon - at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) 2013/12/05 11:05:30 - Spoon - at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) 2013/12/05 11:05:30 - Spoon - at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1250) 2013/12/05 11:05:30 - Spoon - at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7564) 2013/12/05 11:05:30 - Spoon - at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8885) 2013/12/05 11:05:30 - Spoon - at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:626)
    via by Sulaiman Karmali,
  • When exploring the DI Slave server, if we click multiple times to expand/collapse the Transformations/Job tree, the Spoon closes unexpectedly. I've attached a video that shows the crash. On the Spoon logs we can see this: {CODE} 2015/09/28 16:11:30 - Spoon - ERROR (version 6.0.0.0-344, build 1 from 2015-09-27 18.14.31 by buildguy) : An unexpected error occurred in Spoon: 2015/09/28 16:11:30 - Spoon - null 2015/09/28 16:11:30 - Spoon - ERROR (version 6.0.0.0-344, build 1 from 2015-09-27 18.14.31 by buildguy) : java.lang.NullPointerException 2015/09/28 16:11:30 - Spoon - at org.pentaho.di.ui.spoon.SpoonSlave.treeItemSelected(SpoonSlave.java:458) 2015/09/28 16:11:30 - Spoon - at org.pentaho.di.ui.spoon.SpoonSlave$1.widgetSelected(SpoonSlave.java:335) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1339) 2015/09/28 16:11:30 - Spoon - at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939) 2015/09/28 16:11:30 - Spoon - at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9214) 2015/09/28 16:11:30 - Spoon - at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:653) 2015/09/28 16:11:30 - Spoon - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2015/09/28 16:11:30 - Spoon - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2015/09/28 16:11:30 - Spoon - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2015/09/28 16:11:30 - Spoon - at java.lang.reflect.Method.invoke(Method.java:497) 2015/09/28 16:11:30 - Spoon - at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) java.lang.NullPointerException at org.pentaho.di.ui.spoon.SpoonSlave.treeItemSelected(SpoonSlave.java:458) at org.pentaho.di.ui.spoon.SpoonSlave$1.widgetSelected(SpoonSlave.java:335) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) 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:1339) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9214) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:653) 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) 2015/09/28 16:11:31 - Spoon - Spoon has ended. stopping {CODE}
    via by Paula Clemente,
  • When exploring the DI Slave server, if we click multiple times to expand/collapse the Transformations/Job tree, the Spoon closes unexpectedly. I've attached a video that shows the crash. On the Spoon logs we can see this: {CODE} 2015/09/28 16:11:30 - Spoon - ERROR (version 6.0.0.0-344, build 1 from 2015-09-27 18.14.31 by buildguy) : An unexpected error occurred in Spoon: 2015/09/28 16:11:30 - Spoon - null 2015/09/28 16:11:30 - Spoon - ERROR (version 6.0.0.0-344, build 1 from 2015-09-27 18.14.31 by buildguy) : java.lang.NullPointerException 2015/09/28 16:11:30 - Spoon - at org.pentaho.di.ui.spoon.SpoonSlave.treeItemSelected(SpoonSlave.java:458) 2015/09/28 16:11:30 - Spoon - at org.pentaho.di.ui.spoon.SpoonSlave$1.widgetSelected(SpoonSlave.java:335) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1339) 2015/09/28 16:11:30 - Spoon - at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939) 2015/09/28 16:11:30 - Spoon - at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9214) 2015/09/28 16:11:30 - Spoon - at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:653) 2015/09/28 16:11:30 - Spoon - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2015/09/28 16:11:30 - Spoon - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2015/09/28 16:11:30 - Spoon - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2015/09/28 16:11:30 - Spoon - at java.lang.reflect.Method.invoke(Method.java:497) 2015/09/28 16:11:30 - Spoon - at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) java.lang.NullPointerException at org.pentaho.di.ui.spoon.SpoonSlave.treeItemSelected(SpoonSlave.java:458) at org.pentaho.di.ui.spoon.SpoonSlave$1.widgetSelected(SpoonSlave.java:335) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) 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:1339) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9214) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:653) 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) 2015/09/28 16:11:31 - Spoon - Spoon has ended. stopping {CODE}
    via by Paula Clemente,
  • When using the Slave Server monitor tab, the following error message is displayed: Unable to access transformation details : {CODE} 2015/09/28 16:11:30 - Spoon - ERROR (version 6.0.0.0-344, build 1 from 2015-09-27 18.14.31 by buildguy) : An unexpected error occurred in Spoon: 2015/09/28 16:11:30 - Spoon - null 2015/09/28 16:11:30 - Spoon - ERROR (version 6.0.0.0-344, build 1 from 2015-09-27 18.14.31 by buildguy) : java.lang.NullPointerException 2015/09/28 16:11:30 - Spoon - at org.pentaho.di.ui.spoon.SpoonSlave.treeItemSelected(SpoonSlave.java:458) 2015/09/28 16:11:30 - Spoon - at org.pentaho.di.ui.spoon.SpoonSlave$1.widgetSelected(SpoonSlave.java:335) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) 2015/09/28 16:11:30 - Spoon - at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1339) 2015/09/28 16:11:30 - Spoon - at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939) 2015/09/28 16:11:30 - Spoon - at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9214) 2015/09/28 16:11:30 - Spoon - at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:653) 2015/09/28 16:11:30 - Spoon - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2015/09/28 16:11:30 - Spoon - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2015/09/28 16:11:30 - Spoon - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2015/09/28 16:11:30 - Spoon - at java.lang.reflect.Method.invoke(Method.java:497) 2015/09/28 16:11:30 - Spoon - at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) java.lang.NullPointerException at org.pentaho.di.ui.spoon.SpoonSlave.treeItemSelected(SpoonSlave.java:458) at org.pentaho.di.ui.spoon.SpoonSlave$1.widgetSelected(SpoonSlave.java:335) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) 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:1339) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9214) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:653) 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) 2015/09/28 16:11:31 - Spoon - Spoon has ended. stopping {CODE}
    via by Matt Tucker,
    • java.lang.NullPointerException at org.pentaho.di.ui.spoon.SpoonSlave.treeItemSelected(SpoonSlave.java:403) at org.pentaho.di.ui.spoon.SpoonSlave$1.widgetSelected(SpoonSlave.java:280) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) 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: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)
    No Bugmate found.