Hi,today I ran into a NPE when using ApplicationUtil.isUserInRole(…), attached is a patch that allows the User instance passed to isUserInRole(…) to be null.
Hope it is OK to submit a patch like that - if there is a better way to do it just let me know.
Best regards Benjamin
