Program: 148091
Project: 148091
Buggy source:
public void createControl(Composite parent){
  Composite composite=new Composite(parent,SWT.BORDER);
  composite.setLayout(new GridLayout(4,false));
  composite.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,1,1));
  setControl(composite);
  Group serverGroup=new Group(composite,SWT.NORMAL);
  serverGroup.setText(Messages.Select_Server);
  serverGroup.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,false));
  serverGroup.setLayout(new GridLayout(2,false));
  txtServer=new Text(serverGroup,SWT.BORDER);
  txtServer.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,1,1));
  Button btnSel=new Button(serverGroup,SWT.PUSH);
  btnSel.setText("String_Node_Str");
  btnSel.setToolTipText(Messages.Select_Server);
  txtServer.setEnabled(false);
  btnSel.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      SelectServerDefDialog dlg=new SelectServerDefDialog(getShell());
      if (dlg.open() == IDialogConstants.OK_ID) {
        serverDef=dlg.getSelectedServerDef();
        txtServer.setText(serverDef.getUrl());
        checkCompleted();
        String url=serverDef.getUrl();
        String user=serverDef.getUser();
        String password=serverDef.getPasswd();
        try {
          XtentisPort port;
          port=Util.getPort(new URL(url),null,user,password);
          WSUniversePK[] universePKs=port.getUniversePKs(new WSGetUniversePKs("String_Node_Str")).getWsUniversePK();
          CCombo universeCombo=comboVersion.getCombo();
          universeCombo.removeAll();
          universeCombo.add("String_Node_Str");
          if (universePKs != null && universePKs.length > 0) {
            for (int i=0; i < universePKs.length; i++) {
              String universe=universePKs[i].getPk();
              universeCombo.add(universe);
            }
          }
          retriveServerRoot();
        }
 catch (        Exception e1) {
          comboVersion.getCombo().removeAll();
        }
      }
      treeViewer.refresh();
    }
  }
);
  comboVersion=new LabelCombo(toolkit,serverGroup,Messages.Version,SWT.BORDER,2);
  comboVersion.getCombo().setEditable(false);
  comboVersion.getCombo().addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      serverDef.setUniverse(comboVersion.getCombo().getText());
      retriveServerRoot();
    }
  }
);
  toolkit.setBackGround((Composite)comboVersion.getComposite(),serverGroup.getBackground());
  treeViewer=new RepositoryCheckTreeViewer((TreeParent)serverRoot,true);
  treeViewer.addButtonSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      updateSelectedObjects();
      checkCompleted();
    }
  }
);
  Composite itemcom=treeViewer.createItemList(composite);
  treeViewer.getViewer().setInput(null);
  itemcom.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,4,5));
  treeViewer.setItemText(Messages.Select_Items_To_Imports);
  treeViewer.getViewer().addSelectionChangedListener(new ISelectionChangedListener(){
    public void selectionChanged(    SelectionChangedEvent arg0){
      updateSelectedObjects();
      checkCompleted();
    }
  }
);
  treeViewer.getViewer().addFilter(new ViewerFilter(){
    @Override public boolean select(    Viewer viewer,    Object parentElement,    Object element){
      if (element instanceof TreeObject) {
        int type=((TreeObject)element).getType();
        if (type == 26 || type == 24 || type == 25)         return false;
      }
      return true;
    }
  }
);
  btnOverwrite=new Button(composite,SWT.CHECK);
  btnOverwrite.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      isOverrideAll=btnOverwrite.getSelection();
    }
  }
);
  btnOverwrite.setText(Messages.Overwrite_Exists_Items);
  btnOverwrite.setSelection(true);
  GridDataFactory.swtDefaults().align(SWT.FILL,SWT.FILL).grab(true,true).hint(920,600).applyTo(composite);
}

Fixed version (ground truth):
public void createControl(Composite parent){
  Composite composite=new Composite(parent,SWT.BORDER);
  composite.setLayout(new GridLayout(4,false));
  composite.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,1,1));
  setControl(composite);
  Group serverGroup=new Group(composite,SWT.NORMAL);
  serverGroup.setText(Messages.Select_Server);
  serverGroup.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,false));
  serverGroup.setLayout(new GridLayout(2,false));
  txtServer=new Text(serverGroup,SWT.BORDER);
  txtServer.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,1,1));
  Button btnSel=new Button(serverGroup,SWT.PUSH);
  btnSel.setText("String_Node_Str");
  btnSel.setToolTipText(Messages.Select_Server);
  txtServer.setEnabled(false);
  btnSel.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      SelectServerDefDialog dlg=new SelectServerDefDialog(getShell());
      if (dlg.open() == IDialogConstants.OK_ID) {
        serverDef=dlg.getSelectedServerDef();
        txtServer.setText(serverDef.getUrl());
        String url=serverDef.getUrl();
        String user=serverDef.getUser();
        String password=serverDef.getPasswd();
        try {
          XtentisPort port;
          port=Util.getPort(new URL(url),null,user,password);
          WSUniversePK[] universePKs=port.getUniversePKs(new WSGetUniversePKs("String_Node_Str")).getWsUniversePK();
          CCombo universeCombo=comboVersion.getCombo();
          universeCombo.removeAll();
          universeCombo.add("String_Node_Str");
          if (universePKs != null && universePKs.length > 0) {
            for (int i=0; i < universePKs.length; i++) {
              String universe=universePKs[i].getPk();
              universeCombo.add(universe);
            }
          }
          retriveServerRoot();
        }
 catch (        Exception e1) {
          comboVersion.getCombo().removeAll();
        }
      }
      treeViewer.refresh();
      updateSelectedObjects();
      checkCompleted();
    }
  }
);
  comboVersion=new LabelCombo(toolkit,serverGroup,Messages.Version,SWT.BORDER,2);
  comboVersion.getCombo().setEditable(false);
  comboVersion.getCombo().addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      serverDef.setUniverse(comboVersion.getCombo().getText());
      retriveServerRoot();
    }
  }
);
  toolkit.setBackGround((Composite)comboVersion.getComposite(),serverGroup.getBackground());
  treeViewer=new RepositoryCheckTreeViewer((TreeParent)serverRoot,true);
  treeViewer.addButtonSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      updateSelectedObjects();
      checkCompleted();
    }
  }
);
  Composite itemcom=treeViewer.createItemList(composite);
  treeViewer.getViewer().setInput(null);
  itemcom.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,4,5));
  treeViewer.setItemText(Messages.Select_Items_To_Imports);
  treeViewer.getViewer().addSelectionChangedListener(new ISelectionChangedListener(){
    public void selectionChanged(    SelectionChangedEvent arg0){
      updateSelectedObjects();
      checkCompleted();
    }
  }
);
  treeViewer.getViewer().addFilter(new ViewerFilter(){
    @Override public boolean select(    Viewer viewer,    Object parentElement,    Object element){
      if (element instanceof TreeObject) {
        int type=((TreeObject)element).getType();
        if (type == 26 || type == 24 || type == 25)         return false;
      }
      return true;
    }
  }
);
  btnOverwrite=new Button(composite,SWT.CHECK);
  btnOverwrite.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      isOverrideAll=btnOverwrite.getSelection();
    }
  }
);
  btnOverwrite.setText(Messages.Overwrite_Exists_Items);
  btnOverwrite.setSelection(true);
  GridDataFactory.swtDefaults().align(SWT.FILL,SWT.FILL).grab(true,true).hint(920,600).applyTo(composite);
}