java.lang.RuntimeException: java.lang.NullPointerException

Pentaho BI Platform Tracking | Jordan Ganoff | 6 years ago
  1. 0

    This doesn't happen all the time but after testing the Model functionality a lot I saw this stack trace when trying to perform Visualize->Analyzer. I could not get Analyzer to load after this and ended up restarting Spoon to continue testing. Could not easily reproduce... hopefully the stack helps pinpoint the root cause. java.lang.RuntimeException: java.lang.NullPointerException at org.pentaho.agilebi.spoon.visualizations.analyzer.AnalyzerVisualization.createVisualizationFromModel(AnalyzerVisualization.java:202) at org.pentaho.agilebi.spoon.ModelerHelper.quickVisualize(ModelerHelper.java:355) at org.pentaho.agilebi.spoon.ModelerHelper.quickVisualizeTableOutputStep(ModelerHelper.java:276) 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.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:135) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) 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:1174) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6746) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:558) 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:134) Caused by: java.lang.NullPointerException at org.pentaho.ui.xul.swt.tags.SwtTabbox.updateTabState(SwtTabbox.java:231) at org.pentaho.ui.xul.swt.tags.SwtTab.setLabel(SwtTab.java:54) at org.pentaho.agilebi.spoon.perspective.AbstractPerspective.setNameForTab(AbstractPerspective.java:257) at org.pentaho.agilebi.spoon.visualizations.analyzer.AnalyzerVisualization.createTabForBrowser(AnalyzerVisualization.java:233) at org.pentaho.agilebi.spoon.visualizations.analyzer.AnalyzerVisualization.createVisualizationFromModel(AnalyzerVisualization.java:199) ... 24 more

    Pentaho BI Platform Tracking | 6 years ago | Jordan Ganoff
    java.lang.RuntimeException: java.lang.NullPointerException
  2. 0

    This doesn't happen all the time but after testing the Model functionality a lot I saw this stack trace when trying to perform Visualize->Analyzer. I could not get Analyzer to load after this and ended up restarting Spoon to continue testing. Could not easily reproduce... hopefully the stack helps pinpoint the root cause. java.lang.RuntimeException: java.lang.NullPointerException at org.pentaho.agilebi.spoon.visualizations.analyzer.AnalyzerVisualization.createVisualizationFromModel(AnalyzerVisualization.java:202) at org.pentaho.agilebi.spoon.ModelerHelper.quickVisualize(ModelerHelper.java:355) at org.pentaho.agilebi.spoon.ModelerHelper.quickVisualizeTableOutputStep(ModelerHelper.java:276) 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.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:135) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) 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:1174) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6746) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:558) 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:134) Caused by: java.lang.NullPointerException at org.pentaho.ui.xul.swt.tags.SwtTabbox.updateTabState(SwtTabbox.java:231) at org.pentaho.ui.xul.swt.tags.SwtTab.setLabel(SwtTab.java:54) at org.pentaho.agilebi.spoon.perspective.AbstractPerspective.setNameForTab(AbstractPerspective.java:257) at org.pentaho.agilebi.spoon.visualizations.analyzer.AnalyzerVisualization.createTabForBrowser(AnalyzerVisualization.java:233) at org.pentaho.agilebi.spoon.visualizations.analyzer.AnalyzerVisualization.createVisualizationFromModel(AnalyzerVisualization.java:199) ... 24 more

    Pentaho BI Platform Tracking | 6 years ago | Jordan Ganoff
    java.lang.RuntimeException: java.lang.NullPointerException
  3. 0

    java.lang.NullPointerException at org.pentaho.ui.xul.swt.tags.SwtTabbox.updateTabState(SwtTabbox.java:214) at org.pentaho.ui.xul.swt.tags.SwtTab.setLabel(SwtTab.java:54) at org.pentaho.agilebi.pdi.perspective.AbstractPerspective.setNameForTab(AbstractPerspective.java:265) at org.pentaho.agilebi.pdi.perspective.AgileBiModelerPerspective.createTabForModel(AgileBiModelerPerspective.java:132) at org.pentaho.agilebi.pdi.modeler.ModelerHelper.createModelerTabFromOutputStep(ModelerHelper.java:86) at org.pentaho.agilebi.pdi.modeler.ModelerHelper.openModeler(ModelerHelper.java:141) 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.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:325) 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(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)

    Pentaho BI Platform Tracking | 6 years ago | Jordan Ganoff
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.NullPointerException at org.pentaho.ui.xul.swt.tags.SwtTabbox.updateTabState(SwtTabbox.java:214) at org.pentaho.ui.xul.swt.tags.SwtTab.setLabel(SwtTab.java:54) at org.pentaho.agilebi.pdi.perspective.AbstractPerspective.setNameForTab(AbstractPerspective.java:265) at org.pentaho.agilebi.pdi.perspective.AgileBiModelerPerspective.createTabForModel(AgileBiModelerPerspective.java:132) at org.pentaho.agilebi.pdi.modeler.ModelerHelper.createModelerTabFromOutputStep(ModelerHelper.java:86) at org.pentaho.agilebi.pdi.modeler.ModelerHelper.openModeler(ModelerHelper.java:141) 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.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:325) 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(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)

    Pentaho BI Platform Tracking | 6 years ago | Jordan Ganoff
    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.ui.xul.swt.tags.SwtTabbox.updateTabState()
    2. org.pentaho.ui
      SwtTab.setLabel
      1. org.pentaho.ui.xul.swt.tags.SwtTabbox.updateTabState(SwtTabbox.java:231)
      2. org.pentaho.ui.xul.swt.tags.SwtTab.setLabel(SwtTab.java:54)
      2 frames
    3. org.pentaho.agilebi
      ModelerHelper.quickVisualizeTableOutputStep
      1. org.pentaho.agilebi.spoon.perspective.AbstractPerspective.setNameForTab(AbstractPerspective.java:257)
      2. org.pentaho.agilebi.spoon.visualizations.analyzer.AnalyzerVisualization.createTabForBrowser(AnalyzerVisualization.java:233)
      3. org.pentaho.agilebi.spoon.visualizations.analyzer.AnalyzerVisualization.createVisualizationFromModel(AnalyzerVisualization.java:199)
      4. org.pentaho.agilebi.spoon.ModelerHelper.quickVisualize(ModelerHelper.java:355)
      5. org.pentaho.agilebi.spoon.ModelerHelper.quickVisualizeTableOutputStep(ModelerHelper.java:276)
      5 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. org.pentaho.ui
      SwtMenuitem$1.widgetSelected
      1. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329)
      2. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:135)
      3. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123)
      4. org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:27)
      5. org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:77)
      5 frames
    6. 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
    7. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1174)
      2. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6746)
      3. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:558)
      3 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    9. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
      1 frame