Program: 148308
Project: 148308
Buggy source:
protected Control createDialogArea(Composite parent){
  parent.getShell().setText(this.title);
  Composite composite=(Composite)super.createDialogArea(parent);
  GridLayout layout=(GridLayout)composite.getLayout();
  layout.numColumns=2;
  Label endpointsLabel=new Label(composite,SWT.NONE);
  endpointsLabel.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,false,1,1));
  endpointsLabel.setText("String_Node_Str");
  endpointsCombo=new ComboViewer(composite,SWT.NONE);
  endpointsCombo.setContentProvider(new ListContentProvider());
  endpointsCombo.setLabelProvider(new MDMServerLabelProvider());
  endpointsCombo.getCombo().setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,false,1,1));
  ((GridData)endpointsCombo.getCombo().getLayoutData()).widthHint=400;
  MDMServerDef[] serverDefs=getInitMDMServers();
  endpointsCombo.setInput(serverDefs);
  Label descriptionLabel=new Label(composite,SWT.NONE);
  descriptionLabel.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,false,1,1));
  descriptionLabel.setText("String_Node_Str");
  descriptionText=new Text(composite,SWT.BORDER);
  descriptionText.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,false,1,1));
  authenticationGroup=new Group(composite,SWT.NONE);
  authenticationGroup.setVisible(true);
  authenticationGroup.setText("String_Node_Str");
  authenticationGroup.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,false,2,1));
  authenticationGroup.setLayout(new GridLayout(2,false));
  Label usernameLabel=new Label(authenticationGroup,SWT.NONE);
  usernameLabel.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,false,false,1,1));
  usernameLabel.setText("String_Node_Str");
  userText=new Text(authenticationGroup,SWT.BORDER);
  userText.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,false,1,1));
  userText.setDoubleClickEnabled(false);
  Label passwordLabel=new Label(authenticationGroup,SWT.NONE);
  passwordLabel.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,false,false,1,1));
  passwordLabel.setText("String_Node_Str");
  passwordText=new Text(authenticationGroup,SWT.PASSWORD | SWT.BORDER);
  passwordText.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,false,1,1));
  if (Util.IsEnterPrise()) {
    Label universeLabel=new Label(composite,SWT.NONE);
    universeLabel.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,false,false,1,1));
    universeLabel.setText("String_Node_Str");
    universeCombo=new Combo(composite,SWT.NONE);
    universeCombo.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,false,1,1));
    ((GridData)universeCombo.getLayoutData()).widthHint=300;
    if (universes != null) {
      java.util.List<String> hostList=new ArrayList<String>();
      for (int i=0; i < universes.size(); i++) {
        String host=universes.get(i).getPk();
        if (!hostList.contains(host)) {
          universeCombo.add(host);
          hostList.add(host);
        }
      }
    }
  }
  savePasswordButton=new Button(composite,SWT.CHECK);
  savePasswordButton.setText("String_Node_Str");
  savePasswordButton.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,false,2,1));
  endpointsCombo.addSelectionChangedListener(new ISelectionChangedListener(){
    public void selectionChanged(    SelectionChangedEvent arg0){
      onSelectMDMServer();
    }
  }
);
  endpointsCombo.setSelection(new StructuredSelection(serverDefs[0]));
  return composite;
}

Fixed version (ground truth):
protected Control createDialogArea(Composite parent){
  parent.getShell().setText(this.title);
  Composite composite=(Composite)super.createDialogArea(parent);
  GridLayout layout=(GridLayout)composite.getLayout();
  layout.numColumns=2;
  Label endpointsLabel=new Label(composite,SWT.NONE);
  endpointsLabel.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,false,1,1));
  endpointsLabel.setText("String_Node_Str");
  endpointsCombo=new ComboViewer(composite,SWT.NONE);
  endpointsCombo.setContentProvider(new ListContentProvider());
  endpointsCombo.setLabelProvider(new MDMServerLabelProvider());
  endpointsCombo.getCombo().setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,false,1,1));
  ((GridData)endpointsCombo.getCombo().getLayoutData()).widthHint=400;
  MDMServerDef[] serverDefs=getInitMDMServers();
  endpointsCombo.setInput(serverDefs);
  Label descriptionLabel=new Label(composite,SWT.NONE);
  descriptionLabel.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,false,1,1));
  descriptionLabel.setText("String_Node_Str");
  descriptionLabel.setForeground(descriptionLabel.getDisplay().getSystemColor(SWT.COLOR_RED));
  descriptionLabel.setToolTipText("String_Node_Str");
  descriptionText=new Text(composite,SWT.BORDER);
  descriptionText.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,false,1,1));
  authenticationGroup=new Group(composite,SWT.NONE);
  authenticationGroup.setVisible(true);
  authenticationGroup.setText("String_Node_Str");
  authenticationGroup.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,false,2,1));
  authenticationGroup.setLayout(new GridLayout(2,false));
  Label usernameLabel=new Label(authenticationGroup,SWT.NONE);
  usernameLabel.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,false,false,1,1));
  usernameLabel.setText("String_Node_Str");
  userText=new Text(authenticationGroup,SWT.BORDER);
  userText.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,false,1,1));
  userText.setDoubleClickEnabled(false);
  Label passwordLabel=new Label(authenticationGroup,SWT.NONE);
  passwordLabel.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,false,false,1,1));
  passwordLabel.setText("String_Node_Str");
  passwordText=new Text(authenticationGroup,SWT.PASSWORD | SWT.BORDER);
  passwordText.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,false,1,1));
  if (Util.IsEnterPrise()) {
    Label universeLabel=new Label(composite,SWT.NONE);
    universeLabel.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,false,false,1,1));
    universeLabel.setText("String_Node_Str");
    universeCombo=new Combo(composite,SWT.NONE);
    universeCombo.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,false,1,1));
    ((GridData)universeCombo.getLayoutData()).widthHint=300;
    if (universes != null) {
      java.util.List<String> hostList=new ArrayList<String>();
      for (int i=0; i < universes.size(); i++) {
        String host=universes.get(i).getPk();
        if (!hostList.contains(host)) {
          universeCombo.add(host);
          hostList.add(host);
        }
      }
    }
  }
  savePasswordButton=new Button(composite,SWT.CHECK);
  savePasswordButton.setText("String_Node_Str");
  savePasswordButton.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,false,2,1));
  endpointsCombo.addSelectionChangedListener(new ISelectionChangedListener(){
    public void selectionChanged(    SelectionChangedEvent arg0){
      onSelectMDMServer();
    }
  }
);
  endpointsCombo.setSelection(new StructuredSelection(serverDefs[0]));
  return composite;
}