Program: 71577
Project: 71577
Buggy source:
private void createAggregateSection(Composite composite){
  new Label(composite,SWT.NONE).setText(FUNCTION);
  cmbFunction=new Combo(composite,SWT.BORDER | SWT.READ_ONLY);
  GridData gd=new GridData(GridData.FILL_HORIZONTAL);
  gd.horizontalSpan=2;
  cmbFunction.setLayoutData(gd);
  cmbFunction.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      handleFunctionSelectEvent();
      validate();
    }
  }
);
  paramsComposite=new Composite(composite,SWT.NONE);
  GridData gridData=new GridData(GridData.FILL_HORIZONTAL);
  gridData.horizontalIndent=0;
  gridData.horizontalSpan=3;
  gridData.exclude=true;
  paramsComposite.setLayoutData(gridData);
  GridLayout layout=new GridLayout();
  layout.marginWidth=layout.marginHeight=0;
  layout.numColumns=3;
  paramsComposite.setLayout(layout);
  new Label(composite,SWT.NONE).setText(FILTER_CONDITION);
  txtFilter=new Text(composite,SWT.BORDER);
  txtFilter.setLayoutData(new GridData(GridData.FILL_HORIZONTAL | GridData.GRAB_HORIZONTAL));
  createExpressionButton(composite,txtFilter);
  txtFilter.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
    }
  }
);
  Label lblAggOn=new Label(composite,SWT.NONE);
  lblAggOn.setText(AGGREGATE_ON);
  gridData=new GridData();
  gridData.verticalAlignment=GridData.BEGINNING;
  lblAggOn.setLayoutData(gridData);
  Composite aggOnComposite=new Composite(composite,SWT.NONE);
  gridData=new GridData(GridData.FILL_HORIZONTAL);
  gridData.horizontalSpan=2;
  aggOnComposite.setLayoutData(gridData);
  layout=new GridLayout();
  layout.horizontalSpacing=layout.verticalSpacing=0;
  layout.marginWidth=layout.marginHeight=0;
  layout.numColumns=2;
  aggOnComposite.setLayout(layout);
  btnTable=new Button(aggOnComposite,SWT.RADIO);
  if (getBindingHolder() instanceof TableHandle)   btnTable.setText(TABLE);
 else   if (getBindingHolder() instanceof ListHandle)   btnTable.setText(LIST);
 else   if (getBindingHolder() instanceof GridHandle)   btnTable.setText(GRID);
  btnTable.addSelectionListener(new SelectionListener(){
    public void widgetDefaultSelected(    SelectionEvent e){
    }
    public void widgetSelected(    SelectionEvent e){
      cmbGroup.setEnabled(false);
    }
  }
);
  WidgetUtil.createGridPlaceholder(aggOnComposite,1,false);
  btnGroup=new Button(aggOnComposite,SWT.RADIO);
  btnGroup.setText(GROUP);
  btnGroup.addSelectionListener(new SelectionListener(){
    public void widgetDefaultSelected(    SelectionEvent e){
    }
    public void widgetSelected(    SelectionEvent e){
      cmbGroup.setEnabled(true);
    }
  }
);
  cmbGroup=new Combo(aggOnComposite,SWT.BORDER | SWT.READ_ONLY);
  cmbGroup.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  if (isRef) {
    txtDisplayName.setEnabled(false);
    cmbType.setEnabled(false);
    cmbFunction.setEnabled(false);
    txtFilter.setEnabled(false);
    paramsComposite.setEnabled(false);
    cmbGroup.setEnabled(false);
    btnTable.setEnabled(false);
    btnGroup.setEnabled(false);
  }
}

Fixed version (ground truth):
protected void createAggregateSection(Composite composite){
  new Label(composite,SWT.NONE).setText(FUNCTION);
  cmbFunction=new Combo(composite,SWT.BORDER | SWT.READ_ONLY);
  GridData gd=new GridData(GridData.FILL_HORIZONTAL);
  gd.horizontalSpan=2;
  cmbFunction.setLayoutData(gd);
  cmbFunction.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      handleFunctionSelectEvent();
      validate();
    }
  }
);
  paramsComposite=new Composite(composite,SWT.NONE);
  GridData gridData=new GridData(GridData.FILL_HORIZONTAL);
  gridData.horizontalIndent=0;
  gridData.horizontalSpan=3;
  gridData.exclude=true;
  paramsComposite.setLayoutData(gridData);
  GridLayout layout=new GridLayout();
  layout.marginWidth=layout.marginHeight=0;
  layout.numColumns=3;
  paramsComposite.setLayout(layout);
  new Label(composite,SWT.NONE).setText(FILTER_CONDITION);
  txtFilter=new Text(composite,SWT.BORDER);
  txtFilter.setLayoutData(new GridData(GridData.FILL_HORIZONTAL | GridData.GRAB_HORIZONTAL));
  createExpressionButton(composite,txtFilter);
  txtFilter.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
    }
  }
);
  Label lblAggOn=new Label(composite,SWT.NONE);
  lblAggOn.setText(AGGREGATE_ON);
  gridData=new GridData();
  gridData.verticalAlignment=GridData.BEGINNING;
  lblAggOn.setLayoutData(gridData);
  Composite aggOnComposite=new Composite(composite,SWT.NONE);
  gridData=new GridData(GridData.FILL_HORIZONTAL);
  gridData.horizontalSpan=2;
  aggOnComposite.setLayoutData(gridData);
  layout=new GridLayout();
  layout.horizontalSpacing=layout.verticalSpacing=0;
  layout.marginWidth=layout.marginHeight=0;
  layout.numColumns=2;
  aggOnComposite.setLayout(layout);
  btnTable=new Button(aggOnComposite,SWT.RADIO);
  if (getBindingHolder() instanceof TableHandle)   btnTable.setText(TABLE);
 else   if (getBindingHolder() instanceof ListHandle)   btnTable.setText(LIST);
 else   if (getBindingHolder() instanceof GridHandle)   btnTable.setText(GRID);
  btnTable.addSelectionListener(new SelectionListener(){
    public void widgetDefaultSelected(    SelectionEvent e){
    }
    public void widgetSelected(    SelectionEvent e){
      cmbGroup.setEnabled(false);
    }
  }
);
  WidgetUtil.createGridPlaceholder(aggOnComposite,1,false);
  btnGroup=new Button(aggOnComposite,SWT.RADIO);
  btnGroup.setText(GROUP);
  btnGroup.addSelectionListener(new SelectionListener(){
    public void widgetDefaultSelected(    SelectionEvent e){
    }
    public void widgetSelected(    SelectionEvent e){
      cmbGroup.setEnabled(true);
    }
  }
);
  cmbGroup=new Combo(aggOnComposite,SWT.BORDER | SWT.READ_ONLY);
  cmbGroup.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  if (isRef) {
    txtDisplayName.setEnabled(false);
    cmbType.setEnabled(false);
    cmbFunction.setEnabled(false);
    txtFilter.setEnabled(false);
    paramsComposite.setEnabled(false);
    cmbGroup.setEnabled(false);
    btnTable.setEnabled(false);
    btnGroup.setEnabled(false);
  }
}