Details
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