java.lang.NullPointerException

Pentaho BI Platform Tracking | Salman Shahzad | 1 year ago
  1. 0

    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

    Pentaho BI Platform Tracking | 1 year ago | Salman Shahzad
    java.lang.NullPointerException
  2. 0

    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

    Pentaho BI Platform Tracking | 1 year ago | Salman Shahzad
    java.lang.NullPointerException
  3. 0

    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}

    Pentaho BI Platform Tracking | 1 year ago | Ryan Griffith
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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}

    Pentaho BI Platform Tracking | 1 year ago | Ryan Griffith
    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.trans.steps.googleanalytics.GaInputStepDialog$14.handleEvent()
    2. org.pentaho.di
      GaInputStepDialog$14.handleEvent
      1. org.pentaho.di.ui.trans.steps.googleanalytics.GaInputStepDialog$14.handleEvent(GaInputStepDialog.java:870)
      1 frame
    3. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      2. org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      6. org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source)
      7. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      8. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      8 frames
    4. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1319)
      2. org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939)
      3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9190)
      4. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654)
      4 frames
    5. 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