getObjectId returns null ; and getId() works fine for User