-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 1.8 Larks
-
Fix Version/s: 1.9 Larks
-
Labels:None
-
Sprint:1.9 Larks
Steps to reproduce:
1. Go to http://javatalks.ru/j_spring_security_check
Actual result:
stacktrace with java.lang.NullPointerException (see below)
Expected result:
Redirect to login page with authentication error (or main page)
Stacktrace:
java.lang.NullPointerException org.jtalks.jcommune.web.util.UserAuthenticationFailureHandler.onAuthenticationFailure(UserAuthenticationFailureHandler.java:49) org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.unsuccessfulAuthentication(AbstractAuthenticationProcessingFilter.java:325) org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:208)