OK, you should pass the token, when you are executing on user environement not the null value
String token = JcrSessionManager.getInstance().getSystemToken();
String token = JcrSessionManager.getInstance().getSystemToken();