Program: 96203
Project: 96203
Buggy source:
/** 
 * parses command line parameter and set them into job object
 * @param cmd CommandLine
 */
public void parseJobOptions(CommandLine cmd){
  if (cmd.hasOption(ClientTestStrings.PROJECT)) {
    setProjectName(cmd.getOptionValue(ClientTestStrings.PROJECT));
  }
  if (cmd.hasOption(ClientTestStrings.PROJECT_VERSION)) {
    String[] numbers=cmd.getOptionValue(ClientTestStrings.PROJECT_VERSION).split("String_Node_Str");
    if (numbers.length == 2) {
      try {
        setProjectMajor(Integer.parseInt(numbers[0]));
        setProjectMinor(Integer.parseInt(numbers[1]));
      }
 catch (      NumberFormatException nfe) {
      }
    }
  }
  if (cmd.hasOption(ClientTestStrings.SERVER)) {
    setServer(cmd.getOptionValue(ClientTestStrings.SERVER));
  }
  if (cmd.hasOption(ClientTestStrings.PORT)) {
    setPort(cmd.getOptionValue(ClientTestStrings.PORT));
  }
  parseDBOptions(cmd);
  if (cmd.hasOption(ClientTestStrings.RESULTDIR)) {
    setResultDir(cmd.getOptionValue(ClientTestStrings.RESULTDIR));
  }
  if (cmd.hasOption(ClientTestStrings.AUT_CONFIG)) {
    setAutConfigName(cmd.getOptionValue(ClientTestStrings.AUT_CONFIG));
  }
  if (cmd.hasOption(ClientTestStrings.AUT_ID)) {
    String autIdString=cmd.getOptionValue(ClientTestStrings.AUT_ID);
    if (autIdString != null) {
      setAutId(new AutIdentifier(autIdString));
    }
  }
  if (cmd.hasOption(ClientTestStrings.DATA_DIR)) {
    setDataDir(cmd.getOptionValue(ClientTestStrings.DATA_DIR));
  }
  if (cmd.hasOption(ClientTestStrings.LANGUAGE)) {
    setLanguage(LocaleUtil.convertStrToLocale(cmd.getOptionValue(ClientTestStrings.LANGUAGE)));
  }
  if (cmd.hasOption(ClientTestStrings.TESTSUITE)) {
    setTestSuiteName(cmd.getOptionValue(ClientTestStrings.TESTSUITE));
  }
  if (cmd.hasOption(ClientTestStrings.TESTJOB)) {
    setTestJobName(cmd.getOptionValue(ClientTestStrings.TESTJOB));
  }
  if (cmd.hasOption(ClientTestStrings.AUTO_SCREENSHOT)) {
    setAutoScreenshot(false);
  }
  if (cmd.hasOption(ClientTestStrings.TEST_EXECUTION_RELEVANT)) {
    setRelevant(false);
  }
  if (cmd.hasOption(ClientTestStrings.TIMEOUT)) {
    try {
      setTimeout(Integer.parseInt(cmd.getOptionValue(ClientTestStrings.TIMEOUT)));
    }
 catch (    NumberFormatException e) {
      setTimeout(-1);
    }
  }
}

Fixed version (ground truth):
/** 
 * parses command line parameter and set them into job object
 * @param cmd CommandLine
 */
public void parseJobOptions(CommandLine cmd){
  if (cmd.hasOption(ClientTestStrings.PROJECT)) {
    setProjectName(cmd.getOptionValue(ClientTestStrings.PROJECT));
  }
  if (cmd.hasOption(ClientTestStrings.PROJECT_VERSION)) {
    String[] numbers=cmd.getOptionValue(ClientTestStrings.PROJECT_VERSION).split("String_Node_Str");
    if (numbers.length == 2) {
      try {
        setProjectMajor(Integer.parseInt(numbers[0]));
        setProjectMinor(Integer.parseInt(numbers[1]));
      }
 catch (      NumberFormatException nfe) {
      }
    }
  }
  if (cmd.hasOption(ClientTestStrings.SERVER)) {
    setServer(cmd.getOptionValue(ClientTestStrings.SERVER));
  }
  if (cmd.hasOption(ClientTestStrings.PORT)) {
    setPort(cmd.getOptionValue(ClientTestStrings.PORT));
  }
  parseDBOptions(cmd);
  if (cmd.hasOption(ClientTestStrings.RESULTDIR)) {
    setResultDir(cmd.getOptionValue(ClientTestStrings.RESULTDIR));
  }
  if (cmd.hasOption(ClientTestStrings.AUT_CONFIG)) {
    setAutConfigName(cmd.getOptionValue(ClientTestStrings.AUT_CONFIG));
  }
  if (cmd.hasOption(ClientTestStrings.AUT_ID)) {
    String autIdString=cmd.getOptionValue(ClientTestStrings.AUT_ID);
    if (autIdString != null) {
      setAutId(new AutIdentifier(autIdString));
    }
  }
  if (cmd.hasOption(ClientTestStrings.DATA_DIR)) {
    setDataDir(cmd.getOptionValue(ClientTestStrings.DATA_DIR));
  }
  if (cmd.hasOption(ClientTestStrings.LANGUAGE)) {
    setLanguage(LocaleUtil.convertStrToLocale(cmd.getOptionValue(ClientTestStrings.LANGUAGE)));
  }
  if (cmd.hasOption(ClientTestStrings.TESTSUITE)) {
    String tsName=cmd.getOptionValue(ClientTestStrings.TESTSUITE);
    List<String> tsNamesList=new ArrayList<String>();
    tsNamesList.add(tsName);
    setTestSuiteNames(tsNamesList);
  }
  if (cmd.hasOption(ClientTestStrings.TESTJOB)) {
    setTestJobName(cmd.getOptionValue(ClientTestStrings.TESTJOB));
  }
  if (cmd.hasOption(ClientTestStrings.AUTO_SCREENSHOT)) {
    setAutoScreenshot(false);
  }
  if (cmd.hasOption(ClientTestStrings.TEST_EXECUTION_RELEVANT)) {
    setRelevant(false);
  }
  if (cmd.hasOption(ClientTestStrings.TIMEOUT)) {
    try {
      setTimeout(Integer.parseInt(cmd.getOptionValue(ClientTestStrings.TIMEOUT)));
    }
 catch (    NumberFormatException e) {
      setTimeout(-1);
    }
  }
}