Program: 188440
Project: 188440
Buggy source:
@Override public Widget createActionsLayout(SelectedItems<IndexedAIP> aips,AsyncCallback<ActionImpact> callback){
  FlowPanel layout=createLayout();
  addTitle(layout,messages.intellectualEntity(),aips,null,AipAction.NEW_CHILD_AIP,AipAction.MOVE_IN_HIERARCHY,AipAction.UPDATE_PERMISSIONS,AipAction.ADD_REPRESENTATION,AipAction.REMOVE,AipAction.DOWNLOAD);
  addButton(layout,messages.moveArchivalPackage(),AipAction.MOVE_IN_HIERARCHY,aips,ActionImpact.UPDATED,callback,"String_Node_Str");
  addButton(layout,messages.archivalPackagePermissions(),AipAction.UPDATE_PERMISSIONS,aips,ActionImpact.UPDATED,callback,"String_Node_Str");
  addButton(layout,messages.addRepresentation(),AipAction.ADD_REPRESENTATION,aips,ActionImpact.UPDATED,callback,"String_Node_Str");
  addButton(layout,messages.removeArchivalPackage(),AipAction.REMOVE,aips,ActionImpact.DESTROYED,callback,"String_Node_Str");
  addButton(layout,messages.downloadButton(),AipAction.DOWNLOAD,aips,ActionImpact.NONE,callback,"String_Node_Str");
  addTitle(layout,messages.preservationTitle(),aips,null,AipAction.NEW_PROCESS,AipAction.SHOW_EVENTS,AipAction.SHOW_RISKS,AipAction.SHOW_LOGS);
  addButton(layout,messages.newProcessPreservation(),AipAction.NEW_PROCESS,aips,ActionImpact.UPDATED,callback,"String_Node_Str");
  addButton(layout,messages.preservationEvents(),AipAction.SHOW_EVENTS,aips,ActionImpact.NONE,callback,"String_Node_Str");
  addButton(layout,messages.preservationLogs(),AipAction.SHOW_LOGS,aips,ActionImpact.NONE,callback,"String_Node_Str");
  addButton(layout,messages.preservationRisks(),AipAction.SHOW_RISKS,aips,ActionImpact.NONE,callback,"String_Node_Str");
  addTitle(layout,messages.appraisalTitle(),aips,null,AipAction.APPRAISAL_ACCEPT,AipAction.APPRAISAL_REJECT);
  addButton(layout,messages.appraisalAccept(),AipAction.APPRAISAL_ACCEPT,aips,ActionImpact.UPDATED,callback,"String_Node_Str");
  addButton(layout,messages.appraisalReject(),AipAction.APPRAISAL_REJECT,aips,ActionImpact.DESTROYED,callback,"String_Node_Str");
  return layout;
}

Fixed version (ground truth):
@Override public Widget createActionsLayout(SelectedItems<IndexedAIP> aips,AsyncCallback<ActionImpact> callback){
  FlowPanel layout=createLayout();
  addTitle(layout,messages.intellectualEntity(),aips,AipAction.NEW_CHILD_AIP,AipAction.MOVE_IN_HIERARCHY,AipAction.UPDATE_PERMISSIONS,AipAction.ADD_REPRESENTATION,AipAction.REMOVE,AipAction.DOWNLOAD);
  addButton(layout,messages.moveArchivalPackage(),AipAction.MOVE_IN_HIERARCHY,aips,ActionImpact.UPDATED,callback,"String_Node_Str");
  addButton(layout,messages.archivalPackagePermissions(),AipAction.UPDATE_PERMISSIONS,aips,ActionImpact.UPDATED,callback,"String_Node_Str");
  addButton(layout,messages.addRepresentation(),AipAction.ADD_REPRESENTATION,aips,ActionImpact.UPDATED,callback,"String_Node_Str");
  addButton(layout,messages.removeArchivalPackage(),AipAction.REMOVE,aips,ActionImpact.DESTROYED,callback,"String_Node_Str");
  addButton(layout,messages.downloadButton(),AipAction.DOWNLOAD,aips,ActionImpact.NONE,callback,"String_Node_Str");
  addTitle(layout,messages.preservationTitle(),aips,AipAction.NEW_PROCESS,AipAction.SHOW_EVENTS,AipAction.SHOW_RISKS,AipAction.SHOW_LOGS);
  addButton(layout,messages.newProcessPreservation(),AipAction.NEW_PROCESS,aips,ActionImpact.UPDATED,callback,"String_Node_Str");
  addButton(layout,messages.preservationEvents(),AipAction.SHOW_EVENTS,aips,ActionImpact.NONE,callback,"String_Node_Str");
  addButton(layout,messages.preservationLogs(),AipAction.SHOW_LOGS,aips,ActionImpact.NONE,callback,"String_Node_Str");
  addButton(layout,messages.preservationRisks(),AipAction.SHOW_RISKS,aips,ActionImpact.NONE,callback,"String_Node_Str");
  addTitle(layout,messages.appraisalTitle(),aips,AipAction.APPRAISAL_ACCEPT,AipAction.APPRAISAL_REJECT);
  addButton(layout,messages.appraisalAccept(),AipAction.APPRAISAL_ACCEPT,aips,ActionImpact.UPDATED,callback,"String_Node_Str");
  addButton(layout,messages.appraisalReject(),AipAction.APPRAISAL_REJECT,aips,ActionImpact.DESTROYED,callback,"String_Node_Str");
  return layout;
}