Program: 47641
Project: 47641
Buggy source:
/** 
 */
private void createMenus(){
  addSpacer(5);
  Label label=new Label(Messages.getString("String_Node_Str"));
  label.setStyleName("String_Node_Str");
  add(label);
  add(GLUE);
  Image runImage=new Image();
  MantleImages.images.run().applyTo(runImage);
  Image runDisabledImage=new Image();
  MantleImages.images.runDisabled().applyTo(runDisabledImage);
  runBtn=new ToolbarButton(runImage,runDisabledImage);
  runBtn.setId("String_Node_Str");
  runCmd=new FileCommand(FileCommand.COMMAND.RUN,null,repositoryFileProvider);
  runBtn.setCommand(runCmd);
  runBtn.setToolTip(Messages.getString("String_Node_Str"));
  add(runBtn);
  Image editImage=new Image();
  MantleImages.images.update().applyTo(editImage);
  Image editDisabledImage=new Image();
  MantleImages.images.updateDisabled().applyTo(editDisabledImage);
  editBtn=new ToolbarButton(editImage,editDisabledImage);
  editBtn.setId("String_Node_Str");
  editCmd=new FileCommand(FileCommand.COMMAND.EDIT,null,repositoryFileProvider);
  editBtn.setCommand(editCmd);
  editBtn.setToolTip(Messages.getString("String_Node_Str"));
  add(editBtn);
  Image miscImage=new Image();
  MantleImages.images.misc().applyTo(miscImage);
  Image miscDisabledImage=new Image();
  MantleImages.images.miscDisabled().applyTo(miscDisabledImage);
  miscComboBtn=new ToolbarComboButton(miscImage,miscDisabledImage);
  miscComboBtn.setId("String_Node_Str");
  MantleServiceCache.getService().repositorySupportsACLS(new AsyncCallback<Boolean>(){
    public void onFailure(    Throwable caught){
      Window.alert("String_Node_Str");
      MessageDialogBox dialogBox=new MessageDialogBox(Messages.getString("String_Node_Str"),caught.toString(),false,false,true);
      dialogBox.center();
      createMenuItems(false);
      Window.alert("String_Node_Str");
    }
    public void onSuccess(    Boolean result){
      createMenuItems(result);
    }
  }
);
  miscComboBtn.setToolTip(Messages.getString("String_Node_Str"));
  miscComboBtn.setStylePrimaryName("String_Node_Str");
  add(miscComboBtn);
  setEnabled(false);
}

Fixed version (ground truth):
/** 
 */
private void createMenus(){
  addSpacer(5);
  Label label=new Label(Messages.getString("String_Node_Str"));
  label.setStyleName("String_Node_Str");
  add(label);
  add(GLUE);
  Image runImage=new Image(MantleImages.images.run());
  Image runDisabledImage=new Image(MantleImages.images.runDisabled());
  runBtn=new ToolbarButton(runImage,runDisabledImage);
  runBtn.setId("String_Node_Str");
  runCmd=new FileCommand(FileCommand.COMMAND.RUN,null,repositoryFileProvider);
  runBtn.setCommand(runCmd);
  runBtn.setToolTip(Messages.getString("String_Node_Str"));
  add(runBtn);
  Image editImage=new Image(MantleImages.images.update());
  Image editDisabledImage=new Image(MantleImages.images.updateDisabled());
  editBtn=new ToolbarButton(editImage,editDisabledImage);
  editBtn.setId("String_Node_Str");
  editCmd=new FileCommand(FileCommand.COMMAND.EDIT,null,repositoryFileProvider);
  editBtn.setCommand(editCmd);
  editBtn.setToolTip(Messages.getString("String_Node_Str"));
  add(editBtn);
  Image miscImage=new Image(MantleImages.images.misc());
  Image miscDisabledImage=new Image(MantleImages.images.miscDisabled());
  miscComboBtn=new ToolbarComboButton(miscImage,miscDisabledImage);
  miscComboBtn.setId("String_Node_Str");
  MantleServiceCache.getService().repositorySupportsACLS(new AsyncCallback<Boolean>(){
    public void onFailure(    Throwable caught){
      Window.alert("String_Node_Str");
      MessageDialogBox dialogBox=new MessageDialogBox(Messages.getString("String_Node_Str"),caught.toString(),false,false,true);
      dialogBox.center();
      createMenuItems(false);
      Window.alert("String_Node_Str");
    }
    public void onSuccess(    Boolean result){
      createMenuItems(result);
    }
  }
);
  miscComboBtn.setToolTip(Messages.getString("String_Node_Str"));
  miscComboBtn.setStylePrimaryName("String_Node_Str");
  add(miscComboBtn);
  setEnabled(false);
}