Program: 126793
Project: 126793
Buggy source:
@Override protected List<IRepositoryViewObject> loadRepViewObjectWithOtherTypes() throws PersistenceException {
  List<IRepositoryViewObject> list=new ArrayList<IRepositoryViewObject>();
  ERepositoryObjectType mrRepObjType=ERepositoryObjectType.valueOf(ERepositoryObjectType.class,"String_Node_Str");
  if (mrRepObjType != null) {
    if (GlobalServiceRegister.getDefault().isServiceRegistered(IProxyRepositoryService.class)) {
      IProxyRepositoryService service=(IProxyRepositoryService)GlobalServiceRegister.getDefault().getService(IProxyRepositoryService.class);
      List<IRepositoryViewObject> mrList=service.getProxyRepositoryFactory().getAll(mrRepObjType,true,false);
      if (mrList != null && mrList.size() > 0) {
        list.addAll(mrList);
      }
    }
  }
  if (ERepositoryObjectType.ROUTINES != null) {
    if (GlobalServiceRegister.getDefault().isServiceRegistered(IProxyRepositoryService.class)) {
      IProxyRepositoryService service=(IProxyRepositoryService)GlobalServiceRegister.getDefault().getService(IProxyRepositoryService.class);
      List<IRepositoryViewObject> mrList=service.getProxyRepositoryFactory().getAll(ERepositoryObjectType.ROUTINES,true,false);
      if (mrList != null && mrList.size() > 0) {
        list.addAll(mrList);
      }
    }
  }
  return list;
}

Fixed version (ground truth):
@Override protected List<IRepositoryViewObject> loadRepViewObjectWithOtherTypes() throws PersistenceException {
  List<IRepositoryViewObject> list=new ArrayList<IRepositoryViewObject>();
  ERepositoryObjectType mrRepObjType=ERepositoryObjectType.valueOf(ERepositoryObjectType.class,"String_Node_Str");
  if (mrRepObjType != null) {
    if (GlobalServiceRegister.getDefault().isServiceRegistered(IProxyRepositoryService.class)) {
      IProxyRepositoryService service=(IProxyRepositoryService)GlobalServiceRegister.getDefault().getService(IProxyRepositoryService.class);
      List<IRepositoryViewObject> mrList=service.getProxyRepositoryFactory().getAll(mrRepObjType,true,false);
      if (mrList != null && mrList.size() > 0) {
        list.addAll(mrList);
      }
    }
  }
  if (ERepositoryObjectType.ROUTINES != null) {
    if (GlobalServiceRegister.getDefault().isServiceRegistered(IProxyRepositoryService.class)) {
      IProxyRepositoryService service=(IProxyRepositoryService)GlobalServiceRegister.getDefault().getService(IProxyRepositoryService.class);
      List<IRepositoryViewObject> mrList=service.getProxyRepositoryFactory().getAll(ERepositoryObjectType.ROUTINES,true,false);
      if (mrList != null && mrList.size() > 0) {
        list.addAll(mrList);
      }
    }
  }
  ERepositoryObjectType routeType=ERepositoryObjectType.valueOf(ERepositoryObjectType.class,"String_Node_Str");
  if (routeType != null) {
    if (GlobalServiceRegister.getDefault().isServiceRegistered(IProxyRepositoryService.class)) {
      IProxyRepositoryService service=(IProxyRepositoryService)GlobalServiceRegister.getDefault().getService(IProxyRepositoryService.class);
      List<IRepositoryViewObject> routeList=service.getProxyRepositoryFactory().getAll(routeType,true,false);
      if (routeList != null && routeList.size() > 0) {
        list.addAll(routeList);
      }
    }
  }
  return list;
}