Program: 35678
Project: 35678
Buggy source:
private Grid<UserDTO> buildUsersGrid(){
  List<ColumnConfig> configs=new ArrayList<ColumnConfig>();
  ColumnConfig column=new ColumnConfig("String_Node_Str",I18N.CONSTANTS.adminUsersName(),100);
  configs.add(column);
  column=new ColumnConfig("String_Node_Str",I18N.CONSTANTS.adminUsersFirstName(),100);
  configs.add(column);
  column=new ColumnConfig("String_Node_Str",I18N.CONSTANTS.adminUsersActive(),50);
  column.setRenderer(new GridCellRenderer<UserDTO>(){
    @Override public Object render(    UserDTO model,    String property,    ColumnData config,    int rowIndex,    int colIndex,    ListStore<UserDTO> store,    Grid<UserDTO> grid){
      final boolean isActive=model.getActive();
      return createUserGridText(isActive ? I18N.CONSTANTS.adminUsersIsActive() : I18N.CONSTANTS.adminUsersNotActive());
    }
  }
);
  configs.add(column);
  column=new ColumnConfig("String_Node_Str",I18N.CONSTANTS.adminUsersEmail(),150);
  configs.add(column);
  column=new ColumnConfig("String_Node_Str",I18N.CONSTANTS.adminUsersLocale(),50);
  configs.add(column);
  column=new ColumnConfig("String_Node_Str",I18N.CONSTANTS.adminUsersOrgUnit(),75);
  column.setRenderer(new GridCellRenderer<UserDTO>(){
    @Override public Object render(    UserDTO model,    String property,    ColumnData config,    int rowIndex,    int colIndex,    ListStore<UserDTO> store,    Grid<UserDTO> grid){
      final OrgUnitDTO orgUnit=(OrgUnitDTO)model.get(property);
      return createUserGridText(orgUnit != null ? (orgUnit.getFullName() != null ? orgUnit.getFullName() : "String_Node_Str") : "String_Node_Str");
    }
  }
);
  configs.add(column);
  column=new ColumnConfig("String_Node_Str",I18N.CONSTANTS.adminUsersPasswordChange(),120);
  configs.add(column);
  column=new ColumnConfig("String_Node_Str",I18N.CONSTANTS.adminUsersDatePasswordChange(),120);
  final DateTimeFormat format=DateTimeFormat.getFormat(I18N.CONSTANTS.flexibleElementDateFormat());
  column.setHeader(I18N.CONSTANTS.adminUsersDatePasswordChange());
  column.setDateTimeFormat(format);
  column.setRenderer(new GridCellRenderer<UserDTO>(){
    @Override public Object render(    UserDTO model,    String property,    ColumnData config,    int rowIndex,    int colIndex,    ListStore<UserDTO> store,    Grid<UserDTO> grid){
      final Date d=(Date)model.get(property);
      return createUserGridText(d != null ? format.format(d) : "String_Node_Str");
    }
  }
);
  configs.add(column);
  column=new ColumnConfig();
  column.setId("String_Node_Str");
  column.setHeader(I18N.CONSTANTS.adminUsersProfiles());
  column.setWidth(300);
  column.setRenderer(new GridCellRenderer<UserDTO>(){
    @Override public Object render(    UserDTO model,    String property,    ColumnData config,    int rowIndex,    int colIndex,    ListStore<UserDTO> store,    Grid<UserDTO> grid){
      String content="String_Node_Str";
      if (model.getProfilesDTO() != null) {
        for (        ProfileDTO oneProfileDTO : model.getProfilesDTO()) {
          content=oneProfileDTO.getName() + "String_Node_Str" + content;
        }
      }
 else {
        content=I18N.CONSTANTS.adminUsersNoProfiles();
      }
      return createUserGridText(content);
    }
  }
);
  configs.add(column);
  column=new ColumnConfig();
  column.setWidth(75);
  column.setAlignment(Style.HorizontalAlignment.RIGHT);
  column.setRenderer(new GridCellRenderer<UserDTO>(){
    @Override public Object render(    final UserDTO model,    final String property,    ColumnData config,    int rowIndex,    int colIndex,    ListStore<UserDTO> store,    Grid<UserDTO> grid){
      Button button=new Button(I18N.CONSTANTS.edit());
      button.setItemId(UIActions.edit);
      button.addListener(Events.OnClick,new Listener<ButtonEvent>(){
        @Override public void handleEvent(        ButtonEvent be){
          final Window window=new Window();
          UserSigmahForm form=AdminUsersView.this.showNewUserForm(window,new AsyncCallback<CreateResult>(){
            @Override public void onFailure(            Throwable caught){
              window.hide();
            }
            @Override public void onSuccess(            CreateResult result){
              window.hide();
              AdminUsersView.this.getAdminUsersStore().remove(model);
              AdminUsersView.this.getAdminUsersStore().add((UserDTO)result.getEntity());
              AdminUsersView.this.getAdminUsersStore().commitChanges();
            }
          }
,model);
          window.add(form);
          window.show();
        }
      }
);
      return button;
    }
  }
);
  configs.add(column);
  ColumnModel cm=new ColumnModel(configs);
  final Grid<UserDTO> grid=new Grid<UserDTO>(adminUsersStore,cm);
  grid.getView().setForceFit(true);
  grid.setStyleAttribute("String_Node_Str","String_Node_Str");
  grid.setBorders(false);
  grid.setStripeRows(true);
  grid.setAutoHeight(true);
  return grid;
}

Fixed version (ground truth):
private Grid<UserDTO> buildUsersGrid(){
  List<ColumnConfig> configs=new ArrayList<ColumnConfig>();
  ColumnConfig column=new ColumnConfig("String_Node_Str",I18N.CONSTANTS.adminUsersName(),100);
  configs.add(column);
  column=new ColumnConfig("String_Node_Str",I18N.CONSTANTS.adminUsersFirstName(),100);
  configs.add(column);
  column=new ColumnConfig("String_Node_Str",I18N.CONSTANTS.adminUsersActive(),50);
  column.setRenderer(new GridCellRenderer<UserDTO>(){
    @Override public Object render(    UserDTO model,    String property,    ColumnData config,    int rowIndex,    int colIndex,    ListStore<UserDTO> store,    Grid<UserDTO> grid){
      final boolean isActive=model.getActive();
      return createUserGridText(isActive ? I18N.CONSTANTS.adminUsersIsActive() : I18N.CONSTANTS.adminUsersNotActive());
    }
  }
);
  configs.add(column);
  column=new ColumnConfig("String_Node_Str",I18N.CONSTANTS.adminUsersEmail(),150);
  configs.add(column);
  column=new ColumnConfig("String_Node_Str",I18N.CONSTANTS.adminUsersLocale(),50);
  configs.add(column);
  column=new ColumnConfig("String_Node_Str",I18N.CONSTANTS.adminUsersOrgUnit(),110);
  column.setRenderer(new GridCellRenderer<UserDTO>(){
    @Override public Object render(    UserDTO model,    String property,    ColumnData config,    int rowIndex,    int colIndex,    ListStore<UserDTO> store,    Grid<UserDTO> grid){
      final OrgUnitDTO orgUnit=(OrgUnitDTO)model.get(property);
      return createUserGridText(orgUnit != null ? (orgUnit.getFullName() != null ? orgUnit.getFullName() : "String_Node_Str") : "String_Node_Str");
    }
  }
);
  configs.add(column);
  column=new ColumnConfig("String_Node_Str",I18N.CONSTANTS.adminUsersDatePasswordChange(),120);
  final DateTimeFormat format=DateTimeFormat.getFormat(I18N.CONSTANTS.flexibleElementDateFormat());
  column.setHeader(I18N.CONSTANTS.adminUsersDatePasswordChange());
  column.setDateTimeFormat(format);
  column.setRenderer(new GridCellRenderer<UserDTO>(){
    @Override public Object render(    UserDTO model,    String property,    ColumnData config,    int rowIndex,    int colIndex,    ListStore<UserDTO> store,    Grid<UserDTO> grid){
      final Date d=(Date)model.get(property);
      return createUserGridText(d != null ? format.format(d) : "String_Node_Str");
    }
  }
);
  configs.add(column);
  column=new ColumnConfig();
  column.setId("String_Node_Str");
  column.setHeader(I18N.CONSTANTS.adminUsersProfiles());
  column.setWidth(300);
  column.setRenderer(new GridCellRenderer<UserDTO>(){
    @Override public Object render(    UserDTO model,    String property,    ColumnData config,    int rowIndex,    int colIndex,    ListStore<UserDTO> store,    Grid<UserDTO> grid){
      String content="String_Node_Str";
      if (model.getProfilesDTO() != null) {
        for (        ProfileDTO oneProfileDTO : model.getProfilesDTO()) {
          content=oneProfileDTO.getName() + "String_Node_Str" + content;
        }
      }
 else {
        content=I18N.CONSTANTS.adminUsersNoProfiles();
      }
      return createUserGridText(content);
    }
  }
);
  configs.add(column);
  column=new ColumnConfig();
  column.setWidth(75);
  column.setAlignment(Style.HorizontalAlignment.RIGHT);
  column.setRenderer(new GridCellRenderer<UserDTO>(){
    @Override public Object render(    final UserDTO model,    final String property,    ColumnData config,    int rowIndex,    int colIndex,    ListStore<UserDTO> store,    Grid<UserDTO> grid){
      Button button=new Button(I18N.CONSTANTS.edit());
      button.setItemId(UIActions.edit);
      button.addListener(Events.OnClick,new Listener<ButtonEvent>(){
        @Override public void handleEvent(        ButtonEvent be){
          final Window window=new Window();
          UserSigmahForm form=AdminUsersView.this.showNewUserForm(window,new AsyncCallback<CreateResult>(){
            @Override public void onFailure(            Throwable caught){
              window.hide();
            }
            @Override public void onSuccess(            CreateResult result){
              window.hide();
              AdminUsersView.this.getAdminUsersStore().remove(model);
              AdminUsersView.this.getAdminUsersStore().add((UserDTO)result.getEntity());
              AdminUsersView.this.getAdminUsersStore().commitChanges();
            }
          }
,model);
          window.add(form);
          window.show();
        }
      }
);
      return button;
    }
  }
);
  configs.add(column);
  ColumnModel cm=new ColumnModel(configs);
  final Grid<UserDTO> grid=new Grid<UserDTO>(adminUsersStore,cm);
  grid.getView().setForceFit(true);
  grid.setStyleAttribute("String_Node_Str","String_Node_Str");
  grid.setBorders(false);
  grid.setStripeRows(true);
  grid.setAutoHeight(true);
  return grid;
}