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.

  • Hi PDI Team, I am trying to get data via Google Analytics API but I am getting unexpected error. I want to get {ga:transactionId, ga:eventLabel} from Google Analytics API on Mac OS. But this combination is crashing. I am new to this platform. I am missing something ? {java.lang.NullPointerException at org.pentaho.di.ui.trans.steps.googleanalytics.GaInputStepDialog$14.handleEvent(GaInputStepDialog.java:870) 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:1319) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9190) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654) 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:92)} BR,Salman
    via by Salman Shahzad,
  • Hi PDI Team, I am trying to get data via Google Analytics API but I am getting unexpected error. I want to get {ga:transactionId, ga:eventLabel} from Google Analytics API on Mac OS. But this combination is crashing. I am new to this platform. I am missing something ? {java.lang.NullPointerException at org.pentaho.di.ui.trans.steps.googleanalytics.GaInputStepDialog$14.handleEvent(GaInputStepDialog.java:870) 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:1319) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9190) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654) 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:92)} BR,Salman
    via by Salman Shahzad,
  • Receiving exceptions that are seemingly related to Google Analytics goals being used (or not used) at the web property as well as having to do with the number of different dimensions are specified. I've attached a transformation with produces the error. Unfortunately I cannot give you a completely reproducible error due to the fact that I will not be including my GA credentials in the trans. If I point the GA Input Step to a different site, the behavior changes and I will not receive an exception. {code:title=Exception|borderStyle=solid} 2015/06/17 12:29:38 - Spoon - Transformation opened. 2015/06/17 12:29:38 - Spoon - Launching transformation [dummy_transformation]... 2015/06/17 12:29:38 - Spoon - Started the transformation execution. 2015/06/17 12:29:42 - Spoon - The transformation has finished!! 2015/06/17 12:39:15 - Spoon - The transformation has finished!! 2015/06/17 12:45:34 - Spoon - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : An unexpected error occurred in Spoon: 2015/06/17 12:45:34 - Spoon - null 2015/06/17 12:45:34 - Spoon - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : java.lang.NullPointerException 2015/06/17 12:45:34 - Spoon - at org.pentaho.di.ui.trans.steps.googleanalytics.GaInputStepDialog$14.handleEvent(GaInputStepDialog.java:870) 2015/06/17 12:45:34 - Spoon - at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) 2015/06/17 12:45:34 - Spoon - at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) 2015/06/17 12:45:34 - Spoon - at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) 2015/06/17 12:45:34 - Spoon - at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) 2015/06/17 12:45:34 - Spoon - at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1319) 2015/06/17 12:45:34 - Spoon - at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939) 2015/06/17 12:45:34 - Spoon - at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9190) 2015/06/17 12:45:34 - Spoon - at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654) 2015/06/17 12:45:34 - Spoon - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2015/06/17 12:45:34 - Spoon - at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2015/06/17 12:45:34 - Spoon - at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2015/06/17 12:45:34 - Spoon - at java.lang.reflect.Method.invoke(Unknown Source) 2015/06/17 12:45:34 - Spoon - at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) 2015/06/17 12:48:08 - Spoon - Transformation opened. 2015/06/17 12:48:08 - Spoon - Launching transformation [itc_google_analytics_session_summary]... 2015/06/17 12:48:08 - Spoon - Started the transformation execution. 2015/06/17 12:48:15 - Spoon - Processing of transformation stopped. 2015/06/17 12:49:24 - Spoon - Processing of transformation stopped. 2015/06/17 12:57:38 - /data_warehouse/google_analytics/itc_google_analytics_session_summary - Dispatching started for transformation [/data_warehouse/google_analytics/itc_google_analytics_session_summary] 2015/06/17 12:57:39 - Get Stats (Lat Long) With Goals.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : Unexpected error 2015/06/17 12:57:39 - Get Stats (Lat Long) With Goals.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : java.lang.NullPointerException 2015/06/17 12:57:39 - Get Stats (Lat Long) With Goals.0 - at org.pentaho.di.trans.steps.googleanalytics.GaInputStep.getNextDataEntry(GaInputStep.java:270) 2015/06/17 12:57:39 - Get Stats (Lat Long) With Goals.0 - at org.pentaho.di.trans.steps.googleanalytics.GaInputStep.processRow(GaInputStep.java:93) 2015/06/17 12:57:39 - Get Stats (Lat Long) With Goals.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2015/06/17 12:57:39 - Get Stats (Lat Long) With Goals.0 - at java.lang.Thread.run(Unknown Source) 2015/06/17 12:57:39 - Get Stats (Lat Long) With Goals.0 - Finished processing (I=0, O=0, R=0, W=0, U=0, E=1) 2015/06/17 12:57:39 - /data_warehouse/google_analytics/itc_google_analytics_session_summary - Transformation detected one or more steps with errors. 2015/06/17 12:57:39 - /data_warehouse/google_analytics/itc_google_analytics_session_summary - Transformation is killing the other steps! {code}
    via by Ryan Griffith,
  • Receiving exceptions that are seemingly related to Google Analytics goals being used (or not used) at the web property as well as having to do with the number of different dimensions are specified. I've attached a transformation with produces the error. Unfortunately I cannot give you a completely reproducible error due to the fact that I will not be including my GA credentials in the trans. If I point the GA Input Step to a different site, the behavior changes and I will not receive an exception. {code:title=Exception|borderStyle=solid} 2015/06/17 12:29:38 - Spoon - Transformation opened. 2015/06/17 12:29:38 - Spoon - Launching transformation [dummy_transformation]... 2015/06/17 12:29:38 - Spoon - Started the transformation execution. 2015/06/17 12:29:42 - Spoon - The transformation has finished!! 2015/06/17 12:39:15 - Spoon - The transformation has finished!! 2015/06/17 12:45:34 - Spoon - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : An unexpected error occurred in Spoon: 2015/06/17 12:45:34 - Spoon - null 2015/06/17 12:45:34 - Spoon - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : java.lang.NullPointerException 2015/06/17 12:45:34 - Spoon - at org.pentaho.di.ui.trans.steps.googleanalytics.GaInputStepDialog$14.handleEvent(GaInputStepDialog.java:870) 2015/06/17 12:45:34 - Spoon - at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) 2015/06/17 12:45:34 - Spoon - at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) 2015/06/17 12:45:34 - Spoon - at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) 2015/06/17 12:45:34 - Spoon - at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) 2015/06/17 12:45:34 - Spoon - at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1319) 2015/06/17 12:45:34 - Spoon - at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939) 2015/06/17 12:45:34 - Spoon - at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9190) 2015/06/17 12:45:34 - Spoon - at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654) 2015/06/17 12:45:34 - Spoon - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2015/06/17 12:45:34 - Spoon - at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2015/06/17 12:45:34 - Spoon - at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2015/06/17 12:45:34 - Spoon - at java.lang.reflect.Method.invoke(Unknown Source) 2015/06/17 12:45:34 - Spoon - at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) 2015/06/17 12:48:08 - Spoon - Transformation opened. 2015/06/17 12:48:08 - Spoon - Launching transformation [itc_google_analytics_session_summary]... 2015/06/17 12:48:08 - Spoon - Started the transformation execution. 2015/06/17 12:48:15 - Spoon - Processing of transformation stopped. 2015/06/17 12:49:24 - Spoon - Processing of transformation stopped. 2015/06/17 12:57:38 - /data_warehouse/google_analytics/itc_google_analytics_session_summary - Dispatching started for transformation [/data_warehouse/google_analytics/itc_google_analytics_session_summary] 2015/06/17 12:57:39 - Get Stats (Lat Long) With Goals.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : Unexpected error 2015/06/17 12:57:39 - Get Stats (Lat Long) With Goals.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : java.lang.NullPointerException 2015/06/17 12:57:39 - Get Stats (Lat Long) With Goals.0 - at org.pentaho.di.trans.steps.googleanalytics.GaInputStep.getNextDataEntry(GaInputStep.java:270) 2015/06/17 12:57:39 - Get Stats (Lat Long) With Goals.0 - at org.pentaho.di.trans.steps.googleanalytics.GaInputStep.processRow(GaInputStep.java:93) 2015/06/17 12:57:39 - Get Stats (Lat Long) With Goals.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2015/06/17 12:57:39 - Get Stats (Lat Long) With Goals.0 - at java.lang.Thread.run(Unknown Source) 2015/06/17 12:57:39 - Get Stats (Lat Long) With Goals.0 - Finished processing (I=0, O=0, R=0, W=0, U=0, E=1) 2015/06/17 12:57:39 - /data_warehouse/google_analytics/itc_google_analytics_session_summary - Transformation detected one or more steps with errors. 2015/06/17 12:57:39 - /data_warehouse/google_analytics/itc_google_analytics_session_summary - Transformation is killing the other steps! {code}
    via by Ryan Griffith,
    • java.lang.NullPointerException at org.pentaho.di.ui.trans.steps.googleanalytics.GaInputStepDialog$14.handleEvent(GaInputStepDialog.java:870) 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:1319) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9190) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654) 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)
    No Bugmate found.