Program: 149176
Project: 149176
Buggy source:
@Override protected void createFormContent(IManagedForm managedForm){
  managedForm.getForm().setText(this.getTitle());
  FormToolkit toolkit=managedForm.getToolkit();
  Composite composite=managedForm.getForm().getBody();
  composite.setLayout(new GridLayout(2,false));
  final LabelCombo comboRevision=new LabelCombo(toolkit,composite,"String_Node_Str",SWT.BORDER,1);
  comboRevision.getCombo().setEditable(false);
  final LabelCombo comboUniverse=new LabelCombo(toolkit,composite,"String_Node_Str",SWT.BORDER,1);
  comboUniverse.getCombo().setEditable(false);
  List<String> dcs=Util.getCachedXObjectsNameSet(getXObject(),TreeObject.UNIVERSE);
  comboUniverse.getCombo().setItems(dcs.toArray(new String[dcs.size()]));
  comboUniverse.getCombo().add(IConstants.HEAD,0);
  if (getXObject().getUniverse().trim().length() == 0) {
    comboUniverse.getCombo().setText(IConstants.HEAD);
  }
 else {
    comboUniverse.getCombo().setText(getXObject().getUniverse());
  }
  try {
    XtentisPort port=Util.getPort(new URL(getXObject().getEndpointAddress()),getXObject().getUniverse(),getXObject().getUsername(),getXObject().getPassword());
    Map<String,List<String>> map=Util.getUniverseMap(port);
    String name=getXObject().getDisplayName().replaceAll("String_Node_Str","String_Node_Str");
    List<String> revisions=map.get(name.trim());
    if (revisions != null)     comboRevision.getCombo().setItems(revisions.toArray(new String[revisions.size()]));
    comboRevision.getCombo().add(IConstants.HEAD,0);
    Matcher m=Pattern.compile("String_Node_Str").matcher(getXObject().getDisplayName());
    if (m.matches()) {
      String revision=m.group(2);
      comboRevision.getCombo().setText(revision);
    }
    final Map<String,List<String>> map2=Util.getUniverseMap2(port);
    comboRevision.getCombo().addSelectionListener(new SelectionListener(){
      public void widgetDefaultSelected(      SelectionEvent e){
      }
      public void widgetSelected(      SelectionEvent e){
        if (comboRevision.getCombo().getText().equals(IConstants.HEAD)) {
          comboUniverse.getCombo().setText(IConstants.HEAD);
          return;
        }
        for (        Entry<String,List<String>> entry : map2.entrySet()) {
          if (entry.getValue().contains(comboRevision.getCombo().getText())) {
            comboUniverse.getCombo().setText(entry.getKey());
            break;
          }
        }
      }
    }
);
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
}

Fixed version (ground truth):
@Override protected void createFormContent(IManagedForm managedForm){
  managedForm.getForm().setText(this.getTitle());
  FormToolkit toolkit=managedForm.getToolkit();
  Composite composite=managedForm.getForm().getBody();
  composite.setLayout(new GridLayout(2,false));
  final LabelCombo comboRevision=new LabelCombo(toolkit,composite,"String_Node_Str",SWT.BORDER,1);
  comboRevision.getCombo().setEditable(false);
  final LabelCombo comboUniverse=new LabelCombo(toolkit,composite,"String_Node_Str",SWT.BORDER,1);
  comboUniverse.getCombo().setEditable(false);
  List<String> dcs=Util.getChildren(getXObject().getServerRoot(),TreeObject.UNIVERSE);
  comboUniverse.getCombo().setItems(dcs.toArray(new String[dcs.size()]));
  comboUniverse.getCombo().add(IConstants.HEAD,0);
  if (getXObject().getUniverse().trim().length() == 0) {
    comboUniverse.getCombo().setText(IConstants.HEAD);
  }
 else {
    comboUniverse.getCombo().setText(getXObject().getUniverse());
  }
  try {
    XtentisPort port=Util.getPort(new URL(getXObject().getEndpointAddress()),getXObject().getUniverse(),getXObject().getUsername(),getXObject().getPassword());
    Map<String,List<String>> map=Util.getUniverseMap(port);
    String name=getXObject().getDisplayName().replaceAll("String_Node_Str","String_Node_Str");
    List<String> revisions=map.get(name.trim());
    if (revisions != null)     comboRevision.getCombo().setItems(revisions.toArray(new String[revisions.size()]));
    comboRevision.getCombo().add(IConstants.HEAD,0);
    Matcher m=Pattern.compile("String_Node_Str").matcher(getXObject().getDisplayName());
    if (m.matches()) {
      String revision=m.group(2);
      comboRevision.getCombo().setText(revision);
    }
    final Map<String,List<String>> map2=Util.getUniverseMap2(port);
    comboRevision.getCombo().addSelectionListener(new SelectionListener(){
      public void widgetDefaultSelected(      SelectionEvent e){
      }
      public void widgetSelected(      SelectionEvent e){
        if (comboRevision.getCombo().getText().equals(IConstants.HEAD)) {
          comboUniverse.getCombo().setText(IConstants.HEAD);
          return;
        }
        for (        Entry<String,List<String>> entry : map2.entrySet()) {
          if (entry.getValue().contains(comboRevision.getCombo().getText())) {
            comboUniverse.getCombo().setText(entry.getKey());
            break;
          }
        }
      }
    }
);
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
}