Program: 73682
Project: 73682
Buggy source:
public void performApply(ILaunchConfigurationWorkingCopy configuration){
  configuration.setAttribute(ATTR_REPORT_FILE_NAME,fMainText.getText());
  configuration.setAttribute(ATTR_ENGINE_HOME,fEngineHome.getText());
  configuration.setAttribute(ATTR_TEMP_FOLDER,fTempFolder.getText());
  configuration.setAttribute(IJavaLaunchConfigurationConstants.ATTR_MAIN_TYPE_NAME,ReportLauncher.class.getName());
  if (cmbOutputFormat.getItemCount() > 0 && cmbOutputFormat.getSelectionIndex() != -1) {
    configuration.setAttribute(ATTR_TARGET_FORMAT,cmbOutputFormat.getItem(cmbOutputFormat.getSelectionIndex()));
  }
  configuration.setAttribute(ATTR_OPEN_TARGET,bOpenTarget.getSelection());
  configuration.setAttribute(ATTR_USE_DEFULT_ENGINE_HOME,bUseDefaultEngineHome.getSelection());
  int debugType=DEBUG_TYPE_ALL;
  if (bDebugJava.getSelection()) {
    debugType=DEBUG_TYPE_JAVA_CLASS;
  }
 else   if (bDebugScript.getSelection()) {
    debugType=DEBUG_TYPE_JAVA_SCRIPT;
  }
  int taskType=TASK_TYPE_RUN_AND_RENDER;
  if (bRunPlusRender.getSelection()) {
    taskType=TASK_TYPE_RUN_PLUS_RENDER;
  }
 else   if (bRun.getSelection()) {
    taskType=TASK_TYPE_RUN;
  }
 else   if (bRender.getSelection()) {
    taskType=TASK_TYPE_RENDER;
  }
  configuration.setAttribute(ATTR_DEBUG_TYPE,debugType);
  configuration.setAttribute(ATTR_TASK_TYPE,taskType);
  if (bUseDefaultEngineHome.getSelection()) {
    configuration.setAttribute(IReportLaunchConstants.ATTR_CLASSPATH,(List)null);
  }
 else {
    List list=new ArrayList();
    String libDirectory=getJarFolder();
    try {
      libDirectory=ScriptDebugUtil.getSubstitutedString(libDirectory);
    }
 catch (    CoreException e) {
      libDirectory=getJarFolder();
    }
    addEngineLibHomeClassPath(libDirectory,list);
    addProjectClassPath(list);
    configuration.setAttribute(IReportLaunchConstants.ATTR_CLASSPATH,list);
  }
}

Fixed version (ground truth):
public void performApply(ILaunchConfigurationWorkingCopy configuration){
  configuration.setAttribute(ATTR_REPORT_FILE_NAME,fMainText.getText());
  configuration.setAttribute(ATTR_ENGINE_HOME,fEngineHome.getText());
  configuration.setAttribute(ATTR_TEMP_FOLDER,fTempFolder.getText());
  configuration.setAttribute(IJavaLaunchConfigurationConstants.ATTR_MAIN_TYPE_NAME,ReportLauncher.class.getName());
  if (cmbOutputFormat.getItemCount() > 0 && cmbOutputFormat.getSelectionIndex() != -1) {
    configuration.setAttribute(ATTR_TARGET_FORMAT,cmbOutputFormat.getItem(cmbOutputFormat.getSelectionIndex()));
  }
  configuration.setAttribute(ATTR_OPEN_TARGET,bOpenTarget.getSelection());
  configuration.setAttribute(ATTR_USE_DEFULT_ENGINE_HOME,bUseDefaultEngineHome.getSelection());
  int debugType=DEFAULT_DEBUG_TYPE;
  if (bDebugJava.getSelection()) {
    debugType=DEBUG_TYPE_JAVA_CLASS;
  }
 else   if (bDebugScript.getSelection()) {
    debugType=DEBUG_TYPE_JAVA_SCRIPT;
  }
 else   if (bDebugAll.getSelection()) {
    debugType=DEBUG_TYPE_ALL;
  }
  int taskType=DEFAULT_TASK_TYPE;
  if (bRunAndRender.getSelection()) {
    taskType=TASK_TYPE_RUN_AND_RENDER;
  }
 else   if (bRunPlusRender.getSelection()) {
    taskType=TASK_TYPE_RUN_PLUS_RENDER;
  }
 else   if (bRun.getSelection()) {
    taskType=TASK_TYPE_RUN;
  }
 else   if (bRender.getSelection()) {
    taskType=TASK_TYPE_RENDER;
  }
  configuration.setAttribute(ATTR_DEBUG_TYPE,debugType);
  configuration.setAttribute(ATTR_TASK_TYPE,taskType);
  if (bUseDefaultEngineHome.getSelection()) {
    configuration.setAttribute(IReportLaunchConstants.ATTR_CLASSPATH,(List)null);
  }
 else {
    List list=new ArrayList();
    String libDirectory=getJarFolder();
    try {
      libDirectory=ScriptDebugUtil.getSubstitutedString(libDirectory);
    }
 catch (    CoreException e) {
      libDirectory=getJarFolder();
    }
    addEngineLibHomeClassPath(libDirectory,list);
    addProjectClassPath(list);
    configuration.setAttribute(IReportLaunchConstants.ATTR_CLASSPATH,list);
  }
}