Program: 73681
Project: 73681
Buggy source:
public void initializeFrom(ILaunchConfiguration configuration){
  try {
    fMainText.setText(configuration.getAttribute(ATTR_REPORT_FILE_NAME,getDefaultFileName()));
    fEngineHome.setText(configuration.getAttribute(ATTR_ENGINE_HOME,"String_Node_Str"));
    fTempFolder.setText(configuration.getAttribute(ATTR_TEMP_FOLDER,getDefaultTempFolder()));
    bUseDefaultEngineHome.setSelection(configuration.getAttribute(ATTR_USE_DEFULT_ENGINE_HOME,true));
    fEngineHome.setEnabled(!bUseDefaultEngineHome.getSelection());
    engineHomeSearchButton.setEnabled(!bUseDefaultEngineHome.getSelection());
    engineHomeVariableButton.setEnabled(!bUseDefaultEngineHome.getSelection());
    ReportEngine engine=new ReportEngine(new EngineConfig());
    String[] supportedFormats=engine.getSupportedFormats();
    cmbOutputFormat.setItems(supportedFormats);
    String targetFormat=configuration.getAttribute(ATTR_TARGET_FORMAT,DEFAULT_OUTPUT_FORMAT);
    int idx=Arrays.asList(supportedFormats).indexOf(targetFormat);
    if (idx != -1) {
      cmbOutputFormat.select(idx);
    }
 else     if (supportedFormats.length > 0) {
      cmbOutputFormat.select(0);
    }
    bOpenTarget.setSelection(configuration.getAttribute(ATTR_OPEN_TARGET,false));
    int debugType=configuration.getAttribute(ATTR_DEBUG_TYPE,DEBUG_TYPE_ALL);
    int taskType=configuration.getAttribute(ATTR_TASK_TYPE,TASK_TYPE_RUN_AND_RENDER);
    bDebugAll.setSelection(false);
    bDebugJava.setSelection(false);
    bDebugScript.setSelection(false);
    bRunAndRender.setSelection(false);
    bRun.setSelection(false);
    bRender.setSelection(false);
    bRunPlusRender.setSelection(false);
    if ((debugType & DEBUG_TYPE_ALL) == DEBUG_TYPE_ALL) {
      bDebugAll.setSelection(true);
    }
 else     if ((debugType & DEBUG_TYPE_JAVA_CLASS) == DEBUG_TYPE_JAVA_CLASS) {
      bDebugJava.setSelection(true);
    }
 else {
      bDebugScript.setSelection(true);
    }
    if ((taskType & TASK_TYPE_RUN_PLUS_RENDER) == TASK_TYPE_RUN_PLUS_RENDER) {
      bRunPlusRender.setSelection(true);
    }
 else     if ((taskType & TASK_TYPE_RUN) == TASK_TYPE_RUN) {
      bRun.setSelection(true);
    }
 else     if ((taskType & TASK_TYPE_RENDER) == TASK_TYPE_RENDER) {
      bRender.setSelection(true);
    }
 else {
      bRunAndRender.setSelection(true);
    }
    bOpenTarget.setEnabled(!bRun.getSelection());
  }
 catch (  CoreException e) {
  }
}

Fixed version (ground truth):
public void initializeFrom(ILaunchConfiguration configuration){
  try {
    fMainText.setText(configuration.getAttribute(ATTR_REPORT_FILE_NAME,getDefaultFileName()));
    fEngineHome.setText(configuration.getAttribute(ATTR_ENGINE_HOME,"String_Node_Str"));
    fTempFolder.setText(configuration.getAttribute(ATTR_TEMP_FOLDER,getDefaultTempFolder()));
    bUseDefaultEngineHome.setSelection(configuration.getAttribute(ATTR_USE_DEFULT_ENGINE_HOME,true));
    fEngineHome.setEnabled(!bUseDefaultEngineHome.getSelection());
    engineHomeSearchButton.setEnabled(!bUseDefaultEngineHome.getSelection());
    engineHomeVariableButton.setEnabled(!bUseDefaultEngineHome.getSelection());
    ReportEngine engine=new ReportEngine(new EngineConfig());
    String[] supportedFormats=engine.getSupportedFormats();
    cmbOutputFormat.setItems(supportedFormats);
    String targetFormat=configuration.getAttribute(ATTR_TARGET_FORMAT,DEFAULT_TARGET_FORMAT);
    int idx=Arrays.asList(supportedFormats).indexOf(targetFormat);
    if (idx != -1) {
      cmbOutputFormat.select(idx);
    }
 else     if (supportedFormats.length > 0) {
      cmbOutputFormat.select(0);
    }
    bOpenTarget.setSelection(configuration.getAttribute(ATTR_OPEN_TARGET,false));
    int debugType=configuration.getAttribute(ATTR_DEBUG_TYPE,DEFAULT_DEBUG_TYPE);
    int taskType=configuration.getAttribute(ATTR_TASK_TYPE,DEFAULT_TASK_TYPE);
    bDebugAll.setSelection(false);
    bDebugJava.setSelection(false);
    bDebugScript.setSelection(false);
    bRunAndRender.setSelection(false);
    bRun.setSelection(false);
    bRender.setSelection(false);
    bRunPlusRender.setSelection(false);
    if ((debugType & DEBUG_TYPE_ALL) == DEBUG_TYPE_ALL) {
      bDebugAll.setSelection(true);
    }
 else     if ((debugType & DEBUG_TYPE_JAVA_CLASS) == DEBUG_TYPE_JAVA_CLASS) {
      bDebugJava.setSelection(true);
    }
 else {
      bDebugScript.setSelection(true);
    }
    if ((taskType & TASK_TYPE_RUN_PLUS_RENDER) == TASK_TYPE_RUN_PLUS_RENDER) {
      bRunPlusRender.setSelection(true);
    }
 else     if ((taskType & TASK_TYPE_RUN) == TASK_TYPE_RUN) {
      bRun.setSelection(true);
    }
 else     if ((taskType & TASK_TYPE_RENDER) == TASK_TYPE_RENDER) {
      bRender.setSelection(true);
    }
 else {
      bRunAndRender.setSelection(true);
    }
    bOpenTarget.setEnabled(!bRun.getSelection());
  }
 catch (  CoreException e) {
  }
}