Program: 70727
Project: 70727
Buggy source:
protected void okPressed(){
  try {
    valueVisible=determineValueVisible(DEUtil.resolveNull(getValueForOperator(operator.getText())));
    if (handle == null) {
      MapRule rule=StructureFactory.createMapRule();
      rule.setProperty(MapRule.OPERATOR_MEMBER,DEUtil.resolveNull(getValueForOperator(operator.getText())));
      if (valueVisible == 3) {
        rule.setValue1(valueList);
        rule.setValue2("String_Node_Str");
      }
 else {
        if (expressionValue1.isVisible()) {
          rule.setProperty(MapRule.VALUE1_MEMBER,DEUtil.resolveNull(expressionValue1.getText()));
        }
        if (expressionValue2.isVisible()) {
          rule.setProperty(MapRule.VALUE2_MEMBER,DEUtil.resolveNull(expressionValue2.getText()));
        }
      }
      rule.setProperty(MapRule.DISPLAY_MEMBER,DEUtil.resolveNull(display.getText()));
      rule.setTestExpression(DEUtil.resolveNull(expression.getText()));
      handle=provider.doAddItem(rule,handleCount);
    }
 else {
      handle.setOperator(DEUtil.resolveNull(getValueForOperator(operator.getText())));
      if (valueVisible != 3) {
        if (expressionValue1.isVisible()) {
          handle.setValue1(DEUtil.resolveNull(expressionValue1.getText()));
        }
 else {
          handle.setValue1(NULL_STRING);
        }
        if (expressionValue2.isVisible()) {
          handle.setValue2(DEUtil.resolveNull(expressionValue2.getText()));
        }
 else {
          handle.setValue2(NULL_STRING);
        }
      }
 else {
        handle.setValue1(valueList);
        handle.setValue2("String_Node_Str");
      }
      handle.setDisplay(DEUtil.resolveNull(display.getText()));
      handle.setDisplayKey(DEUtil.resolveNull(resourceKeytext.getText()));
      handle.setTestExpression(DEUtil.resolveNull(expression.getText()));
    }
  }
 catch (  Exception e) {
    WidgetUtil.processError(getShell(),e);
  }
  super.okPressed();
}

Fixed version (ground truth):
protected void okPressed(){
  try {
    valueVisible=determineValueVisible(DEUtil.resolveNull(getValueForOperator(operator.getText())));
    if (handle == null) {
      MapRule rule=StructureFactory.createMapRule();
      rule.setProperty(MapRule.OPERATOR_MEMBER,DEUtil.resolveNull(getValueForOperator(operator.getText())));
      if (valueVisible == 3) {
        rule.setValue1(valueList);
        rule.setValue2("String_Node_Str");
      }
 else {
        if (expressionValue1.isVisible()) {
          rule.setProperty(MapRule.VALUE1_MEMBER,DEUtil.resolveNull(expressionValue1.getText()));
        }
        if (expressionValue2.isVisible()) {
          rule.setProperty(MapRule.VALUE2_MEMBER,DEUtil.resolveNull(expressionValue2.getText()));
        }
      }
      rule.setProperty(MapRule.DISPLAY_MEMBER,DEUtil.resolveNull(display.getText()));
      rule.setTestExpression(DEUtil.resolveNull(expression.getText()));
      handle=provider.doAddItem(rule,handleCount);
    }
 else {
      handle.setOperator(DEUtil.resolveNull(getValueForOperator(operator.getText())));
      if (valueVisible != 3) {
        if (expressionValue1.isVisible()) {
          handle.setValue1(DEUtil.resolveNull(expressionValue1.getText()));
        }
 else {
          handle.setValue1(NULL_STRING);
        }
        if (expressionValue2.isVisible()) {
          handle.setValue2(DEUtil.resolveNull(expressionValue2.getText()));
        }
 else {
          handle.setValue2(NULL_STRING);
        }
      }
 else {
        handle.setValue1(valueList);
        handle.setValue2("String_Node_Str");
      }
      handle.setDisplay(DEUtil.resolveNull(display.getText()));
      handle.setDisplayKey(DEUtil.resolveNull(resourceKeytext.getText()));
      handle.setTestExpression(DEUtil.resolveNull(expression.getText()));
    }
  }
 catch (  Exception e) {
    ExceptionUtil.handle(e);
  }
  super.okPressed();
}