RowMetaInterface inputRowMeta = step.getInputRowMeta();
if (inputRowMeta == null) {
inputRowMeta = new RowMeta();
}
data.inputRowMeta = inputRowMeta.clone();
data.inputFieldNames = data.inputRowMeta.getFieldNames();
data.outputRowMeta = inputRowMeta.clone();
meta.getFields(data.outputRowMeta, step.getStepname(), null, null, step);