Program: 57093
Project: 57093
Buggy source:
@Override public void registerEventListeners(){
  super.registerEventListeners();
  enableGeneMappingListener=new EnableGeneMappingListener();
  enableGeneMappingListener.setHandler(this);
  eventPublisher.addListener(PathwayMappingEvent.class,enableGeneMappingListener);
  enRoutePathEventListener=new EnRoutePathEventListener();
  enRoutePathEventListener.setExclusiveEventSpace(pathwayPathEventSpace);
  enRoutePathEventListener.setHandler(this);
  eventPublisher.addListener(PathwayPathSelectionEvent.class,enRoutePathEventListener);
  selectPathModeEventListener=new SelectPathModeEventListener();
  selectPathModeEventListener.setExclusiveEventSpace(pathwayPathEventSpace);
  selectPathModeEventListener.setHandler(this);
  eventPublisher.addListener(EnablePathSelectionEvent.class,selectPathModeEventListener);
  addTablePerspectivesListener=new AddTablePerspectivesListener<>();
  addTablePerspectivesListener.setHandler(this);
  eventPublisher.addListener(AddTablePerspectivesEvent.class,addTablePerspectivesListener);
  sampleMappingModeListener=new SampleMappingModeListener();
  sampleMappingModeListener.setHandler(this);
  eventPublisher.addListener(SampleMappingModeEvent.class,sampleMappingModeListener);
  updateColorMappingListener=new UpdateColorMappingListener();
  updateColorMappingListener.setHandler(this);
  eventPublisher.addListener(UpdateColorMappingEvent.class,updateColorMappingListener);
  showPortalNodesEventListener=new ShowPortalNodesEventListener();
  showPortalNodesEventListener.setHandler(this);
  showPortalNodesEventListener.setEventSpace(pathwayPathEventSpace);
  listeners.register(ShowNodeContextEvent.class,showPortalNodesEventListener);
  listeners.register(this,pathwayPathEventSpace);
}

Fixed version (ground truth):
@Override public void registerEventListeners(){
  super.registerEventListeners();
  enRoutePathEventListener=new EnRoutePathEventListener();
  enRoutePathEventListener.setExclusiveEventSpace(pathwayPathEventSpace);
  enRoutePathEventListener.setHandler(this);
  eventPublisher.addListener(PathwayPathSelectionEvent.class,enRoutePathEventListener);
  selectPathModeEventListener=new SelectPathModeEventListener();
  selectPathModeEventListener.setExclusiveEventSpace(pathwayPathEventSpace);
  selectPathModeEventListener.setHandler(this);
  eventPublisher.addListener(EnablePathSelectionEvent.class,selectPathModeEventListener);
  addTablePerspectivesListener=new AddTablePerspectivesListener<>();
  addTablePerspectivesListener.setHandler(this);
  eventPublisher.addListener(AddTablePerspectivesEvent.class,addTablePerspectivesListener);
  sampleMappingModeListener=new SampleMappingModeListener();
  sampleMappingModeListener.setHandler(this);
  eventPublisher.addListener(SampleMappingModeEvent.class,sampleMappingModeListener);
  updateColorMappingListener=new UpdateColorMappingListener();
  updateColorMappingListener.setHandler(this);
  eventPublisher.addListener(UpdateColorMappingEvent.class,updateColorMappingListener);
  showPortalNodesEventListener=new ShowPortalNodesEventListener();
  showPortalNodesEventListener.setHandler(this);
  showPortalNodesEventListener.setEventSpace(pathwayPathEventSpace);
  listeners.register(ShowNodeContextEvent.class,showPortalNodesEventListener);
  listeners.register(this);
}