Program: 125003
Project: 125003
Buggy source:
private void createTopContents(Composite parent){
  createButtons(parent);
  Label serverLbl=new Label(parent,SWT.NONE);
  serverLbl.setText(Messages.getString("String_Node_Str"));
  GridDataFactory.fillDefaults().span(1,1).indent(SWT.DEFAULT,15).grab(false,false).align(SWT.END,SWT.CENTER).applyTo(serverLbl);
  String[] comboitems=new String[]{Messages.getString("String_Node_Str"),Messages.getString("String_Node_Str")};
  serverCombo=new Combo(parent,SWT.DROP_DOWN | SWT.READ_ONLY);
  serverCombo.setItems(comboitems);
  serverCombo.setToolTipText(Messages.getString("String_Node_Str"));
  if (!TOozieParamUtils.isFromRepository()) {
    serverCombo.select(1);
    serverCombo.setEnabled(false);
  }
 else   if (getRepositoryTextValue().length() != 0) {
    serverCombo.select(1);
  }
 else {
    serverCombo.select(0);
  }
  GridDataFactory.fillDefaults().span(1,1).grab(false,false).indent(SWT.DEFAULT,15).hint(computeComboTxtSize(serverCombo).x + 10,30).applyTo(serverCombo);
  settingBtn=new Button(parent,SWT.NONE);
  settingBtn.setText(TOozieUIConstants.OOZIE_BTN_SETTING);
  settingBtn.setImage(ImageProvider.getImage(TOozieImages.IMG_SETTING));
  GridDataFactory.fillDefaults().span(1,1).grab(false,false).indent(SWT.DEFAULT,10).hint(computeBtnTxtSize(settingBtn).x + 60,30).align(SWT.END,SWT.CENTER).applyTo(settingBtn);
  repositoryText=new Text(parent,SWT.BORDER);
  repositoryText.setText(getRepositoryTextValue() == null ? "String_Node_Str" : getRepositoryTextValue());
  repositoryText.setEditable(false);
  repositoryText.setEnabled(false);
  repositoryText.setVisible(serverCombo.getSelectionIndex() == 1);
  GridDataFactory.fillDefaults().grab(true,false).indent(-105,10).hint(SWT.DEFAULT,20).applyTo(repositoryText);
  selectbtn=new Button(parent,SWT.NONE);
  selectbtn.setImage(ImageProvider.getImage(TOozieImages.IMG_DOTS));
  selectbtn.setVisible(serverCombo.getSelectionIndex() == 1);
  GridDataFactory.fillDefaults().span(1,1).grab(true,false).indent(SWT.DEFAULT,10).hint(30,25).align(SWT.BEGINNING,SWT.CENTER).applyTo(selectbtn);
  regServerComboListener();
  regSettingBtnListener();
  regSelectBtnListener();
  regRepositoryTextListener();
}

Fixed version (ground truth):
private void createTopContents(Composite parent){
  createButtons(parent);
  Label serverLbl=new Label(parent,SWT.NONE);
  serverLbl.setText(Messages.getString("String_Node_Str"));
  GridDataFactory.fillDefaults().span(1,1).indent(SWT.DEFAULT,10).grab(false,false).align(SWT.END,SWT.CENTER).applyTo(serverLbl);
  String[] comboitems=new String[]{Messages.getString("String_Node_Str"),Messages.getString("String_Node_Str")};
  serverCombo=new Combo(parent,SWT.BORDER | SWT.DROP_DOWN | SWT.READ_ONLY);
  serverCombo.setItems(comboitems);
  serverCombo.setToolTipText(Messages.getString("String_Node_Str"));
  if (!TOozieParamUtils.isFromRepository()) {
    serverCombo.select(1);
    serverCombo.setEnabled(false);
  }
 else   if (getRepositoryTextValue().length() != 0) {
    serverCombo.select(1);
  }
 else {
    serverCombo.select(0);
  }
  GridDataFactory.fillDefaults().span(1,1).grab(false,false).indent(SWT.DEFAULT,15).hint(computeComboTxtSize(serverCombo).x + 10,30).applyTo(serverCombo);
  settingBtn=new Button(parent,SWT.NONE);
  settingBtn.setText(TOozieUIConstants.OOZIE_BTN_SETTING);
  settingBtn.setImage(ImageProvider.getImage(TOozieImages.IMG_SETTING));
  GridDataFactory.fillDefaults().span(1,1).grab(false,false).indent(SWT.DEFAULT,10).hint(computeBtnTxtSize(settingBtn).x + 60,30).align(SWT.END,SWT.CENTER).applyTo(settingBtn);
  repositoryText=new Text(parent,SWT.BORDER);
  repositoryText.setText(getRepositoryTextValue() == null ? "String_Node_Str" : getRepositoryTextValue());
  repositoryText.setEditable(false);
  repositoryText.setEnabled(false);
  repositoryText.setVisible(serverCombo.getSelectionIndex() == 1);
  GridDataFactory.fillDefaults().grab(true,false).indent(-105,10).hint(computeBtnTxtSize(settingBtn).x + 60,14).align(SWT.FILL,SWT.CENTER).applyTo(repositoryText);
  selectbtn=new Button(parent,SWT.NONE);
  selectbtn.setImage(ImageProvider.getImage(TOozieImages.IMG_DOTS));
  selectbtn.setVisible(serverCombo.getSelectionIndex() == 1);
  GridDataFactory.fillDefaults().span(1,1).grab(true,false).indent(SWT.DEFAULT,10).hint(30,21).align(SWT.BEGINNING,SWT.CENTER).applyTo(selectbtn);
  regServerComboListener();
  regSettingBtnListener();
  regSelectBtnListener();
  regRepositoryTextListener();
}