String[] expected = new String[] {};
String[] args = getInitialArgs(THROW_EXCEPTION_FILE);
args = ObjectArrays.concat(args, inputPath);
numExpectedExceptionRecords = 1;
if (pipelineType != PipelineType.memory) {
PipelineResult pipelineResult = runIntoSolr(args, expected);
Assert.assertTrue(pipelineResult.getStageResults().get(0).getCounterValue("morphline", "morphline.app.numRecords") > 0);
} else {
try {
runIntoSolr(args, expected);
Assert.fail();
} catch (MorphlineRuntimeException e) {