public List<User> getWatchers(final IRepositoryIdProvider repo) { List<User> watchers = null; try { watchers = service.getWatchers(repo); } catch (IOException e) { log.error("IOException in getting watchers for repository: {}", repo.generateId(), e); } catch (NullPointerException npe) { log.error("NullPointerException in getting watchers for repository: {}", repo.generateId(), npe); } return watchers; }