Program: 96965
Project: 96965
Buggy source:
@Override public void widgetCreated(XWidget xWidget,FormToolkit toolkit,Artifact art,SwtXWidgetRenderer dynamicXWidgetLayout,XModifiedListener modListener,boolean isEditable) throws OseeCoreException {
  super.widgetCreated(xWidget,toolkit,art,dynamicXWidgetLayout,modListener,isEditable);
  if (xWidget.getLabel().equals(WAS_BRANCH)) {
    branchWidget=(XBranchSelectWidget)xWidget;
    branchWidget.setEditable(false);
  }
 else   if (xWidget.getLabel().equals(PUBLISH_AS_DIFF)) {
    final XCheckBox checkBox=(XCheckBox)xWidget;
    checkBox.addSelectionListener(new SelectionAdapter(){
      @Override public void widgetSelected(      SelectionEvent e){
        super.widgetSelected(e);
        branchWidget.setEditable(checkBox.isChecked());
        if (!checkBox.isChecked()) {
          branchWidget.setSelection(null);
        }
      }
    }
);
  }
 else   if (xWidget.getLabel().equals(MASTER_TEMPLATE)) {
    final XCombo masterCombo=(XCombo)xWidget;
    masterCombo.addModifyListener(new ModifyListener(){
      @Override public void modifyText(      ModifyEvent e){
        if (masterCombo.get().contains("String_Node_Str")) {
          slaveWidget.setEnabled(true);
          orcsQueryWidget.setEditable(false);
          orcsQueryWidget.set("String_Node_Str");
          artifactsWidget.setEditable(false);
          isSRSPublishing=true;
        }
 else {
          slaveWidget.setEnabled(false);
          slaveWidget.set("String_Node_Str");
          orcsQueryWidget.setEditable(true);
          artifactsWidget.setEditable(true);
          isSRSPublishing=false;
        }
      }
    }
);
  }
 else   if (xWidget.getLabel().equals(SLAVE_TEMPLATE)) {
    slaveWidget=(XCombo)xWidget;
    slaveWidget.setEnabled(false);
  }
 else   if (xWidget.getLabel().equals(IS_ARTIFACTS)) {
    artifactsWidget=(XListDropViewer)xWidget;
    artifactsWidget.setEditable(true);
  }
 else   if (xWidget.getLabel().equals(ORCS_QUERY)) {
    orcsQueryWidget=(XDslEditorWidget)xWidget;
    orcsQueryWidget.setEditable(true);
  }
}

Fixed version (ground truth):
@Override public void widgetCreated(XWidget xWidget,FormToolkit toolkit,Artifact art,SwtXWidgetRenderer dynamicXWidgetLayout,XModifiedListener modListener,boolean isEditable) throws OseeCoreException {
  super.widgetCreated(xWidget,toolkit,art,dynamicXWidgetLayout,modListener,isEditable);
  if (xWidget.getLabel().equals(WAS_BRANCH)) {
    branchWidget=(XBranchSelectWidget)xWidget;
    branchWidget.setEditable(false);
  }
 else   if (xWidget.getLabel().equals(PUBLISH_AS_DIFF)) {
    final XCheckBox checkBox=(XCheckBox)xWidget;
    checkBox.addSelectionListener(new SelectionAdapter(){
      @Override public void widgetSelected(      SelectionEvent e){
        super.widgetSelected(e);
        branchWidget.setEditable(checkBox.isChecked());
        if (!checkBox.isChecked()) {
          branchWidget.setSelection(null);
        }
      }
    }
);
  }
 else   if (xWidget.getLabel().equals(MASTER_TEMPLATE)) {
    final XCombo masterCombo=(XCombo)xWidget;
    masterCombo.addModifyListener(new ModifyListener(){
      @Override public void modifyText(      ModifyEvent e){
        if (masterCombo.get().contains("String_Node_Str")) {
          slaveWidget.setEnabled(true);
          orcsQueryWidget.setEditable(false);
          orcsQueryWidget.set("String_Node_Str");
          artifactsWidget.setEditable(false);
        }
 else {
          slaveWidget.setEnabled(false);
          slaveWidget.set("String_Node_Str");
          orcsQueryWidget.setEditable(true);
          artifactsWidget.setEditable(true);
        }
      }
    }
);
  }
 else   if (xWidget.getLabel().equals(SLAVE_TEMPLATE)) {
    slaveWidget=(XCombo)xWidget;
    slaveWidget.setEnabled(false);
  }
 else   if (xWidget.getLabel().equals(IS_ARTIFACTS)) {
    artifactsWidget=(XListDropViewer)xWidget;
    artifactsWidget.setEditable(true);
  }
 else   if (xWidget.getLabel().equals(ORCS_QUERY)) {
    orcsQueryWidget=(XDslEditorWidget)xWidget;
    orcsQueryWidget.setEditable(true);
  }
}