Program: 9807
Project: 9807
Buggy source:
/** 
 * Load the computed DL-Learner results from a file, which name corresponds to the loaded owl-file.
 */
@SuppressWarnings("String_Node_Str") private void parseEvaluationFile(){
  OWLOntology activeOnt=getOWLModelManager().getActiveOntology();
  URI uri=getOWLModelManager().getOntologyPhysicalURI(activeOnt);
  String resultFile=uri.toString().substring(0,uri.toString().lastIndexOf('.') + 1) + "String_Node_Str";
  InputStream fis=null;
  try {
    fis=new FileInputStream(new File(URI.create(resultFile)));
    ObjectInputStream o=new ObjectInputStream(fis);
    owlEquivalenceStandardMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
    owlEquivalenceFMeasureMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
    owlEquivalencePredaccMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
    owlEquivalenceJaccardMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
    owlEquivalenceGenFMeasureMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
    for (int i=1; i <= 5; i++) {
      o.readObject();
    }
    fastEquivalenceStandardMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
    fastEquivalenceFMeasureMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
    fastEquivalencePredaccMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
    fastEquivalenceJaccardMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
    fastEquivalenceGenFMeasureMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
    for (int i=1; i <= 5; i++) {
      o.readObject();
    }
    defaultEquivalenceMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
  }
 catch (  FileNotFoundException e) {
    e.printStackTrace();
  }
catch (  IOException e) {
    e.printStackTrace();
  }
catch (  ClassNotFoundException e) {
    e.printStackTrace();
  }
  classes.addAll(new TreeSet<NamedClass>(owlEquivalenceStandardMap.keySet()));
  progressBar.setMaximum(classes.size());
}

Fixed version (ground truth):
/** 
 * Load the computed DL-Learner results from a file, which name corresponds to the loaded owl-file.
 */
@SuppressWarnings("String_Node_Str") private void parseEvaluationFile(){
  OWLOntology activeOnt=getOWLModelManager().getActiveOntology();
  URI uri=getOWLModelManager().getOntologyPhysicalURI(activeOnt);
  String resultFile=uri.toString().substring(0,uri.toString().lastIndexOf('.') + 1) + "String_Node_Str";
  InputStream fis=null;
  try {
    fis=new FileInputStream(new File(URI.create(resultFile)));
    ObjectInputStream o=new ObjectInputStream(fis);
    owlEquivalenceStandardMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
    owlEquivalenceFMeasureMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
    owlEquivalencePredaccMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
    owlEquivalenceJaccardMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
    owlEquivalenceGenFMeasureMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
    fastEquivalenceStandardMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
    fastEquivalenceFMeasureMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
    fastEquivalencePredaccMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
    fastEquivalenceJaccardMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
    fastEquivalenceGenFMeasureMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
    defaultEquivalenceMap=(HashMap<NamedClass,List<EvaluatedDescriptionClass>>)o.readObject();
  }
 catch (  FileNotFoundException e) {
    e.printStackTrace();
  }
catch (  IOException e) {
    e.printStackTrace();
  }
catch (  ClassNotFoundException e) {
    e.printStackTrace();
  }
  classes.addAll(new TreeSet<NamedClass>(owlEquivalenceStandardMap.keySet()));
  progressBar.setMaximum(classes.size());
}