Program: 105490
Project: 105490
Buggy source:
@Override public boolean configure(final String name,final Map<String,Object> xmlParams) throws ConfigurationException {
  _serverId=_msServer.getId();
  Map<String,String> params=new HashMap<String,String>();
  params=_configDao.getConfiguration(Long.toHexString(_serverId),xmlParams);
  String value=params.get(Config.HAWorkers.key());
  final int count=NumbersUtil.parseInt(value,1);
  _workers=new WorkerThread[count];
  for (int i=0; i < _workers.length; i++) {
    _workers[i]=new WorkerThread("String_Node_Str" + i);
  }
  value=params.get("String_Node_Str");
  _forceHA=Boolean.parseBoolean(value);
  value=params.get("String_Node_Str");
  _timeToSleep=NumbersUtil.parseInt(value,60) * 1000;
  value=params.get("String_Node_Str");
  _maxRetries=NumbersUtil.parseInt(value,5);
  value=params.get("String_Node_Str");
  _timeBetweenFailures=NumbersUtil.parseLong(value,3600) * 1000;
  value=params.get("String_Node_Str");
  _timeBetweenCleanups=NumbersUtil.parseLong(value,3600 * 24);
  value=params.get("String_Node_Str");
  _stopRetryInterval=NumbersUtil.parseInt(value,10 * 60);
  value=params.get("String_Node_Str");
  _restartRetryInterval=NumbersUtil.parseInt(value,10 * 60);
  value=params.get("String_Node_Str");
  _investigateRetryInterval=NumbersUtil.parseInt(value,1 * 60);
  value=params.get("String_Node_Str");
  _migrateRetryInterval=NumbersUtil.parseInt(value,2 * 60);
  _instance=params.get("String_Node_Str");
  if (_instance == null) {
    _instance="String_Node_Str";
  }
  _haTag=params.get("String_Node_Str");
  _haDao.releaseWorkItems(_serverId);
  _stopped=true;
  _executor=Executors.newScheduledThreadPool(count,new NamedThreadFactory("String_Node_Str"));
  return true;
}

Fixed version (ground truth):
@Override public boolean configure(final String name,final Map<String,Object> xmlParams) throws ConfigurationException {
  _serverId=_msServer.getId();
  Map<String,String> params=new HashMap<String,String>();
  params=_configDao.getConfiguration(Long.toHexString(_serverId),xmlParams);
  String value=params.get(Config.HAWorkers.key());
  final int count=NumbersUtil.parseInt(value,1);
  _workers=new WorkerThread[count];
  for (int i=0; i < _workers.length; i++) {
    _workers[i]=new WorkerThread("String_Node_Str" + i);
  }
  value=params.get("String_Node_Str");
  _forceHA=Boolean.parseBoolean(value);
  value=params.get("String_Node_Str");
  _timeToSleep=(long)NumbersUtil.parseInt(value,60) * 1000;
  value=params.get("String_Node_Str");
  _maxRetries=NumbersUtil.parseInt(value,5);
  value=params.get("String_Node_Str");
  _timeBetweenFailures=NumbersUtil.parseLong(value,3600) * 1000;
  value=params.get("String_Node_Str");
  _timeBetweenCleanups=NumbersUtil.parseLong(value,3600 * 24);
  value=params.get("String_Node_Str");
  _stopRetryInterval=NumbersUtil.parseInt(value,10 * 60);
  value=params.get("String_Node_Str");
  _restartRetryInterval=NumbersUtil.parseInt(value,10 * 60);
  value=params.get("String_Node_Str");
  _investigateRetryInterval=NumbersUtil.parseInt(value,1 * 60);
  value=params.get("String_Node_Str");
  _migrateRetryInterval=NumbersUtil.parseInt(value,2 * 60);
  _instance=params.get("String_Node_Str");
  if (_instance == null) {
    _instance="String_Node_Str";
  }
  _haTag=params.get("String_Node_Str");
  _haDao.releaseWorkItems(_serverId);
  _stopped=true;
  _executor=Executors.newScheduledThreadPool(count,new NamedThreadFactory("String_Node_Str"));
  return true;
}