Program: 90073
Project: 90073
Buggy source:
/** 
 * Initialise everything.
 * @param itConfigFileName Name of configuration file.
 * @param netarchiveSuiteFileName Name of installation file.
 * @param secPolicyFileName Name of security policy file.
 * @param logPropFileName Name of the log property file.
 * @param outputDirName Directory for the output.
 * @param dbFileName Name of the database.
 * @param resetDir Whether the temporary directory should be reset.
 */
public DeployConfiguration(File itConfigFileName,File netarchiveSuiteFileName,File secPolicyFileName,File logPropFileName,String outputDirName,File dbFileName,boolean resetDir){
  ArgumentNotValid.checkNotNull(itConfigFileName,"String_Node_Str");
  ArgumentNotValid.checkNotNull(netarchiveSuiteFileName,"String_Node_Str");
  ArgumentNotValid.checkNotNull(secPolicyFileName,"String_Node_Str");
  ArgumentNotValid.checkNotNull(logPropFileName,"String_Node_Str");
  ArgumentNotValid.checkNotNull(resetDir,"String_Node_Str");
  itConfigFile=itConfigFileName;
  netarchiveSuiteFile=netarchiveSuiteFileName;
  secPolicyFile=secPolicyFileName;
  logPropFile=logPropFileName;
  databaseFileName=dbFileName;
  resetDirectory=resetDir;
  config=new XmlStructure(itConfigFile);
  settings=new XmlStructure(config.getChild(Constants.SETTINGS_BRANCH));
  machineParam=new Parameters(config);
  if (outputDirName == null) {
    outputDirName="String_Node_Str" + config.getSubChildValue(Constants.ENVIRONMENT_NAME_TOTAL_PATH_LEAF) + "String_Node_Str";
  }
  outputDir=new File(outputDirName);
  FileUtils.createDir(outputDir);
  extractElements();
}

Fixed version (ground truth):
/** 
 * Initialise everything.
 * @param itConfigFileName Name of configuration file.
 * @param netarchiveSuiteFileName Name of installation file.
 * @param secPolicyFileName Name of security policy file.
 * @param logPropFileName Name of the log property file.
 * @param outputDirName Directory for the output.
 * @param dbFileName Name of the database.
 * @param resetDir Whether the temporary directory should be reset.
 */
public DeployConfiguration(File itConfigFileName,File netarchiveSuiteFileName,File secPolicyFileName,File logPropFileName,String outputDirName,File dbFileName,boolean resetDir){
  ArgumentNotValid.checkNotNull(itConfigFileName,"String_Node_Str");
  ArgumentNotValid.checkNotNull(netarchiveSuiteFileName,"String_Node_Str");
  ArgumentNotValid.checkNotNull(secPolicyFileName,"String_Node_Str");
  ArgumentNotValid.checkNotNull(logPropFileName,"String_Node_Str");
  ArgumentNotValid.checkNotNull(resetDir,"String_Node_Str");
  itConfigFile=itConfigFileName;
  netarchiveSuiteFile=netarchiveSuiteFileName;
  secPolicyFile=secPolicyFileName;
  logPropFile=logPropFileName;
  databaseFileName=dbFileName;
  resetDirectory=resetDir;
  config=new XmlStructure(itConfigFile);
  settings=new XmlStructure(config.getChild(Constants.COMPLETE_SETTINGS_BRANCH));
  machineParam=new Parameters(config);
  if (outputDirName == null) {
    outputDirName="String_Node_Str" + config.getSubChildValue(Constants.COMPLETE_ENVIRONMENT_NAME_LEAF) + "String_Node_Str";
  }
  outputDir=new File(outputDirName);
  FileUtils.createDir(outputDir);
  extractElements();
}