java.lang.NullPointerException

Pentaho BI Platform Tracking | Jens Bleuel | 8 years ago
  1. 0

    To reproduce (thanks to the PDI Frankfurt training class for helping to reproduce this): Possibility 1: Create a new transformation with a new database connection - save it - try to get the context menu what is not possible Possibility 2: Use an existing transformation with a new database conection - rename the transformation name - same problem It worked in 3.0.0 and 3.0.1. In 3.0.2 until 3.04 you get an exception. the 3.0.4 exception is: java.lang.NullPointerException at org.pentaho.di.ui.spoon.delegates.SpoonTreeDelegate.getTreeObjects(SpoonTreeDelegate.java:138) at org.pentaho.di.ui.spoon.Spoon.getTreeObjects(Spoon.java:1814) at org.pentaho.di.ui.spoon.Spoon.showSelection(Spoon.java:1829) at org.pentaho.di.ui.spoon.Spoon$7.widgetSelected(Spoon.java:1335) 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.core.dialog.ErrorDialog.showErrorDialog(ErrorDialog.java:219) at org.pentaho.di.ui.core.dialog.ErrorDialog.<init>(ErrorDialog.java:73) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5645) at org.pentaho.di.ui.spoon.Spoon.run(Spoon.java:5739) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:371) In trunk nothing happens.

    Pentaho BI Platform Tracking | 8 years ago | Jens Bleuel
    java.lang.NullPointerException
  2. 0

    To reproduce (thanks to the PDI Frankfurt training class for helping to reproduce this): Possibility 1: Create a new transformation with a new database connection - save it - try to get the context menu what is not possible Possibility 2: Use an existing transformation with a new database conection - rename the transformation name - same problem It worked in 3.0.0 and 3.0.1. In 3.0.2 until 3.04 you get an exception. the 3.0.4 exception is: java.lang.NullPointerException at org.pentaho.di.ui.spoon.delegates.SpoonTreeDelegate.getTreeObjects(SpoonTreeDelegate.java:138) at org.pentaho.di.ui.spoon.Spoon.getTreeObjects(Spoon.java:1814) at org.pentaho.di.ui.spoon.Spoon.showSelection(Spoon.java:1829) at org.pentaho.di.ui.spoon.Spoon$7.widgetSelected(Spoon.java:1335) 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.core.dialog.ErrorDialog.showErrorDialog(ErrorDialog.java:219) at org.pentaho.di.ui.core.dialog.ErrorDialog.<init>(ErrorDialog.java:73) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5645) at org.pentaho.di.ui.spoon.Spoon.run(Spoon.java:5739) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:371) In trunk nothing happens.

    Pentaho BI Platform Tracking | 8 years ago | Jens Bleuel
    java.lang.NullPointerException
  3. 0

    Following operations will reproduce the bug scene: 1) Create a new transformation (Now the new transformation is opened in the main window); 2) Add some transofmration steps into the newly created transformation; 3) Rename the new transformation with "Transformation settings" menu command; 4) Click on the tree item of the renamed transformation,esp the steps or database connections,Spoon will pop up a window says : An unexpected error occurred in Spoon: null 5) If you click "OK",a new window containing following stack trace info will show up : java.lang.NullPointerException at org.pentaho.di.ui.spoon.delegates.SpoonTreeDelegate.getTreeObjects(SpoonTreeDelegate.java:140) at org.pentaho.di.ui.spoon.Spoon.getTreeObjects(Spoon.java:1817) at org.pentaho.di.ui.spoon.Spoon.showSelection(Spoon.java:1832) at org.pentaho.di.ui.spoon.Spoon$7.widgetSelected(Spoon.java:1338) 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:869) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5617) at org.pentaho.di.ui.spoon.Spoon.run(Spoon.java:5713) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:379) -------------------------------- I think this bug has something to do with PDI-782,they are similar. Perhaps after the renaming of a transformation,spoon forget to replace the tree node index with new node name,so when the tree node gets clicked,Spoon cannot find the tree node index,then Spoon gets crashed.

    Pentaho BI Platform Tracking | 9 years ago | Phil Tsao
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Following operations will reproduce the bug scene: 1) Create a new transformation (Now the new transformation is opened in the main window); 2) Add some transofmration steps into the newly created transformation; 3) Rename the new transformation with "Transformation settings" menu command; 4) Click on the tree item of the renamed transformation,esp the steps or database connections,Spoon will pop up a window says : An unexpected error occurred in Spoon: null 5) If you click "OK",a new window containing following stack trace info will show up : java.lang.NullPointerException at org.pentaho.di.ui.spoon.delegates.SpoonTreeDelegate.getTreeObjects(SpoonTreeDelegate.java:140) at org.pentaho.di.ui.spoon.Spoon.getTreeObjects(Spoon.java:1817) at org.pentaho.di.ui.spoon.Spoon.showSelection(Spoon.java:1832) at org.pentaho.di.ui.spoon.Spoon$7.widgetSelected(Spoon.java:1338) 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:869) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5617) at org.pentaho.di.ui.spoon.Spoon.run(Spoon.java:5713) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:379) -------------------------------- I think this bug has something to do with PDI-782,they are similar. Perhaps after the renaming of a transformation,spoon forget to replace the tree node index with new node name,so when the tree node gets clicked,Spoon cannot find the tree node index,then Spoon gets crashed.

    Pentaho BI Platform Tracking | 9 years ago | Phil Tsao
    java.lang.NullPointerException
  6. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: 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.ui.spoon.delegates.SpoonTreeDelegate.getTreeObjects()
    2. org.pentaho.di
      Spoon$7.widgetSelected
      1. org.pentaho.di.ui.spoon.delegates.SpoonTreeDelegate.getTreeObjects(SpoonTreeDelegate.java:138)
      2. org.pentaho.di.ui.spoon.Spoon.getTreeObjects(Spoon.java:1814)
      3. org.pentaho.di.ui.spoon.Spoon.showSelection(Spoon.java:1829)
      4. org.pentaho.di.ui.spoon.Spoon$7.widgetSelected(Spoon.java:1335)
      4 frames
    3. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      5 frames
    4. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.core.dialog.ErrorDialog.showErrorDialog(ErrorDialog.java:219)
      2. org.pentaho.di.ui.core.dialog.ErrorDialog.<init>(ErrorDialog.java:73)
      3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5645)
      4. org.pentaho.di.ui.spoon.Spoon.run(Spoon.java:5739)
      5. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:371)
      5 frames