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

Array index out of bounds exception with metadata injection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: High
    • Resolution: Duplicate
    • Affects Version/s: 6.1.0.1 GA
    • Fix Version/s: 7.0.0 GA
    • Component/s: Step
    • Story Points:
      0
    • 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.
    • Steps to Reproduce:
      Hide

      Use attached example

      Show
      Use attached example

      Description

      In a REALLY simple metadata injection example, if you SAVE the metadata injected KTR and execute it, you get this error:

      2016/05/10 06:41:15 - [inject].[ETL Metadata Injection].[template].Generate Rows.0 - Finished processing (I=0, O=0, R=0, W=10, U=0, E=0)
      java.lang.ArrayIndexOutOfBoundsException: 0
              at org.pentaho.di.trans.steps.selectvalues.SelectValuesMeta.getSelectFields(SelectValuesMeta.java:293)
              at org.pentaho.di.trans.steps.selectvalues.SelectValues.processRow(SelectValues.java:362)
              at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
              at java.lang.Thread.run(Thread.java:745)
      
      

      However if you save but don't execute, then immediately execute the saved KTR it works fine. Also the saved KTR does seem to be correctly injected.

      I politely suggest this is high priority simply because of the metadata injection story Pentaho are currently trying to tell!

      This is using 6.1 ee

        PractiTest Integration




          Attachments

          1. inject.ktr
            14 kB
          2. template.ktr
            14 kB

            Issue Links

              Activity

                People

                Assignee:
                hfernandes Hilário Fernandes
                Reporter:
                camdk3 Dan Keeley (codek)
                Votes:
                3 Vote for this issue
                Watchers:
                10 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: