Program: 58778
Project: 58778
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);
  IUseCase useCase=GeneralManager.get().getUseCase();
  if (useCase.getUseCaseMode() == EUseCaseMode.GENETIC_DATA) {
    cmdCreateSet.setAttributes(iAlStorageId,ESetType.GENE_EXPRESSION_DATA);
  }
 else   if (useCase.getUseCaseMode() == EUseCaseMode.UNSPECIFIED_DATA) {
    cmdCreateSet.setAttributes(iAlStorageId,ESetType.UNSPECIFIED);
  }
 else {
    throw new IllegalStateException("String_Node_Str");
  }
  cmdCreateSet.doCommand();
  CmdLoadFileNStorages cmdLoadCsv=(CmdLoadFileNStorages)GeneralManager.get().getCommandManager().createCommandByType(ECommandType.LOAD_DATA_FILE);
  cmdLoadCsv.setAttributes(iAlStorageId,sFileName,sGeneTreeFileName,sExperimentsFileName,sInputPattern,sDelimiter,iStartParseFileAtLine,-1);
  cmdLoadCsv.doCommand();
  CmdLoadFileLookupTable cmdLoadLookupTableFile=(CmdLoadFileLookupTable)GeneralManager.get().getCommandManager().createCommandByType(ECommandType.LOAD_LOOKUP_TABLE_FILE);
  if (useCase.getUseCaseMode() == EUseCaseMode.GENETIC_DATA) {
    cmdLoadLookupTableFile.setAttributes(sFileName,iStartParseFileAtLine,-1,"String_Node_Str",sDelimiter,"String_Node_Str");
  }
 else   if (useCase.getUseCaseMode() == EUseCaseMode.UNSPECIFIED_DATA) {
    cmdLoadLookupTableFile.setAttributes(sFileName,iStartParseFileAtLine,-1,"String_Node_Str",sDelimiter,"String_Node_Str");
  }
 else {
    throw new IllegalStateException("String_Node_Str");
  }
  cmdLoadLookupTableFile.doCommand();
  ISet set=useCase.getSet();
  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 (sMathFilterMode.equals("String_Node_Str")) {
    set.setExternalDataRepresentation(EExternalDataRepresentation.NORMAL,true);
  }
 else   if (sMathFilterMode.equals("String_Node_Str")) {
    set.setExternalDataRepresentation(EExternalDataRepresentation.LOG10,true);
  }
 else   if (sMathFilterMode.equals("String_Node_Str")) {
    set.setExternalDataRepresentation(EExternalDataRepresentation.LOG2,true);
  }
 else   throw new IllegalStateException("String_Node_Str");
  useCase.updateSetInViews();
}

Fixed version (ground truth):
private boolean 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 false;
  }
  CmdDataCreateSet cmdCreateSet=(CmdDataCreateSet)GeneralManager.get().getCommandManager().createCommandByType(ECommandType.CREATE_SET_DATA);
  IUseCase useCase=GeneralManager.get().getUseCase();
  if (useCase.getUseCaseMode() == EUseCaseMode.GENETIC_DATA) {
    cmdCreateSet.setAttributes(iAlStorageId,ESetType.GENE_EXPRESSION_DATA);
  }
 else   if (useCase.getUseCaseMode() == EUseCaseMode.UNSPECIFIED_DATA) {
    cmdCreateSet.setAttributes(iAlStorageId,ESetType.UNSPECIFIED);
  }
 else {
    throw new IllegalStateException("String_Node_Str");
  }
  cmdCreateSet.doCommand();
  CmdLoadFileNStorages cmdLoadCsv=(CmdLoadFileNStorages)GeneralManager.get().getCommandManager().createCommandByType(ECommandType.LOAD_DATA_FILE);
  cmdLoadCsv.setAttributes(iAlStorageId,sFileName,sGeneTreeFileName,sExperimentsFileName,sInputPattern,sDelimiter,iStartParseFileAtLine,-1);
  cmdLoadCsv.doCommand();
  if (!cmdLoadCsv.isParsingOK()) {
    return false;
  }
  CmdLoadFileLookupTable cmdLoadLookupTableFile=(CmdLoadFileLookupTable)GeneralManager.get().getCommandManager().createCommandByType(ECommandType.LOAD_LOOKUP_TABLE_FILE);
  if (useCase.getUseCaseMode() == EUseCaseMode.GENETIC_DATA) {
    cmdLoadLookupTableFile.setAttributes(sFileName,iStartParseFileAtLine,-1,"String_Node_Str",sDelimiter,"String_Node_Str");
  }
 else   if (useCase.getUseCaseMode() == EUseCaseMode.UNSPECIFIED_DATA) {
    cmdLoadLookupTableFile.setAttributes(sFileName,iStartParseFileAtLine,-1,"String_Node_Str",sDelimiter,"String_Node_Str");
  }
 else {
    throw new IllegalStateException("String_Node_Str");
  }
  cmdLoadLookupTableFile.doCommand();
  ISet set=useCase.getSet();
  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 (sMathFilterMode.equals("String_Node_Str")) {
    set.setExternalDataRepresentation(EExternalDataRepresentation.NORMAL,true);
  }
 else   if (sMathFilterMode.equals("String_Node_Str")) {
    set.setExternalDataRepresentation(EExternalDataRepresentation.LOG10,true);
  }
 else   if (sMathFilterMode.equals("String_Node_Str")) {
    set.setExternalDataRepresentation(EExternalDataRepresentation.LOG2,true);
  }
 else   throw new IllegalStateException("String_Node_Str");
  useCase.updateSetInViews();
  return true;
}