Program: 58925
Project: 58925
Buggy source:
public void export(ISet set,String sFileName,boolean bExportBucketInternal){
  IVirtualArray contentVA=null;
  IVirtualArray storageVA=null;
  Collection<AGLEventListener> views=GeneralManager.get().getViewGLCanvasManager().getAllGLEventListeners();
  for (  AGLEventListener view : views) {
    if (view instanceof GLParallelCoordinates && view.isRenderedRemote() && bExportBucketInternal) {
      contentVA=set.getVA(view.getContentVAID());
      storageVA=set.getVA(view.getStorageVAID());
      break;
    }
    if ((view instanceof GLParallelCoordinates || view instanceof GLHierarchicalHeatMap) && !bExportBucketInternal) {
      contentVA=set.getVA(view.getContentVAID());
      storageVA=set.getVA(view.getStorageVAID());
      break;
    }
  }
  if (contentVA == null || storageVA == null)   throw new IllegalStateException("String_Node_Str");
  try {
    PrintWriter out=new PrintWriter(new BufferedWriter(new FileWriter(sFileName)));
    out.print("String_Node_Str");
    for (    Integer iStorageIndex : storageVA) {
      out.print(set.get(iStorageIndex).getLabel());
      out.print("String_Node_Str");
    }
    out.println();
    for (    Integer iContentIndex : contentVA) {
      IIDMappingManager iDMappingManager=GeneralManager.get().getIDMappingManager();
      Integer iRefseqMrnaInt=iDMappingManager.getID(EMappingType.EXPRESSION_INDEX_2_REFSEQ_MRNA_INT,iContentIndex);
      if (iRefseqMrnaInt == null) {
        continue;
      }
      String sRefseqMrna=iDMappingManager.getID(EMappingType.REFSEQ_MRNA_INT_2_REFSEQ_MRNA,iRefseqMrnaInt);
      out.print(sRefseqMrna + "String_Node_Str");
      for (      Integer iStorageIndex : storageVA) {
        IStorage storage=set.get(iStorageIndex);
        out.print(storage.getFloat(EDataRepresentation.RAW,iContentIndex));
        out.print("String_Node_Str");
      }
      out.println();
    }
    out.close();
  }
 catch (  IOException e) {
  }
}

Fixed version (ground truth):
public void export(ISet set,String sFileName,boolean bExportBucketInternal){
  IVirtualArray contentVA=null;
  IVirtualArray storageVA=null;
  Collection<AGLEventListener> views=GeneralManager.get().getViewGLCanvasManager().getAllGLEventListeners();
  for (  AGLEventListener view : views) {
    if (view instanceof GLParallelCoordinates && view.isRenderedRemote() && bExportBucketInternal) {
      contentVA=set.getVA(view.getContentVAID());
      storageVA=set.getVA(view.getStorageVAID());
      break;
    }
 else     if (!view.isRenderedRemote() && (view instanceof GLParallelCoordinates || view instanceof GLHierarchicalHeatMap) && !bExportBucketInternal) {
      contentVA=set.getVA(view.getContentVAID());
      storageVA=set.getVA(view.getStorageVAID());
      break;
    }
  }
  if (contentVA == null || storageVA == null)   throw new IllegalStateException("String_Node_Str");
  try {
    PrintWriter out=new PrintWriter(new BufferedWriter(new FileWriter(sFileName)));
    out.print("String_Node_Str");
    for (    Integer iStorageIndex : storageVA) {
      out.print(set.get(iStorageIndex).getLabel());
      out.print("String_Node_Str");
    }
    out.println();
    for (    Integer iContentIndex : contentVA) {
      IIDMappingManager iDMappingManager=GeneralManager.get().getIDMappingManager();
      Integer iRefseqMrnaInt=iDMappingManager.getID(EMappingType.EXPRESSION_INDEX_2_REFSEQ_MRNA_INT,iContentIndex);
      if (iRefseqMrnaInt == null) {
        continue;
      }
      String sRefseqMrna=iDMappingManager.getID(EMappingType.REFSEQ_MRNA_INT_2_REFSEQ_MRNA,iRefseqMrnaInt);
      out.print(sRefseqMrna + "String_Node_Str");
      for (      Integer iStorageIndex : storageVA) {
        IStorage storage=set.get(iStorageIndex);
        out.print(storage.getFloat(EDataRepresentation.RAW,iContentIndex));
        out.print("String_Node_Str");
      }
      out.println();
    }
    out.close();
  }
 catch (  IOException e) {
  }
}