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

PATCH: ArrayIndexOutOfBoundsException thrown when cloning rows being fed into CSV input step

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Medium
    • Resolution: Fixed
    • Affects Version/s: 3.1.0 GA, 3.2.0 GA, 4.0.0 GA
    • Fix Version/s: 3.2.4, 4.0.0 GA
    • Component/s: None
    • Labels:
      None
    • 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.
    • Operating System/s:
      Windows XP

      Description

      When trying to clone the rows coming out of a "Get files from result" step so that they can be fed into a "CSV input" step and a "text file output" step it throws a ArrayIndexOutOfBoundsException in the "Get files from result" step.

      The section of the log showing the error:
      2009/04/07 10:46:10 - Get files from result.0 - ERROR (version 3.1.0, build 826 from 2008/09/30 12:32:36) : Unexpected error :
      2009/04/07 10:46:10 - Get files from result.0 - ERROR (version 3.1.0, build 826 from 2008/09/30 12:32:36) : java.lang.ArrayIndexOutOfBoundsException: 11
      2009/04/07 10:46:10 - Get files from result.0 - ERROR (version 3.1.0, build 826 from 2008/09/30 12:32:36) : at org.pentaho.di.core.row.RowMeta.cloneRow(RowMeta.java:313)
      2009/04/07 10:46:10 - Get files from result.0 - ERROR (version 3.1.0, build 826 from 2008/09/30 12:32:36) : at org.pentaho.di.trans.step.BaseStep.putRow(BaseStep.java:1092)
      2009/04/07 10:46:10 - Get files from result.0 - ERROR (version 3.1.0, build 826 from 2008/09/30 12:32:36) : at org.pentaho.di.trans.steps.filesfromresult.FilesFromResult.processRow(FilesFromResult.java:63)
      2009/04/07 10:46:10 - Get files from result.0 - ERROR (version 3.1.0, build 826 from 2008/09/30 12:32:36) : at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2664)
      2009/04/07 10:46:10 - Get files from result.0 - ERROR (version 3.1.0, build 826 from 2008/09/30 12:32:36) : at org.pentaho.di.trans.steps.filesfromresult.FilesFromResult.run(FilesFromResult.java:99)
      2009/04/07 10:46:10 - Get files from result.0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1)

      I'll attach a simple example shortly that trips this error.

        Attachments

        1. FilesFromResultMeta.java-diff
          1 kB
          Phillip Cole

          Issue Links

            Activity

              People

              Assignee:
              gdavid Golda Thomas
              Reporter:
              wselwood william selwood
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: