configuration: Jasperserver Professional 2.1, tomcat 6.0.26, Java 1.6 I am trying to configure jasperserver to authenticate via Active Directory using JAAS. I just wrote a simple (non-production) authorityGranter class (see attached) that grants role_adminstator to everyone. The class appears to be getting called and run from applicationContext-security.xml (also attached). The login page comes up and the logfile appears to show a "successful" login but the following error is displayed in jasperserver.log: 11:49:18,691 WARN JILicenseFilter,http-8082-1:104 - License OK. JasperServer Professional Commercial license with no expiration date. 11:49:35,113 WARN LoggerListener,http-8082-2:55 - Authentication event AuthenticationSuccessEvent: admin; details: null 11:49:35,129 WARN LoggerListener,http-8082-2:55 - Authentication event InteractiveAuthenticationSuccessEvent: admin; details: org.acegisecurity.ui.WebAuthenticationDetails@0: RemoteIpAddress: 192.168.188.44; SessionId: 4B19AC6948595A773DCF71E5EEA531E8 11:49:35,175 ERROR JSErrorPage_jsp,http-8082-1:339 - java.lang.NullPointerException at com.jaspersoft.jasperserver.war.control.LoginController.getBestHomeURLForUser(LoginController.java:174) at com.jaspersoft.jasperserver.war.control.LoginController.loginSuccess(LoginController.java:147) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) The stdout from tomcat log is also attached. It appears to show that authentication succeeded and my AuthorityGranter code does get run. Can some explain what the subsequent error means and what I need to do to resolve it. Thanks.