Program: 33274
Project: 33274
Buggy source:
@Override public void run(){
  LOGGER.info("String_Node_Str" + configuration.toString());
  try {
    Dataset dataset=(Dataset)configuration.datasetConfig.getDataset(configuration.type);
    if (dataset == null) {
      throw new GerbilException("String_Node_Str" + configuration.datasetConfig.getName() + "String_Node_Str"+ configuration.type.name()+ "String_Node_Str",ErrorTypes.DATASET_DOES_NOT_SUPPORT_EXPERIMENT);
    }
    Annotator annotator=(Annotator)configuration.annotatorConfig.getAnnotator(configuration.type);
    if (annotator == null) {
      throw new GerbilException("String_Node_Str" + configuration.annotatorConfig.getName() + "String_Node_Str"+ configuration.type.name()+ "String_Node_Str",ErrorTypes.ANNOTATOR_DOES_NOT_SUPPORT_EXPERIMENT);
    }
    Evaluator evaluator=EvaluatorFractory.createEvaluators(configuration);
    taskState=new ExperimentTaskState(dataset.size());
    EvaluationResult result=runExperiment(dataset,annotator,evaluator,taskState);
    int errorCount=0;
    if (annotator instanceof ErrorCounter) {
      errorCount=((ErrorCounter)annotator).getErrorCount();
    }
    double results[]=new double[6];
    transformResults(result,results);
    ExperimentTaskResult expResult=new ExperimentTaskResult(configuration,results,ExperimentDAO.TASK_FINISHED,errorCount);
    experimentDAO.setExperimentTaskResult(experimentTaskId,expResult);
    LOGGER.info("String_Node_Str" + configuration.toString());
  }
 catch (  GerbilException e) {
    LOGGER.error("String_Node_Str",e);
    experimentDAO.setExperimentState(experimentTaskId,e.getErrorType().getErrorCode());
  }
catch (  Exception e) {
    LOGGER.error("String_Node_Str",e);
  }
}

Fixed version (ground truth):
@Override public void run(){
  LOGGER.info("String_Node_Str" + configuration.toString());
  try {
    Dataset dataset=(Dataset)configuration.datasetConfig.getDataset(configuration.type);
    if (dataset == null) {
      throw new GerbilException("String_Node_Str" + configuration.datasetConfig.getName() + "String_Node_Str"+ configuration.type.name()+ "String_Node_Str",ErrorTypes.DATASET_DOES_NOT_SUPPORT_EXPERIMENT);
    }
    Annotator annotator=(Annotator)configuration.annotatorConfig.getAnnotator(configuration.type);
    if (annotator == null) {
      throw new GerbilException("String_Node_Str" + configuration.annotatorConfig.getName() + "String_Node_Str"+ configuration.type.name()+ "String_Node_Str",ErrorTypes.ANNOTATOR_DOES_NOT_SUPPORT_EXPERIMENT);
    }
    List<Evaluator<?>> evaluators=new ArrayList<Evaluator<?>>();
    evaluators.add(evFactory.createEvaluator(configuration,dataset));
    taskState=new ExperimentTaskState(dataset.size());
    EvaluationResult result=runExperiment(dataset,annotator,evaluators,taskState);
    int errorCount=0;
    if (annotator instanceof ErrorCounter) {
      errorCount=((ErrorCounter)annotator).getErrorCount();
    }
    double results[]=new double[6];
    transformResults(result,results);
    ExperimentTaskResult expResult=new ExperimentTaskResult(configuration,results,ExperimentDAO.TASK_FINISHED,errorCount);
    experimentDAO.setExperimentTaskResult(experimentTaskId,expResult);
    LOGGER.info("String_Node_Str" + configuration.toString());
  }
 catch (  GerbilException e) {
    LOGGER.error("String_Node_Str",e);
    experimentDAO.setExperimentState(experimentTaskId,e.getErrorType().getErrorCode());
  }
catch (  Exception e) {
    LOGGER.error("String_Node_Str",e);
  }
}