Program: 76686
Project: 76686
Buggy source:
/** 
 * Create Dialog Content
 * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
 */
protected Control createDialogArea(Composite parent){
  getShell().setText(BirtWTPMessages.BIRTConfigurationDialog_title);
  Composite composite=new Composite(parent,SWT.NULL);
  composite.setFont(parent.getFont());
  initializeDialogUnits(parent);
  composite.setLayout(new GridLayout());
  composite.setLayoutData(new GridData(GridData.FILL_BOTH));
  Group paths=new Group(composite,SWT.NULL);
  paths.setLayout(new GridLayout());
  paths.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  paths.setText(BirtWTPMessages.BIRTConfiguration_group_paths);
  paths.setEnabled(true);
  UIUtil uit=new UIUtil(properties);
  this.txtResourceFolder=uit.createResourceFolderGroup(paths);
  this.txtDocumentFolder=uit.createDocumentFolderGroup(paths);
  this.txtImageFolder=uit.createImageFolderGroup(paths);
  this.txtScriptlibFolder=uit.createScriptLibFolderGroup(paths);
  this.txtLogFolder=uit.createLogFolderGroup(paths);
  Group others=new Group(composite,SWT.NULL);
  others.setLayout(new GridLayout());
  others.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  others.setText(BirtWTPMessages.BIRTConfiguration_group_others);
  others.setEnabled(true);
  this.btAccessOnly=uit.createAccessOnlyGroup(others);
  this.btOverwrite=uit.createOverwriteGroup(others);
  this.cbLogLevel=uit.createLogLevelGroup(others);
  this.txtMaxRows=uit.createMaxRowsGroup(others);
  this.btClear=uit.createImportClearSetting(composite);
  this.isClear=this.btClear.getSelection();
  initializeProperties();
  return composite;
}

Fixed version (ground truth):
/** 
 * Create Dialog Content
 * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
 */
protected Control createDialogArea(Composite parent){
  getShell().setText(BirtWTPMessages.BIRTConfigurationDialog_title);
  Composite composite=new Composite(parent,SWT.NULL);
  composite.setFont(parent.getFont());
  initializeDialogUnits(parent);
  composite.setLayout(new GridLayout());
  composite.setLayoutData(new GridData(GridData.FILL_BOTH));
  Group paths=new Group(composite,SWT.NULL);
  paths.setLayout(new GridLayout());
  paths.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  paths.setText(BirtWTPMessages.BIRTConfiguration_group_paths);
  paths.setEnabled(true);
  UIUtil uit=new UIUtil(properties);
  this.txtResourceFolder=uit.createResourceFolderGroup(paths);
  ContextParamBean param=(ContextParamBean)properties.get(BIRT_RESOURCE_FOLDER_SETTING);
  String resFolder=null;
  if (param != null) {
    resFolder=param.getValue();
  }
  if (resFolder != null && resFolder.trim().length() > 0) {
    this.txtResourceFolder.setText(resFolder.trim());
  }
  this.txtDocumentFolder=uit.createDocumentFolderGroup(paths);
  this.txtImageFolder=uit.createImageFolderGroup(paths);
  this.txtScriptlibFolder=uit.createScriptLibFolderGroup(paths);
  this.txtLogFolder=uit.createLogFolderGroup(paths);
  Group others=new Group(composite,SWT.NULL);
  others.setLayout(new GridLayout());
  others.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  others.setText(BirtWTPMessages.BIRTConfiguration_group_others);
  others.setEnabled(true);
  this.btAccessOnly=uit.createAccessOnlyGroup(others);
  this.btOverwrite=uit.createOverwriteGroup(others);
  this.cbLogLevel=uit.createLogLevelGroup(others);
  this.txtMaxRows=uit.createMaxRowsGroup(others);
  this.btClear=uit.createImportClearSetting(composite);
  this.isClear=this.btClear.getSelection();
  initializeProperties();
  return composite;
}