Program: 121666
Project: 121666
Buggy source:
/** 
 * @see org.eclipse.gef.ui.parts.GraphicalEditor#createActions()
 */
protected void createActions(){
  ImportTreeFromXml importAction=new ImportTreeFromXml(this,getGraphicalViewer().getControl().getShell());
  importAction.setMapperManager(mapperManager);
  getActionRegistry().registerAction(importAction);
  getSelectionActions().add(importAction.getId());
  CreateAttributeAction createAttribute=new CreateAttributeAction(this);
  createAttribute.setMapperManager(mapperManager);
  getActionRegistry().registerAction(createAttribute);
  getSelectionActions().add(createAttribute.getId());
  CreateElementAction createElement=new CreateElementAction(this);
  createElement.setMapperManager(mapperManager);
  getActionRegistry().registerAction(createElement);
  getSelectionActions().add(createElement.getId());
  DeleteTreeNodeAction deleteAction=new DeleteTreeNodeAction(this);
  deleteAction.setMapperManager(mapperManager);
  getActionRegistry().registerAction(deleteAction);
  getSelectionActions().add(deleteAction.getId());
  SetLoopAction loopAction=new SetLoopAction(this);
  loopAction.setMapperManager(mapperManager);
  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(mapperManager);
  getActionRegistry().registerAction(importFromRepository);
  getSelectionActions().add(importFromRepository.getId());
  CreateNameSpaceAction createNameSpaceInput=new CreateNameSpaceAction(this);
  createNameSpaceInput.setMapperManager(mapperManager);
  getActionRegistry().registerAction(createNameSpaceInput);
  getSelectionActions().add(createNameSpaceInput.getId());
  FixValueAction fixValueAction=new FixValueAction(this);
  getActionRegistry().registerAction(fixValueAction);
  getSelectionActions().add(fixValueAction.getId());
  fixValueAction.setMapperManager(mapperManager);
  SetAggregateAction aggreagteAction=new SetAggregateAction(this);
  aggreagteAction.setMapperManager(mapperManager);
  getActionRegistry().registerAction(aggreagteAction);
  getSelectionActions().add(aggreagteAction.getId());
  RenameTreeNodeAction renameTreeNodeAction=new RenameTreeNodeAction(this);
  renameTreeNodeAction.setMapperManager(mapperManager);
  getActionRegistry().registerAction(renameTreeNodeAction);
  getSelectionActions().add(renameTreeNodeAction.getId());
  AddChoiceAction createChoice=new AddChoiceAction(this);
  createChoice.setMapperManager(mapperManager);
  getActionRegistry().registerAction(createChoice);
  getSelectionActions().add(createChoice.getId());
  SetSubstitutionAction setSubs=new SetSubstitutionAction(this);
  setSubs.setMapperManager(mapperManager);
  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(mapperManager);
  getActionRegistry().registerAction(importAction);
  getSelectionActions().add(importAction.getId());
  CreateAttributeAction createAttribute=new CreateAttributeAction(this,getGraphicalViewer());
  createAttribute.setMapperManager(mapperManager);
  getActionRegistry().registerAction(createAttribute);
  getSelectionActions().add(createAttribute.getId());
  CreateElementAction createElement=new CreateElementAction(this,getGraphicalViewer());
  createElement.setMapperManager(mapperManager);
  getActionRegistry().registerAction(createElement);
  getSelectionActions().add(createElement.getId());
  DeleteTreeNodeAction deleteAction=new DeleteTreeNodeAction(this);
  deleteAction.setMapperManager(mapperManager);
  getActionRegistry().registerAction(deleteAction);
  getSelectionActions().add(deleteAction.getId());
  SetLoopAction loopAction=new SetLoopAction(this);
  loopAction.setMapperManager(mapperManager);
  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(mapperManager);
  getActionRegistry().registerAction(importFromRepository);
  getSelectionActions().add(importFromRepository.getId());
  CreateNameSpaceAction createNameSpaceInput=new CreateNameSpaceAction(this,getGraphicalViewer());
  createNameSpaceInput.setMapperManager(mapperManager);
  getActionRegistry().registerAction(createNameSpaceInput);
  getSelectionActions().add(createNameSpaceInput.getId());
  FixValueAction fixValueAction=new FixValueAction(this);
  getActionRegistry().registerAction(fixValueAction);
  getSelectionActions().add(fixValueAction.getId());
  fixValueAction.setMapperManager(mapperManager);
  SetAggregateAction aggreagteAction=new SetAggregateAction(this);
  aggreagteAction.setMapperManager(mapperManager);
  getActionRegistry().registerAction(aggreagteAction);
  getSelectionActions().add(aggreagteAction.getId());
  RenameTreeNodeAction renameTreeNodeAction=new RenameTreeNodeAction(this);
  renameTreeNodeAction.setMapperManager(mapperManager);
  getActionRegistry().registerAction(renameTreeNodeAction);
  getSelectionActions().add(renameTreeNodeAction.getId());
  AddChoiceAction createChoice=new AddChoiceAction(this);
  createChoice.setMapperManager(mapperManager);
  getActionRegistry().registerAction(createChoice);
  getSelectionActions().add(createChoice.getId());
  SetSubstitutionAction setSubs=new SetSubstitutionAction(this);
  setSubs.setMapperManager(mapperManager);
  getActionRegistry().registerAction(setSubs);
  getSelectionActions().add(setSubs.getId());
  SetLoopOptional setOptional=new SetLoopOptional(this);
  getActionRegistry().registerAction(setOptional);
  getSelectionActions().add(setOptional.getId());
}