Program: 80286
Project: 80286
Buggy source:
@SuppressWarnings("String_Node_Str") protected void setUp(){
  try {
    this.fileSplits=generateWorkerSplits(this.props.getProperty(GuaguaConstants.GUAGUA_INPUT_DIR));
  }
 catch (  IOException e) {
    throw new GuaguaRuntimeException(e);
  }
  this.executor=Executors.newFixedThreadPool(this.fileSplits.size() + 1);
  this.props.setProperty(GuaguaConstants.GUAGUA_MASTER_SYSTEM_INTERCEPTERS,LocalMasterCoordinator.class.getName());
  this.props.setProperty(GuaguaConstants.GUAGUA_WORKER_SYSTEM_INTERCEPTERS,LocalWorkerCoordinator.class.getName());
  this.props.setProperty(GuaguaConstants.GUAGUA_WORKER_NUMBER,this.fileSplits.size() + "String_Node_Str");
  this.iteration=Integer.parseInt(this.props.getProperty(GuaguaConstants.GUAGUA_ITERATION_COUNT));
  this.workerServices=new ArrayList<GuaguaService>();
  this.masterService=new GuaguaMasterService<MASTER_RESULT,WORKER_RESULT>();
  InMemoryCoordinator<MASTER_RESULT,WORKER_RESULT> coordinator=new InMemoryCoordinator<MASTER_RESULT,WORKER_RESULT>(this.fileSplits.size(),this.iteration);
  this.masterService.setAppId(GUAGUA_UNIT_TEST);
  this.masterService.setContainerId("String_Node_Str");
  ((GuaguaMasterService<MASTER_RESULT,WORKER_RESULT>)this.masterService).setCoordinator(coordinator);
  this.masterService.init(this.props);
  for (int i=0; i < this.fileSplits.size(); i++) {
    GuaguaService workerService=new GuaguaWorkerService<MASTER_RESULT,WORKER_RESULT>();
    workerService.setAppId(GUAGUA_UNIT_TEST);
    workerService.setContainerId((i + 1) + "String_Node_Str");
    workerService.setSplits(Arrays.asList(this.fileSplits.get(i)));
    ((GuaguaWorkerService<MASTER_RESULT,WORKER_RESULT>)workerService).setCoordinator(coordinator);
    workerService.init(this.props);
    this.workerServices.add(workerService);
  }
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") protected void setUp(){
  try {
    this.fileSplits=generateWorkerSplits(this.props.getProperty(GuaguaConstants.GUAGUA_INPUT_DIR));
  }
 catch (  IOException e) {
    throw new GuaguaRuntimeException(e);
  }
  this.executor=Executors.newFixedThreadPool(this.fileSplits.size() + 1,new UtDefaultThreadFactory());
  this.props.setProperty(GuaguaConstants.GUAGUA_MASTER_SYSTEM_INTERCEPTERS,LocalMasterCoordinator.class.getName());
  this.props.setProperty(GuaguaConstants.GUAGUA_WORKER_SYSTEM_INTERCEPTERS,LocalWorkerCoordinator.class.getName());
  this.props.setProperty(GuaguaConstants.GUAGUA_WORKER_NUMBER,this.fileSplits.size() + "String_Node_Str");
  this.iteration=Integer.parseInt(this.props.getProperty(GuaguaConstants.GUAGUA_ITERATION_COUNT));
  this.workerServices=new ArrayList<GuaguaService>();
  this.masterService=new GuaguaMasterService<MASTER_RESULT,WORKER_RESULT>();
  InMemoryCoordinator<MASTER_RESULT,WORKER_RESULT> coordinator=new InMemoryCoordinator<MASTER_RESULT,WORKER_RESULT>(this.fileSplits.size(),this.iteration);
  this.masterService.setAppId(GUAGUA_UNIT_TEST);
  this.masterService.setContainerId("String_Node_Str");
  ((GuaguaMasterService<MASTER_RESULT,WORKER_RESULT>)this.masterService).setCoordinator(coordinator);
  this.masterService.init(this.props);
  for (int i=0; i < this.fileSplits.size(); i++) {
    GuaguaService workerService=new GuaguaWorkerService<MASTER_RESULT,WORKER_RESULT>();
    workerService.setAppId(GUAGUA_UNIT_TEST);
    workerService.setContainerId((i + 1) + "String_Node_Str");
    workerService.setSplits(Arrays.asList(this.fileSplits.get(i)));
    ((GuaguaWorkerService<MASTER_RESULT,WORKER_RESULT>)workerService).setCoordinator(coordinator);
    workerService.init(this.props);
    this.workerServices.add(workerService);
  }
}