Program: 58188
Project: 58188
Buggy source:
/** 
 * Load trees as specified in loadDataParameters and write them to the set. FIXME: this is not aware of possibly alternative   {@link ContentVAType}s or   {@link StorageVAType}s
 * @param loadDataParameters
 * @param set
 */
public static void loadTrees(LoadDataParameters loadDataParameters,ISet set){
  String geneTreeFileName=loadDataParameters.getGeneTreeFileName();
  if (geneTreeFileName != null) {
    if (geneTreeFileName.equals("String_Node_Str") == false) {
      GeneralManager.get().getLogger().log(new Status(IStatus.INFO,IGeneralManager.PLUGIN_ID,"String_Node_Str" + geneTreeFileName));
      TreePorter treePorter=new TreePorter();
      Tree<ClusterNode> tree;
      try {
        tree=treePorter.importTree(geneTreeFileName);
        tree.setUseDefaultComparator(false);
        set.getContentData(ContentVAType.CONTENT).setContentTree(tree);
      }
 catch (      JAXBException e) {
        e.printStackTrace();
      }
catch (      FileNotFoundException e) {
      }
    }
  }
  String experimentsTreeFileName=loadDataParameters.getExperimentsFileName();
  if (experimentsTreeFileName != null) {
    if (experimentsTreeFileName.equals("String_Node_Str") == false) {
      GeneralManager.get().getLogger().log(new Status(IStatus.INFO,IGeneralManager.PLUGIN_ID,"String_Node_Str" + experimentsTreeFileName));
      TreePorter treePorter=new TreePorter();
      Tree<ClusterNode> tree;
      try {
        tree=treePorter.importStorageTree(experimentsTreeFileName);
        set.getStorageData(StorageVAType.STORAGE).setStorageTree(tree);
      }
 catch (      JAXBException e) {
        e.printStackTrace();
      }
catch (      FileNotFoundException e) {
      }
    }
  }
}

Fixed version (ground truth):
/** 
 * Load trees as specified in loadDataParameters and write them to the set. FIXME: this is not aware of possibly alternative   {@link ContentVAType}s or   {@link StorageVAType}s
 * @param loadDataParameters
 * @param set
 */
public static void loadTrees(LoadDataParameters loadDataParameters,ISet set){
  String geneTreeFileName=loadDataParameters.getGeneTreeFileName();
  if (geneTreeFileName != null) {
    if (geneTreeFileName.equals("String_Node_Str") == false) {
      GeneralManager.get().getLogger().log(new Status(IStatus.INFO,IGeneralManager.PLUGIN_ID,"String_Node_Str" + geneTreeFileName));
      TreePorter treePorter=new TreePorter();
      Tree<ClusterNode> tree;
      try {
        tree=treePorter.importTree(geneTreeFileName,set.getDataDomain().getContentIDType());
        tree.setUseDefaultComparator(false);
        set.getContentData(ContentVAType.CONTENT).setContentTree(tree);
      }
 catch (      JAXBException e) {
        e.printStackTrace();
      }
catch (      FileNotFoundException e) {
      }
    }
  }
  String experimentsTreeFileName=loadDataParameters.getExperimentsFileName();
  if (experimentsTreeFileName != null) {
    if (experimentsTreeFileName.equals("String_Node_Str") == false) {
      GeneralManager.get().getLogger().log(new Status(IStatus.INFO,IGeneralManager.PLUGIN_ID,"String_Node_Str" + experimentsTreeFileName));
      TreePorter treePorter=new TreePorter();
      Tree<ClusterNode> tree;
      try {
        tree=treePorter.importStorageTree(experimentsTreeFileName);
        set.getStorageData(StorageVAType.STORAGE).setStorageTree(tree);
      }
 catch (      JAXBException e) {
        e.printStackTrace();
      }
catch (      FileNotFoundException e) {
      }
    }
  }
}