Program: 73722
Project: 73722
Buggy source:
protected Control createContents(Composite parent){
  UIUtil.bindHelp(parent,IHelpContextIds.PREFERENCE_BIRT_PREVIEW_DATA_ID);
  Composite cmpTop=new Composite(parent,SWT.NONE);
  GridLayout layout=new GridLayout(1,false);
  cmpTop.setLayout(layout);
  GridData gd=new GridData(GridData.FILL_HORIZONTAL);
  cmpTop.setLayoutData(gd);
  txtMaxDataSetRow=new IntegerFieldEditor(PREVIEW_MAXROW,Messages.getString("String_Node_Str"),cmpTop);
  txtMaxDataSetRow.setPage(this);
  txtMaxDataSetRow.setTextLimit(Integer.toString(MAX_DATASET_ROW).length());
  txtMaxDataSetRow.setErrorMessage(Messages.getFormattedString("String_Node_Str",new Object[]{new Integer(MAX_DATASET_ROW)}));
  txtMaxDataSetRow.setValidateStrategy(StringFieldEditor.VALIDATE_ON_KEY_STROKE);
  txtMaxDataSetRow.setValidRange(1,MAX_DATASET_ROW);
  txtMaxDataSetRow.setEmptyStringAllowed(false);
  txtMaxDataSetRow.setPropertyChangeListener(new IPropertyChangeListener(){
    public void propertyChange(    PropertyChangeEvent event){
      if (event.getProperty().equals(FieldEditor.IS_VALID))       setValid(txtMaxDataSetRow.isValid());
    }
  }
);
  txtMaxRowLevelMember=new IntegerFieldEditor(PREVIEW_MAX_ROW_LEVEL_MEMBER,Messages.getString("String_Node_Str"),cmpTop);
  txtMaxRowLevelMember.setPage(this);
  txtMaxRowLevelMember.setTextLimit(Integer.toString(MAX_CUBE_LEVEL_MEMBER).length());
  txtMaxRowLevelMember.setErrorMessage(Messages.getFormattedString("String_Node_Str",new Object[]{new Integer(MAX_CUBE_LEVEL_MEMBER)}));
  txtMaxRowLevelMember.setValidateStrategy(StringFieldEditor.VALIDATE_ON_KEY_STROKE);
  txtMaxRowLevelMember.setValidRange(1,MAX_CUBE_LEVEL_MEMBER);
  txtMaxRowLevelMember.setEmptyStringAllowed(false);
  txtMaxRowLevelMember.setPropertyChangeListener(new IPropertyChangeListener(){
    public void propertyChange(    PropertyChangeEvent event){
      if (event.getProperty().equals(FieldEditor.IS_VALID))       setValid(txtMaxRowLevelMember.isValid());
    }
  }
);
  txtMaxColumnLevelMember=new IntegerFieldEditor(PREVIEW_MAX_COLUMN_LEVEL_MEMBER,Messages.getString("String_Node_Str"),cmpTop);
  txtMaxColumnLevelMember.setPage(this);
  txtMaxColumnLevelMember.setTextLimit(Integer.toString(MAX_CUBE_LEVEL_MEMBER).length());
  txtMaxColumnLevelMember.setErrorMessage(Messages.getFormattedString("String_Node_Str",new Object[]{new Integer(MAX_CUBE_LEVEL_MEMBER)}));
  txtMaxColumnLevelMember.setValidateStrategy(StringFieldEditor.VALIDATE_ON_KEY_STROKE);
  txtMaxColumnLevelMember.setValidRange(1,MAX_CUBE_LEVEL_MEMBER);
  txtMaxColumnLevelMember.setEmptyStringAllowed(false);
  txtMaxColumnLevelMember.setPropertyChangeListener(new IPropertyChangeListener(){
    public void propertyChange(    PropertyChangeEvent event){
      if (event.getProperty().equals(FieldEditor.IS_VALID))       setValid(txtMaxColumnLevelMember.isValid());
    }
  }
);
  txtMaxInMemoryCubeSize=new IntegerFieldEditor(PREVIEW_MAX_IN_MEMORY_CUBE_SIZE,Messages.getString("String_Node_Str"),cmpTop);
  txtMaxInMemoryCubeSize.setPage(this);
  txtMaxInMemoryCubeSize.setTextLimit(Integer.toString(MAX_IN_MEMORY_CUBE_SIZE).length());
  txtMaxInMemoryCubeSize.setErrorMessage(Messages.getFormattedString("String_Node_Str",new Object[]{new Integer(MAX_IN_MEMORY_CUBE_SIZE)}));
  txtMaxInMemoryCubeSize.setValidateStrategy(StringFieldEditor.VALIDATE_ON_KEY_STROKE);
  txtMaxInMemoryCubeSize.setValidRange(1,MAX_IN_MEMORY_CUBE_SIZE);
  txtMaxInMemoryCubeSize.setEmptyStringAllowed(false);
  txtMaxInMemoryCubeSize.setPropertyChangeListener(new IPropertyChangeListener(){
    public void propertyChange(    PropertyChangeEvent event){
      if (event.getProperty().equals(FieldEditor.IS_VALID))       setValid(txtMaxInMemoryCubeSize.isValid());
    }
  }
);
  initControlValues();
  return cmpTop;
}

Fixed version (ground truth):
protected Control createContents(Composite parent){
  UIUtil.bindHelp(parent,IHelpContextIds.PREFERENCE_BIRT_PREVIEW_DATA_ID);
  Composite cmpTop=new Composite(parent,SWT.NONE);
  GridLayout layout=new GridLayout(1,false);
  cmpTop.setLayout(layout);
  GridData gd=new GridData(GridData.FILL_HORIZONTAL);
  cmpTop.setLayoutData(gd);
  txtMaxDataSetRow=new IntegerFieldEditor(PREVIEW_MAXROW,Messages.getString("String_Node_Str"),cmpTop);
  txtMaxDataSetRow.setPage(this);
  txtMaxDataSetRow.setValidateStrategy(StringFieldEditor.VALIDATE_ON_KEY_STROKE);
  txtMaxDataSetRow.setEmptyStringAllowed(false);
  txtMaxDataSetRow.setPropertyChangeListener(new IPropertyChangeListener(){
    public void propertyChange(    PropertyChangeEvent event){
      if (event.getProperty().equals(FieldEditor.IS_VALID))       setValid(txtMaxDataSetRow.isValid());
    }
  }
);
  txtMaxRowLevelMember=new IntegerFieldEditor(PREVIEW_MAX_ROW_LEVEL_MEMBER,Messages.getString("String_Node_Str"),cmpTop);
  txtMaxRowLevelMember.setPage(this);
  txtMaxRowLevelMember.setValidateStrategy(StringFieldEditor.VALIDATE_ON_KEY_STROKE);
  txtMaxRowLevelMember.setEmptyStringAllowed(false);
  txtMaxRowLevelMember.setPropertyChangeListener(new IPropertyChangeListener(){
    public void propertyChange(    PropertyChangeEvent event){
      if (event.getProperty().equals(FieldEditor.IS_VALID))       setValid(txtMaxRowLevelMember.isValid());
    }
  }
);
  txtMaxColumnLevelMember=new IntegerFieldEditor(PREVIEW_MAX_COLUMN_LEVEL_MEMBER,Messages.getString("String_Node_Str"),cmpTop);
  txtMaxColumnLevelMember.setPage(this);
  txtMaxColumnLevelMember.setValidateStrategy(StringFieldEditor.VALIDATE_ON_KEY_STROKE);
  txtMaxColumnLevelMember.setEmptyStringAllowed(false);
  txtMaxColumnLevelMember.setPropertyChangeListener(new IPropertyChangeListener(){
    public void propertyChange(    PropertyChangeEvent event){
      if (event.getProperty().equals(FieldEditor.IS_VALID))       setValid(txtMaxColumnLevelMember.isValid());
    }
  }
);
  txtMaxInMemoryCubeSize=new IntegerFieldEditor(PREVIEW_MAX_IN_MEMORY_CUBE_SIZE,Messages.getString("String_Node_Str"),cmpTop);
  txtMaxInMemoryCubeSize.setPage(this);
  txtMaxInMemoryCubeSize.setValidateStrategy(StringFieldEditor.VALIDATE_ON_KEY_STROKE);
  txtMaxInMemoryCubeSize.setEmptyStringAllowed(false);
  txtMaxInMemoryCubeSize.setPropertyChangeListener(new IPropertyChangeListener(){
    public void propertyChange(    PropertyChangeEvent event){
      if (event.getProperty().equals(FieldEditor.IS_VALID))       setValid(txtMaxInMemoryCubeSize.isValid());
    }
  }
);
  initControlValues();
  return cmpTop;
}