This content has been marked as final.
Show 2 replies
-
1. Re: Login error
darranl Sep 5, 2005 9:25 AM (in response to bosak)Is there any more information than just 'java.lang.NullPointerException', if not the associated stack trace might be in the server log.
If you encounter any exceptions the stack trace and message and possibly nested causes are required to track where the error occured. -
2. Re: Login error
bosak Sep 12, 2005 7:12 AM (in response to bosak)Solution is very simple, remove 'LEFT' from following code in login-config.xml:
<module-option name="rolesQuery">SELECT g.name FROM UserImpl AS u LEFT JOIN u.roles AS g WHERE u.userName=:username</module-option>
The answer is available here:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=65157