Program: 120190
Project: 120190
Buggy source:
/** 
 * @see org.eclipse.gef.ui.parts.GraphicalEditor#createActions()
 */
@Override protected void createActions(){
  ImportTreeFromXml importAction=new ImportTreeFromXml(this,getGraphicalViewer().getControl().getShell());
  importAction.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(importAction);
  getSelectionActions().add(importAction.getId());
  CreateAttributeAction createAttribute=new CreateAttributeAction(this,getGraphicalViewer());
  createAttribute.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(createAttribute);
  getSelectionActions().add(createAttribute.getId());
  CreateElementAction createElement=new CreateElementAction(this,getGraphicalViewer());
  createElement.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(createElement);
  getSelectionActions().add(createElement.getId());
  DeleteTreeNodeAction deleteAction=new DeleteTreeNodeAction(this);
  deleteAction.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(deleteAction);
  getSelectionActions().add(deleteAction.getId());
  SetLoopAction loopAction=new SetLoopAction(this);
  loopAction.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(loopAction);
  getSelectionActions().add(loopAction.getId());
  IAction groupAction=new SetGroupAction(this);
  getActionRegistry().registerAction(groupAction);
  getSelectionActions().add(groupAction.getId());
  ImportTreeFromRepository importFromRepository=new ImportTreeFromRepository(this,getGraphicalViewer().getControl().getShell());
  importFromRepository.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(importFromRepository);
  getSelectionActions().add(importFromRepository.getId());
  CreateNameSpaceAction createNameSpaceInput=new CreateNameSpaceAction(this,getGraphicalViewer());
  createNameSpaceInput.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(createNameSpaceInput);
  getSelectionActions().add(createNameSpaceInput.getId());
  FixValueAction fixValueAction=new FixValueAction(this);
  getActionRegistry().registerAction(fixValueAction);
  getSelectionActions().add(fixValueAction.getId());
  fixValueAction.setMapperManager(getMapperManager());
  SetAggregateAction aggreagteAction=new SetAggregateAction(this);
  aggreagteAction.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(aggreagteAction);
  getSelectionActions().add(aggreagteAction.getId());
  RenameTreeNodeAction renameTreeNodeAction=new RenameTreeNodeAction(this);
  renameTreeNodeAction.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(renameTreeNodeAction);
  getSelectionActions().add(renameTreeNodeAction.getId());
  AddChoiceAction createChoice=new AddChoiceAction(this);
  createChoice.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(createChoice);
  getSelectionActions().add(createChoice.getId());
  SetSubstitutionAction setSubs=new SetSubstitutionAction(this);
  setSubs.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(setSubs);
  getSelectionActions().add(setSubs.getId());
  SetLoopOptional setOptional=new SetLoopOptional(this);
  getActionRegistry().registerAction(setOptional);
  getSelectionActions().add(setOptional.getId());
}

Fixed version (ground truth):
/** 
 * @see org.eclipse.gef.ui.parts.GraphicalEditor#createActions()
 */
@Override protected void createActions(){
  ImportTreeFromXml importAction=new ImportTreeFromXml(this,getGraphicalViewer().getControl().getShell());
  importAction.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(importAction);
  getSelectionActions().add(importAction.getId());
  CreateAttributeAction createAttribute=new CreateAttributeAction(this,getGraphicalViewer());
  createAttribute.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(createAttribute);
  getSelectionActions().add(createAttribute.getId());
  CreateElementAction createElement=new CreateElementAction(this,getGraphicalViewer());
  createElement.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(createElement);
  getSelectionActions().add(createElement.getId());
  DeleteTreeNodeAction deleteAction=new DeleteTreeNodeAction(this);
  deleteAction.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(deleteAction);
  getSelectionActions().add(deleteAction.getId());
  SetLoopAction loopAction=new SetLoopAction(this);
  loopAction.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(loopAction);
  getSelectionActions().add(loopAction.getId());
  IAction groupAction=new SetGroupAction(this);
  getActionRegistry().registerAction(groupAction);
  getSelectionActions().add(groupAction.getId());
  ImportTreeFromRepository importFromRepository=new ImportTreeFromRepository(this,getGraphicalViewer().getControl().getShell());
  importFromRepository.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(importFromRepository);
  getSelectionActions().add(importFromRepository.getId());
  CreateNameSpaceAction createNameSpaceInput=new CreateNameSpaceAction(this,getGraphicalViewer());
  createNameSpaceInput.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(createNameSpaceInput);
  getSelectionActions().add(createNameSpaceInput.getId());
  FixValueAction fixValueAction=new FixValueAction(this);
  getActionRegistry().registerAction(fixValueAction);
  getSelectionActions().add(fixValueAction.getId());
  fixValueAction.setMapperManager(getMapperManager());
  SetAggregateAction aggreagteAction=new SetAggregateAction(this);
  aggreagteAction.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(aggreagteAction);
  getSelectionActions().add(aggreagteAction.getId());
  RenameTreeNodeAction renameTreeNodeAction=new RenameTreeNodeAction(this);
  renameTreeNodeAction.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(renameTreeNodeAction);
  getSelectionActions().add(renameTreeNodeAction.getId());
  AddChoiceAction createChoice=new AddChoiceAction(this,getGraphicalViewer());
  createChoice.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(createChoice);
  getSelectionActions().add(createChoice.getId());
  SetSubstitutionAction setSubs=new SetSubstitutionAction(this,getGraphicalViewer());
  setSubs.setMapperManager(getMapperManager());
  getActionRegistry().registerAction(setSubs);
  getSelectionActions().add(setSubs.getId());
  SetLoopOptional setOptional=new SetLoopOptional(this);
  getActionRegistry().registerAction(setOptional);
  getSelectionActions().add(setOptional.getId());
}