Program: 70854
Project: 70854
Buggy source:
protected void okPressed(){
  try {
    if (inputHandle == null) {
      FilterConditionElementHandle filter=DesignElementFactory.getInstance().newFilterConditionElement();
      filter.setProperty(IFilterConditionElementModel.OPERATOR_PROP,DEUtil.resolveNull(getValueForOperator(operator.getText())));
      filter.setExpr(getExpression(expression.getText()));
      if (valueVisible == 3) {
        filter.setValue1(valueList);
        filter.setValue2("String_Node_Str");
      }
 else {
        assert(!expressionValue1.isDisposed());
        assert(!expressionValue2.isDisposed());
        if (expressionValue1.getVisible()) {
          filter.setValue1(DEUtil.resolveNull(expressionValue1.getText()));
        }
 else {
          filter.setValue1(NULL_STRING);
        }
        if (expressionValue2.getVisible()) {
          filter.setValue2(DEUtil.resolveNull(expressionValue2.getText()));
        }
 else {
          filter.setValue2(NULL_STRING);
        }
      }
      PropertyHandle propertyHandle=designHandle.getPropertyHandle(ChartReportItemUtil.PROPERTY_CUBE_FILTER);
      propertyHandle.add(filter);
    }
 else {
      inputHandle.setOperator(DEUtil.resolveNull(getValueForOperator(operator.getText())));
      if (valueVisible == 3) {
        inputHandle.setValue1(valueList);
        inputHandle.setValue2(NULL_STRING);
      }
 else {
        assert(!expressionValue1.isDisposed());
        assert(!expressionValue2.isDisposed());
        if (expressionValue1.getVisible()) {
          inputHandle.setValue1(DEUtil.resolveNull(expressionValue1.getText()));
        }
 else {
          inputHandle.setValue1(NULL_STRING);
        }
        if (expressionValue2.getVisible()) {
          inputHandle.setValue2(DEUtil.resolveNull(expressionValue2.getText()));
        }
 else {
          inputHandle.setValue2(NULL_STRING);
        }
      }
      inputHandle.setExpr(getExpression(expression.getText()));
    }
  }
 catch (  Exception e) {
    WidgetUtil.processError(getShell(),e);
  }
  super.okPressed();
}

Fixed version (ground truth):
protected void okPressed(){
  try {
    if (inputHandle == null) {
      FilterConditionElementHandle filter=DesignElementFactory.getInstance().newFilterConditionElement();
      filter.setProperty(IFilterConditionElementModel.OPERATOR_PROP,DEUtil.resolveNull(getValueForOperator(operator.getText())));
      filter.setExpr(expression.getText());
      if (valueVisible == 3) {
        filter.setValue1(valueList);
        filter.setValue2("String_Node_Str");
      }
 else {
        assert(!expressionValue1.isDisposed());
        assert(!expressionValue2.isDisposed());
        if (expressionValue1.getVisible()) {
          filter.setValue1(DEUtil.resolveNull(expressionValue1.getText()));
        }
 else {
          filter.setValue1(NULL_STRING);
        }
        if (expressionValue2.getVisible()) {
          filter.setValue2(DEUtil.resolveNull(expressionValue2.getText()));
        }
 else {
          filter.setValue2(NULL_STRING);
        }
      }
      PropertyHandle propertyHandle=designHandle.getPropertyHandle(ChartReportItemUtil.PROPERTY_CUBE_FILTER);
      propertyHandle.add(filter);
    }
 else {
      inputHandle.setOperator(DEUtil.resolveNull(getValueForOperator(operator.getText())));
      if (valueVisible == 3) {
        inputHandle.setValue1(valueList);
        inputHandle.setValue2(NULL_STRING);
      }
 else {
        assert(!expressionValue1.isDisposed());
        assert(!expressionValue2.isDisposed());
        if (expressionValue1.getVisible()) {
          inputHandle.setValue1(DEUtil.resolveNull(expressionValue1.getText()));
        }
 else {
          inputHandle.setValue1(NULL_STRING);
        }
        if (expressionValue2.getVisible()) {
          inputHandle.setValue2(DEUtil.resolveNull(expressionValue2.getText()));
        }
 else {
          inputHandle.setValue2(NULL_STRING);
        }
      }
      inputHandle.setExpr(expression.getText());
    }
  }
 catch (  Exception e) {
    WidgetUtil.processError(getShell(),e);
  }
  super.okPressed();
}