Program: 100705
Project: 100705
Buggy source:
private void parseInputParameters(final AbstractPipelineInput input) throws IOException {
  ditaDir=new File(input.getAttribute(ANT_INVOKER_EXT_PARAM_DITADIR));
  if (input.getAttribute(ANT_INVOKER_PARAM_DITAVAL) != null) {
    ditavalFile=new File(input.getAttribute(ANT_INVOKER_PARAM_DITAVAL));
  }
  xmlValidate=Boolean.valueOf(input.getAttribute(ANT_INVOKER_EXT_PARAM_VALIDATE));
  transtype=input.getAttribute(ANT_INVOKER_EXT_PARAM_TRANSTYPE);
  gramcache="String_Node_Str".equalsIgnoreCase(input.getAttribute(ANT_INVOKER_EXT_PARAM_GRAMCACHE));
  setSystemid="String_Node_Str".equalsIgnoreCase(input.getAttribute(ANT_INVOKER_EXT_PARAN_SETSYSTEMID));
  job.setGeneratecopyouter(input.getAttribute(ANT_INVOKER_EXT_PARAM_GENERATECOPYOUTTER));
  job.setOutterControl(input.getAttribute(ANT_INVOKER_EXT_PARAM_OUTTERCONTROL));
  job.setOnlyTopicInMap(input.getAttribute(ANT_INVOKER_EXT_PARAM_ONLYTOPICINMAP));
  final File path=new File(input.getAttribute(ANT_INVOKER_EXT_PARAM_OUTPUTDIR));
  if (path.isAbsolute()) {
    job.setOutputDir(path);
  }
 else {
    throw new IllegalArgumentException("String_Node_Str" + path + "String_Node_Str");
  }
  final String basedir=input.getAttribute(ANT_INVOKER_PARAM_BASEDIR);
  final String ditaInputDir=input.getAttribute(ANT_INVOKER_EXT_PARAM_INPUTDIR);
  if (ditaInputDir != null) {
    File inDir=new File(ditaInputDir);
    if (!inDir.isAbsolute()) {
      inDir=new File(basedir,ditaInputDir);
    }
    baseInputDir=inDir.getCanonicalFile();
  }
  final String ditaInput=input.getAttribute(ANT_INVOKER_PARAM_INPUTMAP);
  File inFile=new File(ditaInput);
  if (!inFile.isAbsolute()) {
    if (baseInputDir != null) {
      inFile=new File(baseInputDir,ditaInput);
    }
 else {
      inFile=new File(basedir,ditaInput);
    }
  }
  inFile=inFile.getCanonicalFile();
  if (baseInputDir == null) {
    baseInputDir=inFile.getParentFile().getCanonicalFile();
  }
  if (!ditaDir.isAbsolute()) {
    throw new IllegalArgumentException("String_Node_Str" + ditaDir + "String_Node_Str");
  }
 else {
    ditaDir=ditaDir.getCanonicalFile();
  }
  profilingEnabled=true;
  if (input.getAttribute(ANT_INVOKER_PARAM_PROFILING_ENABLED) != null) {
    profilingEnabled=Boolean.parseBoolean(input.getAttribute(ANT_INVOKER_PARAM_PROFILING_ENABLED));
  }
  if (profilingEnabled) {
    if (ditavalFile != null && !ditavalFile.isAbsolute()) {
      ditavalFile=new File(basedir,ditavalFile.getPath()).getAbsoluteFile();
    }
  }
  rootFile=inFile.getCanonicalFile().getAbsoluteFile();
  schemekeydefMap=new HashMap<String,KeyDef>();
  job.setInputFile(inFile);
}

Fixed version (ground truth):
private void parseInputParameters(final AbstractPipelineInput input) throws IOException {
  ditaDir=new File(input.getAttribute(ANT_INVOKER_EXT_PARAM_DITADIR));
  if (input.getAttribute(ANT_INVOKER_PARAM_DITAVAL) != null) {
    ditavalFile=new File(input.getAttribute(ANT_INVOKER_PARAM_DITAVAL));
  }
  xmlValidate=Boolean.valueOf(input.getAttribute(ANT_INVOKER_EXT_PARAM_VALIDATE));
  transtype=input.getAttribute(ANT_INVOKER_EXT_PARAM_TRANSTYPE);
  gramcache="String_Node_Str".equalsIgnoreCase(input.getAttribute(ANT_INVOKER_EXT_PARAM_GRAMCACHE));
  setSystemid="String_Node_Str".equalsIgnoreCase(input.getAttribute(ANT_INVOKER_EXT_PARAN_SETSYSTEMID));
  job.setGeneratecopyouter(input.getAttribute(ANT_INVOKER_EXT_PARAM_GENERATECOPYOUTTER));
  job.setOutterControl(input.getAttribute(ANT_INVOKER_EXT_PARAM_OUTTERCONTROL));
  job.setOnlyTopicInMap(input.getAttribute(ANT_INVOKER_EXT_PARAM_ONLYTOPICINMAP));
  final File path=new File(input.getAttribute(ANT_INVOKER_EXT_PARAM_OUTPUTDIR));
  if (path.isAbsolute()) {
    job.setOutputDir(path);
  }
 else {
    throw new IllegalArgumentException("String_Node_Str" + path + "String_Node_Str");
  }
  final String basedir=input.getAttribute(ANT_INVOKER_PARAM_BASEDIR);
  final String ditaInputDir=input.getAttribute(ANT_INVOKER_EXT_PARAM_INPUTDIR);
  if (ditaInputDir != null) {
    File inDir=new File(ditaInputDir);
    if (!inDir.isAbsolute()) {
      inDir=new File(basedir,ditaInputDir);
    }
    baseInputDir=inDir.getCanonicalFile();
  }
  final String ditaInput=input.getAttribute(ANT_INVOKER_PARAM_INPUTMAP);
  File inFile=new File(ditaInput);
  if (!inFile.isAbsolute()) {
    if (baseInputDir != null) {
      inFile=new File(baseInputDir,ditaInput);
    }
 else {
      inFile=new File(basedir,ditaInput);
    }
  }
  inFile=inFile.getCanonicalFile();
  if (baseInputDir == null) {
    baseInputDir=inFile.getParentFile().getCanonicalFile();
  }
  if (!ditaDir.isAbsolute()) {
    throw new IllegalArgumentException("String_Node_Str" + ditaDir + "String_Node_Str");
  }
 else {
    ditaDir=ditaDir.getCanonicalFile();
  }
  profilingEnabled=true;
  if (input.getAttribute(ANT_INVOKER_PARAM_PROFILING_ENABLED) != null) {
    profilingEnabled=Boolean.parseBoolean(input.getAttribute(ANT_INVOKER_PARAM_PROFILING_ENABLED));
  }
  if (profilingEnabled) {
    if (ditavalFile != null && !ditavalFile.isAbsolute()) {
      ditavalFile=new File(basedir,ditavalFile.getPath()).getAbsoluteFile();
    }
  }
  rootFile=inFile.getAbsoluteFile().toURI();
  schemekeydefMap=new HashMap<String,KeyDef>();
  job.setInputFile(inFile);
}