Program: 120646
Project: 120646
Buggy source:
protected void createOptionsForWS(Composite optionsGroup,Font font){
  webXMLButton=new Button(optionsGroup,SWT.CHECK | SWT.LEFT);
  webXMLButton.setText(Messages.getString("String_Node_Str"));
  webXMLButton.setFont(font);
  GridData gd=new GridData(GridData.FILL_HORIZONTAL);
  gd.horizontalSpan=1;
  webXMLButton.setLayoutData(gd);
  webXMLButton.setSelection(true);
  configFileButton=new Button(optionsGroup,SWT.CHECK | SWT.LEFT);
  configFileButton.setText(Messages.getString("String_Node_Str"));
  configFileButton.setFont(font);
  gd=new GridData(GridData.FILL_HORIZONTAL);
  gd.horizontalSpan=2;
  configFileButton.setLayoutData(gd);
  configFileButton.setSelection(true);
  wsddButton=new Button(optionsGroup,SWT.CHECK | SWT.LEFT);
  wsddButton.setText(Messages.getString("String_Node_Str"));
  wsddButton.setFont(font);
  gd=new GridData(GridData.FILL_HORIZONTAL);
  gd.horizontalSpan=1;
  wsddButton.setLayoutData(gd);
  wsddButton.setSelection(true);
  wsdlButton=new Button(optionsGroup,SWT.CHECK | SWT.LEFT);
  wsdlButton.setText(Messages.getString("String_Node_Str"));
  wsdlButton.setFont(font);
  gd=new GridData(GridData.FILL_HORIZONTAL);
  gd.horizontalSpan=2;
  wsdlButton.setLayoutData(gd);
  wsdlButton.setSelection(true);
  jobScriptButton=new Button(optionsGroup,SWT.CHECK | SWT.LEFT);
  jobScriptButton.setText(Messages.getString("String_Node_Str"));
  jobScriptButton.setSelection(true);
  jobScriptButton.setFont(font);
  gd=new GridData(GridData.FILL_HORIZONTAL);
  gd.horizontalSpan=1;
  jobScriptButton.setLayoutData(gd);
  axisLibButton=new Button(optionsGroup,SWT.CHECK | SWT.LEFT);
  axisLibButton.setText(Messages.getString("String_Node_Str"));
  axisLibButton.setFont(font);
  gd=new GridData(GridData.FILL_HORIZONTAL);
  gd.horizontalSpan=2;
  axisLibButton.setLayoutData(gd);
  axisLibButton.setSelection(true);
  contextButton=new Button(optionsGroup,SWT.CHECK | SWT.LEFT);
  contextButton.setText(Messages.getString("String_Node_Str"));
  contextButton.setSelection(true);
  contextButton.setFont(font);
  contextCombo=new Combo(optionsGroup,SWT.PUSH);
  applyToChildrenButton=new Button(optionsGroup,SWT.CHECK | SWT.LEFT);
  applyToChildrenButton.setText(Messages.getString("String_Node_Str"));
  applyToChildrenButton.setSelection(true);
  restoreWidgetValuesForWS();
  if (JobExportType.getTypeFromString(exportTypeCombo.getText()).equals(JobExportType.WSWAR)) {
    webXMLButton.setEnabled(false);
    webXMLButton.setSelection(true);
    configFileButton.setEnabled(false);
    configFileButton.setSelection(true);
    wsddButton.setEnabled(false);
    wsddButton.setSelection(true);
    wsdlButton.setEnabled(false);
    wsdlButton.setSelection(true);
    jobScriptButton.setEnabled(false);
    jobScriptButton.setSelection(true);
    axisLibButton.setEnabled(false);
    axisLibButton.setSelection(true);
    contextButton.setEnabled(false);
    contextButton.setSelection(true);
  }
}

Fixed version (ground truth):
protected void createOptionsForWS(Composite optionsGroup,Font font){
  webXMLButton=new Button(optionsGroup,SWT.CHECK | SWT.LEFT);
  webXMLButton.setText(Messages.getString("String_Node_Str"));
  webXMLButton.setFont(font);
  GridData gd=new GridData(GridData.FILL_HORIZONTAL);
  gd.horizontalSpan=1;
  webXMLButton.setLayoutData(gd);
  webXMLButton.setSelection(true);
  configFileButton=new Button(optionsGroup,SWT.CHECK | SWT.LEFT);
  configFileButton.setText(Messages.getString("String_Node_Str"));
  configFileButton.setFont(font);
  gd=new GridData(GridData.FILL_HORIZONTAL);
  gd.horizontalSpan=2;
  configFileButton.setLayoutData(gd);
  configFileButton.setSelection(true);
  wsddButton=new Button(optionsGroup,SWT.CHECK | SWT.LEFT);
  wsddButton.setText(Messages.getString("String_Node_Str"));
  wsddButton.setFont(font);
  gd=new GridData(GridData.FILL_HORIZONTAL);
  gd.horizontalSpan=1;
  wsddButton.setLayoutData(gd);
  wsddButton.setSelection(true);
  wsdlButton=new Button(optionsGroup,SWT.CHECK | SWT.LEFT);
  wsdlButton.setText(Messages.getString("String_Node_Str"));
  wsdlButton.setFont(font);
  gd=new GridData(GridData.FILL_HORIZONTAL);
  gd.horizontalSpan=2;
  wsdlButton.setLayoutData(gd);
  wsdlButton.setSelection(true);
  jobScriptButton=new Button(optionsGroup,SWT.CHECK | SWT.LEFT);
  jobScriptButton.setText(Messages.getString("String_Node_Str"));
  jobScriptButton.setSelection(true);
  jobScriptButton.setFont(font);
  gd=new GridData(GridData.FILL_HORIZONTAL);
  gd.horizontalSpan=1;
  jobScriptButton.setLayoutData(gd);
  axisLibButton=new Button(optionsGroup,SWT.CHECK | SWT.LEFT);
  axisLibButton.setText(Messages.getString("String_Node_Str"));
  axisLibButton.setFont(font);
  gd=new GridData(GridData.FILL_HORIZONTAL);
  gd.horizontalSpan=2;
  axisLibButton.setLayoutData(gd);
  axisLibButton.setSelection(true);
  contextButton=new Button(optionsGroup,SWT.CHECK | SWT.LEFT);
  contextButton.setText(Messages.getString("String_Node_Str"));
  contextButton.setSelection(true);
  contextButton.setFont(font);
  contextCombo=new Combo(optionsGroup,SWT.PUSH);
  applyToChildrenButton=new Button(optionsGroup,SWT.CHECK | SWT.LEFT);
  applyToChildrenButton.setText(Messages.getString("String_Node_Str"));
  applyToChildrenButton.setSelection(true);
  applyLog4jToChildrenButton=new Button(optionsGroup,SWT.CHECK | SWT.LEFT);
  applyLog4jToChildrenButton.setSelection(true);
  applyLog4jToChildrenButton.setText(Messages.getString("String_Node_Str"));
  log4jLevelCombo=new Combo(optionsGroup,SWT.PUSH);
  gd=new GridData();
  gd.horizontalSpan=2;
  log4jLevelCombo.setLayoutData(gd);
  restoreWidgetValuesForWS();
  if (JobExportType.getTypeFromString(exportTypeCombo.getText()).equals(JobExportType.WSWAR)) {
    webXMLButton.setEnabled(false);
    webXMLButton.setSelection(true);
    configFileButton.setEnabled(false);
    configFileButton.setSelection(true);
    wsddButton.setEnabled(false);
    wsddButton.setSelection(true);
    wsdlButton.setEnabled(false);
    wsdlButton.setSelection(true);
    jobScriptButton.setEnabled(false);
    jobScriptButton.setSelection(true);
    axisLibButton.setEnabled(false);
    axisLibButton.setSelection(true);
    contextButton.setEnabled(false);
    contextButton.setSelection(true);
  }
}