I get java.lang.NullPointerException@Referenceprivate SlingRepository repository;private Session session;.....try { LOGGER.debug("trying to get session.."); repository.login(); session = repository.loginAdministrative(null); LOGGER.debug("session " + session); ...