Program: 58878
Project: 58878
Buggy source:
private void createData(){
  ArrayList<Integer> iAlStorageId=new ArrayList<Integer>();
  String sStorageIDs="String_Node_Str";
  sInputPattern="String_Node_Str" + "String_Node_Str";
  for (int iColIndex=2; iColIndex < previewTable.getColumnCount(); iColIndex++) {
    if (!arSkipColumn.get(iColIndex - 2).getSelection()) {
      sInputPattern=sInputPattern + "String_Node_Str" + "String_Node_Str";
      continue;
    }
 else {
      sInputPattern=sInputPattern + "String_Node_Str" + "String_Node_Str";
    }
    CmdDataCreateStorage cmdCreateStorage=(CmdDataCreateStorage)GeneralManager.get().getCommandManager().createCommandByType(ECommandType.CREATE_STORAGE);
    cmdCreateStorage.setAttributes(EManagedObjectType.STORAGE_NUMERICAL);
    cmdCreateStorage.doCommand();
    INumericalStorage storage=(INumericalStorage)cmdCreateStorage.getCreatedObject();
    String labelText=previewTable.getColumn(iColIndex).getText();
    storage.setLabel(labelText);
    iAlStorageId.add(storage.getID());
    if (!sStorageIDs.equals("String_Node_Str")) {
      sStorageIDs+=IGeneralManager.sDelimiter_Parser_DataItems;
    }
    sStorageIDs=sStorageIDs + storage.getID();
  }
  if (bUseClusterInfo) {
    sInputPattern+="String_Node_Str";
  }
  sInputPattern+="String_Node_Str";
  sFileName=txtFileName.getText();
  if (sFileName.equals("String_Node_Str")) {
    MessageDialog.openError(parentComposite.getShell(),"String_Node_Str","String_Node_Str");
    return;
  }
  CmdDataCreateSet cmdCreateSet=(CmdDataCreateSet)GeneralManager.get().getCommandManager().createCommandByType(ECommandType.CREATE_SET_DATA);
  cmdCreateSet.setAttributes(iAlStorageId,ESetType.GENE_EXPRESSION_DATA);
  cmdCreateSet.doCommand();
  ISet set=cmdCreateSet.getCreatedObject();
  iCreatedSetID=set.getID();
  CmdLoadFileNStorages cmdLoadCsv=(CmdLoadFileNStorages)GeneralManager.get().getCommandManager().createCommandByType(ECommandType.LOAD_DATA_FILE);
  cmdLoadCsv.setAttributes(iAlStorageId,sFileName,sInputPattern,sDelimiter,iStartParseFileAtLine + 2 - 1,-1);
  cmdLoadCsv.doCommand();
  CmdLoadFileLookupTable cmdLoadLookupTableFile=(CmdLoadFileLookupTable)GeneralManager.get().getCommandManager().createCommandByType(ECommandType.LOAD_LOOKUP_TABLE_FILE);
  cmdLoadLookupTableFile.setAttributes(sFileName,iStartParseFileAtLine,-1,"String_Node_Str",sDelimiter,"String_Node_Str");
  cmdLoadLookupTableFile.doCommand();
  if (!txtMin.getText().isEmpty()) {
    float fMin=Float.parseFloat(txtMin.getText());
    if (!Float.isNaN(fMin)) {
      set.setMin(fMin);
    }
  }
  if (!txtMax.getText().isEmpty()) {
    float fMax=Float.parseFloat(txtMax.getText());
    if (!Float.isNaN(fMax)) {
      set.setMax(fMax);
    }
  }
  if (sDataRepMode.equals("String_Node_Str")) {
    set.setExternalDataRepresentation(EExternalDataRepresentation.NORMAL,true);
  }
 else   if (sDataRepMode.equals("String_Node_Str")) {
    set.setExternalDataRepresentation(EExternalDataRepresentation.LOG10,true);
  }
 else   if (sDataRepMode.equals("String_Node_Str")) {
    set.setExternalDataRepresentation(EExternalDataRepresentation.LOG2,true);
  }
 else   throw new IllegalStateException("String_Node_Str");
}

Fixed version (ground truth):
private void createData(){
  ArrayList<Integer> iAlStorageId=new ArrayList<Integer>();
  String sStorageIDs="String_Node_Str";
  sInputPattern="String_Node_Str" + "String_Node_Str";
  for (int iColIndex=2; iColIndex < previewTable.getColumnCount(); iColIndex++) {
    if (!arSkipColumn.get(iColIndex - 2).getSelection()) {
      sInputPattern=sInputPattern + "String_Node_Str" + "String_Node_Str";
      continue;
    }
 else {
      sInputPattern=sInputPattern + "String_Node_Str" + "String_Node_Str";
    }
    CmdDataCreateStorage cmdCreateStorage=(CmdDataCreateStorage)GeneralManager.get().getCommandManager().createCommandByType(ECommandType.CREATE_STORAGE);
    cmdCreateStorage.setAttributes(EManagedObjectType.STORAGE_NUMERICAL);
    cmdCreateStorage.doCommand();
    INumericalStorage storage=(INumericalStorage)cmdCreateStorage.getCreatedObject();
    String labelText=previewTable.getColumn(iColIndex).getText();
    storage.setLabel(labelText);
    iAlStorageId.add(storage.getID());
    if (!sStorageIDs.equals("String_Node_Str")) {
      sStorageIDs+=IGeneralManager.sDelimiter_Parser_DataItems;
    }
    sStorageIDs=sStorageIDs + storage.getID();
  }
  if (bUseClusterInfo) {
    sInputPattern+="String_Node_Str";
  }
  sInputPattern+="String_Node_Str";
  sFileName=txtFileName.getText();
  if (sFileName.equals("String_Node_Str")) {
    MessageDialog.openError(parentComposite.getShell(),"String_Node_Str","String_Node_Str");
    return;
  }
  CmdDataCreateSet cmdCreateSet=(CmdDataCreateSet)GeneralManager.get().getCommandManager().createCommandByType(ECommandType.CREATE_SET_DATA);
  cmdCreateSet.setAttributes(iAlStorageId,ESetType.GENE_EXPRESSION_DATA);
  cmdCreateSet.doCommand();
  ISet set=cmdCreateSet.getCreatedObject();
  iCreatedSetID=set.getID();
  CmdLoadFileNStorages cmdLoadCsv=(CmdLoadFileNStorages)GeneralManager.get().getCommandManager().createCommandByType(ECommandType.LOAD_DATA_FILE);
  cmdLoadCsv.setAttributes(iAlStorageId,sFileName,sInputPattern,sDelimiter,iStartParseFileAtLine + 2 - 1,-1);
  cmdLoadCsv.doCommand();
  CmdLoadFileLookupTable cmdLoadLookupTableFile=(CmdLoadFileLookupTable)GeneralManager.get().getCommandManager().createCommandByType(ECommandType.LOAD_LOOKUP_TABLE_FILE);
  cmdLoadLookupTableFile.setAttributes(sFileName,iStartParseFileAtLine + 2,-1,"String_Node_Str",sDelimiter,"String_Node_Str");
  cmdLoadLookupTableFile.doCommand();
  if (!txtMin.getText().isEmpty()) {
    float fMin=Float.parseFloat(txtMin.getText());
    if (!Float.isNaN(fMin)) {
      set.setMin(fMin);
    }
  }
  if (!txtMax.getText().isEmpty()) {
    float fMax=Float.parseFloat(txtMax.getText());
    if (!Float.isNaN(fMax)) {
      set.setMax(fMax);
    }
  }
  if (sDataRepMode.equals("String_Node_Str")) {
    set.setExternalDataRepresentation(EExternalDataRepresentation.NORMAL,true);
  }
 else   if (sDataRepMode.equals("String_Node_Str")) {
    set.setExternalDataRepresentation(EExternalDataRepresentation.LOG10,true);
  }
 else   if (sDataRepMode.equals("String_Node_Str")) {
    set.setExternalDataRepresentation(EExternalDataRepresentation.LOG2,true);
  }
 else   throw new IllegalStateException("String_Node_Str");
}