Program: 70761
Project: 70761
Buggy source:
protected Control createContents(Composite parent){
  UIUtil.bindHelp(parent,IHelpContextIds.PREFERENCE_BIRT_DATA_SET_EDITOR_ID);
  Composite mainComposite=new Composite(parent,SWT.NONE);
  GridData data=new GridData(GridData.FILL_HORIZONTAL);
  data.horizontalSpan=2;
  data.verticalSpan=5;
  GridLayout layout=new GridLayout();
  mainComposite.setLayout(layout);
  Group previewPageGroup=new Group(mainComposite,SWT.NONE);
  previewPageGroup.setLayout(new GridLayout());
  previewPageGroup.setText(Messages.getString("String_Node_Str"));
  previewPageGroup.setLayoutData(data);
  previewPageGroup.setEnabled(true);
  maxRowEditor=new IntegerFieldEditor(USER_MAXROW,"String_Node_Str",previewPageGroup);
  Label lab2=maxRowEditor.getLabelControl(previewPageGroup);
  lab2.setText(Messages.getString("String_Node_Str"));
  maxRowEditor.setPage(this);
  maxRowEditor.setTextLimit(Integer.toString(MAX_MAX_ROW).length());
  maxRowEditor.setErrorMessage(Messages.getFormattedString("String_Node_Str",new Object[]{new Integer(MAX_MAX_ROW)}));
  maxRowEditor.setValidateStrategy(StringFieldEditor.VALIDATE_ON_KEY_STROKE);
  maxRowEditor.setValidRange(1,MAX_MAX_ROW);
  maxRowEditor.setPropertyChangeListener(new IPropertyChangeListener(){
    public void propertyChange(    PropertyChangeEvent event){
      if (event.getProperty().equals(FieldEditor.IS_VALID))       setValid(maxRowEditor.isValid());
    }
  }
);
  String defaultMaxRow=ReportPlugin.getDefault().getPluginPreferences().getString(USER_MAXROW);
  if (defaultMaxRow == null || defaultMaxRow.trim().length() <= 0) {
    defaultMaxRow=String.valueOf(DEFAULT_MAX_ROW);
  }
  maxRowEditor.setStringValue(defaultMaxRow);
  return mainComposite;
}

Fixed version (ground truth):
protected Control createContents(Composite parent){
  UIUtil.bindHelp(parent,IHelpContextIds.PREFERENCE_BIRT_DATA_SET_EDITOR_ID);
  Composite mainComposite=new Composite(parent,SWT.NONE);
  GridData data=new GridData(GridData.FILL_HORIZONTAL);
  data.horizontalSpan=2;
  data.verticalSpan=5;
  GridLayout layout=new GridLayout();
  mainComposite.setLayout(layout);
  Group previewPageGroup=new Group(mainComposite,SWT.NONE);
  previewPageGroup.setLayout(new GridLayout());
  previewPageGroup.setText(Messages.getString("String_Node_Str"));
  previewPageGroup.setLayoutData(data);
  previewPageGroup.setEnabled(true);
  maxRowEditor=new IntegerFieldEditor(USER_MAXROW,"String_Node_Str",previewPageGroup);
  Label lab2=maxRowEditor.getLabelControl(previewPageGroup);
  lab2.setText(Messages.getString("String_Node_Str"));
  maxRowEditor.setPage(this);
  maxRowEditor.setTextLimit(Integer.toString(MAX_MAX_ROW).length());
  maxRowEditor.setErrorMessage(Messages.getFormattedString("String_Node_Str",new Object[]{Integer.valueOf(MAX_MAX_ROW)}));
  maxRowEditor.setValidateStrategy(StringFieldEditor.VALIDATE_ON_KEY_STROKE);
  maxRowEditor.setValidRange(1,MAX_MAX_ROW);
  maxRowEditor.setPropertyChangeListener(new IPropertyChangeListener(){
    public void propertyChange(    PropertyChangeEvent event){
      if (event.getProperty().equals(FieldEditor.IS_VALID))       setValid(maxRowEditor.isValid());
    }
  }
);
  String defaultMaxRow=ReportPlugin.getDefault().getPluginPreferences().getString(USER_MAXROW);
  if (defaultMaxRow == null || defaultMaxRow.trim().length() <= 0) {
    defaultMaxRow=String.valueOf(DEFAULT_MAX_ROW);
  }
  maxRowEditor.setStringValue(defaultMaxRow);
  return mainComposite;
}