Program: 58511
Project: 58511
Buggy source:
@Override @SuppressWarnings("String_Node_Str") public Object start(IApplicationContext context) throws Exception {
  if (System.getProperty("String_Node_Str").contains("String_Node_Str")) {
    bIsWindowsOS=true;
  }
  startViews=new ArrayList<String>();
  Map<String,Object> map=context.getArguments();
  rcpGuiBridge=new RCPBridge();
  caleydoCoreBootloader=new CaleydoBootloader(rcpGuiBridge);
  parseApplicationArguments(map);
  prefStore=GeneralManager.get().getPreferenceStore();
  Display display=PlatformUI.createDisplay();
  Shell shell=new Shell(display);
  GeneralManager.get().getViewGLCanvasManager().init();
  if (prefStore.getBoolean(PreferenceConstants.FIRST_START) && !isInternetConnectionOK()) {
    WizardDialog internetConfigurationWizard=new WizardDialog(shell,new InternetConfigurationWizard());
    internetConfigurationWizard.open();
  }
  if (sCaleydoXMLfile.equals("String_Node_Str")) {
    if (Application.applicationMode == EApplicationMode.PLEX_CLIENT) {
      Application.initData=GroupwareUtils.startPlexClient(serverAddress);
      GeneralManager.get().addUseCase(Application.initData.getUseCase());
    }
 else {
      WizardDialog projectWizardDialog=new WizardDialog(shell,new CaleydoProjectWizard(shell));
      projectWizardDialog.open();
      if (bDoExit) {
        shutdown();
        System.exit(0);
      }
    }
    if (sCaleydoXMLfile.equals("String_Node_Str")) {
switch (applicationMode) {
case GENE_EXPRESSION_SAMPLE_DATA:
case GENE_EXPRESSION_NEW_DATA:
        sCaleydoXMLfile=BOOTSTRAP_FILE_GENE_EXPRESSION_MODE;
      GeneralManager.get().getUseCase(EDataDomain.GENETIC_DATA).setBootstrapFileName(sCaleydoXMLfile);
    break;
case UNSPECIFIED_NEW_DATA:
  sCaleydoXMLfile="String_Node_Str";
break;
case LOAD_PROJECT:
case COLLABORATION_CLIENT:
case PLEX_CLIENT:
sCaleydoXMLfile=GeneralManager.get().getUseCase(EDataDomain.GENETIC_DATA).getBootstrapFileName();
break;
default :
throw new IllegalStateException("String_Node_Str" + applicationMode);
}
}
}
 else {
isStartedFromXML=true;
}
if (bDeleteRestoredWorkbenchState) {
removeStoredWorkbenchState();
}
try {
applicationWorkbenchAdvisor=new ApplicationWorkbenchAdvisor();
int returnCode=PlatformUI.createAndRunWorkbench(display,applicationWorkbenchAdvisor);
GeneralManager.get().getPreferenceStore().setValue("String_Node_Str",false);
if (returnCode == PlatformUI.RETURN_RESTART) {
return IApplication.EXIT_RESTART;
}
 else {
return IApplication.EXIT_OK;
}
}
  finally {
if (!bDoExit) {
shutdown();
}
}
}

Fixed version (ground truth):
@Override @SuppressWarnings("String_Node_Str") public Object start(IApplicationContext context) throws Exception {
  if (System.getProperty("String_Node_Str").contains("String_Node_Str")) {
    bIsWindowsOS=true;
  }
  startViews=new ArrayList<String>();
  Map<String,Object> map=context.getArguments();
  rcpGuiBridge=new RCPBridge();
  caleydoCoreBootloader=new CaleydoBootloader(rcpGuiBridge);
  parseApplicationArguments(map);
  prefStore=GeneralManager.get().getPreferenceStore();
  Display display=PlatformUI.createDisplay();
  Shell shell=new Shell(display);
  GeneralManager.get().getViewGLCanvasManager().init();
  if (prefStore.getBoolean(PreferenceConstants.FIRST_START) && !isInternetConnectionOK()) {
    WizardDialog internetConfigurationWizard=new WizardDialog(shell,new InternetConfigurationWizard());
    internetConfigurationWizard.open();
  }
  if (sCaleydoXMLfile.equals("String_Node_Str")) {
    if (Application.applicationMode == EApplicationMode.PLEX_CLIENT) {
      Application.initData=GroupwareUtils.startPlexClient(serverAddress);
      GeneralManager.get().addUseCase(Application.initData.getUseCase());
    }
 else {
      WizardDialog projectWizardDialog=new WizardDialog(shell,new CaleydoProjectWizard(shell));
      projectWizardDialog.open();
      if (bDoExit) {
        shutdown();
        System.exit(0);
      }
    }
    if (sCaleydoXMLfile.equals("String_Node_Str")) {
switch (applicationMode) {
case GENE_EXPRESSION_SAMPLE_DATA:
case GENE_EXPRESSION_NEW_DATA:
        sCaleydoXMLfile=BOOTSTRAP_FILE_GENE_EXPRESSION_MODE;
      GeneralManager.get().getUseCase(EDataDomain.GENETIC_DATA).setBootstrapFileName(sCaleydoXMLfile);
    break;
case UNSPECIFIED_NEW_DATA:
  sCaleydoXMLfile="String_Node_Str";
break;
case SAMPLE_PROJECT:
case LOAD_PROJECT:
case COLLABORATION_CLIENT:
case PLEX_CLIENT:
sCaleydoXMLfile=GeneralManager.get().getUseCase(EDataDomain.GENETIC_DATA).getBootstrapFileName();
break;
default :
throw new IllegalStateException("String_Node_Str" + applicationMode);
}
}
}
 else {
isStartedFromXML=true;
}
if (bDeleteRestoredWorkbenchState) {
removeStoredWorkbenchState();
}
try {
applicationWorkbenchAdvisor=new ApplicationWorkbenchAdvisor();
int returnCode=PlatformUI.createAndRunWorkbench(display,applicationWorkbenchAdvisor);
GeneralManager.get().getPreferenceStore().setValue("String_Node_Str",false);
if (returnCode == PlatformUI.RETURN_RESTART) {
return IApplication.EXIT_RESTART;
}
 else {
return IApplication.EXIT_OK;
}
}
  finally {
if (!bDoExit) {
shutdown();
}
}
}