Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-7525

Google Analytics Input Step - NPE when running transformation

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Medium
    • Resolution: Fixed
    • Affects Version/s: 4.3.0 GA (4.5.0 GA Suite Release)
    • Fix Version/s: 6.0.0 GA
    • Component/s: Step
    • Labels:
      None
    • PDI Sub-component:
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      I have a Google Analytics Input Step connected to a Text file output step.

      I can preview my GAIS and get back the desired result, but when I try to run the transformation I get the following NPE:

      RROR 09-03 16:27:35,680 - Google Analytics Input
      RROR 09-03 16:27:35,681 - Google Analytics Input - Unexpected error
      RROR 09-03 16:27:35,682 - Google Analytics Input - java.lang.NullPointerException
      at org.pentaho.di.core.logging.Log4jKettleLayout.format(Log4jKettleLayout.java:72)
      at org.pentaho.di.core.logging.Log4jFileAppender.doAppend(Log4jFileAppender.java:89)
      at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65)
      at org.apache.log4j.Category.callAppenders(Category.java:203)
      at org.apache.log4j.Category.forcedLog(Category.java:388)
      at org.apache.log4j.Category.error(Category.java:302)
      at org.pentaho.di.core.logging.LogWriter.println(LogWriter.java:357)
      at org.pentaho.di.core.logging.LogWriter.println(LogWriter.java:365)
      at org.pentaho.di.core.logging.LogChannel.logError(LogChannel.java:81)
      at org.pentaho.di.trans.step.BaseStep.logError(BaseStep.java:2225)
      at org.pentaho.di.trans.steps.googleanalyticsinput.c.processRow(SourceFile:152)
      at org.pentaho.di.trans.step.RunThread.run(RunThread.java:50)
      at java.lang.Thread.run(Thread.java:662)

      My GAIS is configured to use a Start date/End date of 2008-01-01/2012-03-09 with a Metrics of ga:visits and a single Field of ga:visits/Integer

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                cboyden Curtis Boyden (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: