Program: 10167
Project: 10167
Buggy source:
/** 
 * Show Statistics.
 */
public void showStats(){
  Long algorithmRunTime=null;
  Long overallReasoningTime=null;
  Long instanceCheckReasoningTime=null;
  Long retrievalReasoningTime=null;
  Long subsumptionReasoningTime=null;
  infoArea.setText("String_Node_Str");
  if (config.getLearningAlgorithm().getCurrentlyBestDescriptions() != null) {
    infoArea.append("String_Node_Str" + getSolutionString(config.getLearningAlgorithm().getCurrentlyBestEvaluatedDescriptions(10)) + "String_Node_Str");
  }
  if (config.getAlgorithmRunTime() != null) {
    algorithmRunTime=config.getAlgorithmRunTime();
    bar[0].update(1.0);
    time[0].setText(makeTime(algorithmRunTime));
    percent[0].setText("String_Node_Str");
  }
  if (config.getReasoningService() != null) {
    overallReasoningTime=config.getReasoningService().getOverallReasoningTimeNs();
    bar[1].update((double)overallReasoningTime / (double)algorithmRunTime);
    time[1].setText(makeTime(overallReasoningTime));
    percent[1].setText(Percent(overallReasoningTime,algorithmRunTime));
  }
  if (config.getReasoningService().getNrOfInstanceChecks() > 0) {
    instanceCheckReasoningTime=config.getReasoningService().getInstanceCheckReasoningTimeNs();
    name[2].setText(names[2] + "String_Node_Str" + config.getReasoningService().getNrOfInstanceChecks()+ "String_Node_Str");
    bar[2].update((double)instanceCheckReasoningTime / (double)algorithmRunTime);
    time[2].setText(makeTime(instanceCheckReasoningTime));
    percent[2].setText(Percent(instanceCheckReasoningTime,algorithmRunTime));
  }
  if (config.getReasoningService().getNrOfRetrievals() > 0) {
    retrievalReasoningTime=config.getReasoningService().getRetrievalReasoningTimeNs();
    name[3].setText(names[3] + "String_Node_Str" + config.getReasoningService().getNrOfRetrievals()+ "String_Node_Str");
    bar[3].update((double)retrievalReasoningTime / (double)algorithmRunTime);
    time[3].setText(makeTime(retrievalReasoningTime));
    percent[3].setText(Percent(retrievalReasoningTime,algorithmRunTime));
  }
  if (config.getReasoningService().getNrOfSubsumptionChecks() > 0) {
    subsumptionReasoningTime=config.getReasoningService().getSubsumptionReasoningTimeNs();
    name[4].setText(names[4] + "String_Node_Str" + config.getReasoningService().getNrOfSubsumptionChecks()+ "String_Node_Str");
    bar[4].update((double)subsumptionReasoningTime / (double)algorithmRunTime);
    time[4].setText(makeTime(subsumptionReasoningTime));
    percent[4].setText(Percent(subsumptionReasoningTime,algorithmRunTime));
  }
  repaint();
}

Fixed version (ground truth):
/** 
 * Show Statistics.
 */
public void showStats(){
  System.out.println("String_Node_Str" + System.currentTimeMillis());
  Long algorithmRunTime=null;
  Long overallReasoningTime=null;
  Long instanceCheckReasoningTime=null;
  Long retrievalReasoningTime=null;
  Long subsumptionReasoningTime=null;
  infoArea.setText("String_Node_Str");
  if (config.getLearningAlgorithm().getCurrentlyBestDescription() != null) {
    infoArea.append("String_Node_Str" + getSolutionString(config.getLearningAlgorithm().getCurrentlyBestEvaluatedDescriptions(10)) + "String_Node_Str");
  }
  if (config.getAlgorithmRunTime() != null) {
    algorithmRunTime=config.getAlgorithmRunTime();
    bar[0].update(1.0);
    time[0].setText(makeTime(algorithmRunTime));
    percent[0].setText("String_Node_Str");
  }
  if (config.getReasoningService() != null) {
    overallReasoningTime=config.getReasoningService().getOverallReasoningTimeNs();
    bar[1].update((double)overallReasoningTime / (double)algorithmRunTime);
    time[1].setText(makeTime(overallReasoningTime));
    percent[1].setText(Percent(overallReasoningTime,algorithmRunTime));
  }
  if (config.getReasoningService().getNrOfInstanceChecks() > 0) {
    instanceCheckReasoningTime=config.getReasoningService().getInstanceCheckReasoningTimeNs();
    name[2].setText(names[2] + "String_Node_Str" + config.getReasoningService().getNrOfInstanceChecks()+ "String_Node_Str");
    bar[2].update((double)instanceCheckReasoningTime / (double)algorithmRunTime);
    time[2].setText(makeTime(instanceCheckReasoningTime));
    percent[2].setText(Percent(instanceCheckReasoningTime,algorithmRunTime));
  }
  if (config.getReasoningService().getNrOfRetrievals() > 0) {
    retrievalReasoningTime=config.getReasoningService().getRetrievalReasoningTimeNs();
    name[3].setText(names[3] + "String_Node_Str" + config.getReasoningService().getNrOfRetrievals()+ "String_Node_Str");
    bar[3].update((double)retrievalReasoningTime / (double)algorithmRunTime);
    time[3].setText(makeTime(retrievalReasoningTime));
    percent[3].setText(Percent(retrievalReasoningTime,algorithmRunTime));
  }
  if (config.getReasoningService().getNrOfSubsumptionChecks() > 0) {
    subsumptionReasoningTime=config.getReasoningService().getSubsumptionReasoningTimeNs();
    name[4].setText(names[4] + "String_Node_Str" + config.getReasoningService().getNrOfSubsumptionChecks()+ "String_Node_Str");
    bar[4].update((double)subsumptionReasoningTime / (double)algorithmRunTime);
    time[4].setText(makeTime(subsumptionReasoningTime));
    percent[4].setText(Percent(subsumptionReasoningTime,algorithmRunTime));
  }
  repaint();
}