Hi Misagh
We are getting the exact same error mentioned by Idan below for certain users 
whose password expiry date is close to expiry(but not expired). Any idea why 
this could be happening. 
Attaching the stack trace with this.


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user
HTTP Status 500 - Request processing failed; nested exception is 
org.springframework.webflow.execution.ActionExecutionException: Exception 
thrown executing org.jasig.cas.web.flow.PasswordPolicyEnforcementAction@dcdf20c 
in state 'passwordPolicyCheck' of flow 'login' -- action execution attributes 
were 'map[[empty]]'
________________________________________
type Exception report
message Request processing failed; nested exception is 
org.springframework.webflow.execution.ActionExecutionException: Exception 
thrown executing org.jasig.cas.web.flow.PasswordPolicyEnforcementAction@dcdf20c 
in state 'passwordPolicyCheck' of flow 'login' -- action execution attributes 
were 'map[[empty]]'
description The server encountered an internal error that prevented it from 
fulfilling this request.
exception
org.springframework.web.util.NestedServletException: Request processing failed; 
nested exception is 
org.springframework.webflow.execution.ActionExecutionException: Exception 
thrown executing org.jasig.cas.web.flow.PasswordPolicyEnforcementAction@dcdf20c 
in state 'passwordPolicyCheck' of flow 'login' -- action execution attributes 
were 'map[[empty]]'
        
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:894)
        
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        
org.jasig.cas.web.init.SafeDispatcherServlet.service_aroundBody2(SafeDispatcherServlet.java:128)
        
org.jasig.cas.web.init.SafeDispatcherServlet.service_aroundBody3$advice(SafeDispatcherServlet.java:57)
        
org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:1)
        
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
        
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
        
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
        
com.github.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:63)
root cause
org.springframework.webflow.execution.ActionExecutionException: Exception 
thrown executing org.jasig.cas.web.flow.PasswordPolicyEnforcementAction@dcdf20c 
in state 'passwordPolicyCheck' of flow 'login' -- action execution attributes 
were 'map[[empty]]'
        
org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:60)
        
org.springframework.webflow.action.EvaluateAction.doExecute(EvaluateAction.java:77)
        
org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188)
        
org.springframework.webflow.execution.AnnotatedAction.execute(AnnotatedAction.java:145)
        
org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51)
        
org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:101)
        org.springframework.webflow.engine.State.enter(State.java:194)
        
org.springframework.webflow.engine.Transition.execute(Transition.java:227)
        
org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393)
        
org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)
        
org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119)
        org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555)
        
org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388)
        
org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210)
        
org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:105)
        org.springframework.webflow.engine.State.enter(State.java:194)
        
org.springframework.webflow.engine.Transition.execute(Transition.java:227)
        
org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393)
        
org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)
        
org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119)
        org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555)
        
org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388)
        
org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210)
        
org.springframework.webflow.engine.ViewState.handleEvent(ViewState.java:232)
        org.springframework.webflow.engine.ViewState.resume(ViewState.java:196)
        org.springframework.webflow.engine.Flow.resume(Flow.java:545)
        
org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:261)
        
org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:169)
        
org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:183)
        
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
        
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
        
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
        
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        
org.jasig.cas.web.init.SafeDispatcherServlet.service_aroundBody2(SafeDispatcherServlet.java:128)
        
org.jasig.cas.web.init.SafeDispatcherServlet.service_aroundBody3$advice(SafeDispatcherServlet.java:57)
        
org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:1)
        
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
        
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
        
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
        
com.github.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:63)
root cause
java.lang.NullPointerException
        
org.joda.time.format.DateTimeFormatterBuilder$NumberFormatter.parseInto(DateTimeFormatterBuilder.java:1292)
        
org.joda.time.format.DateTimeFormatterBuilder$Composite.parseInto(DateTimeFormatterBuilder.java:2695)
        
org.joda.time.format.DateTimeFormatter.parseDateTime(DateTimeFormatter.java:846)
        org.joda.time.DateTime.parse(DateTime.java:144)
        
org.jasig.cas.adaptors.ldap.LdapPasswordPolicyEnforcer.formatDateByPattern(LdapPasswordPolicyEnforcer.java:425)
        
org.jasig.cas.adaptors.ldap.LdapPasswordPolicyEnforcer.getExpirationDateToUse(LdapPasswordPolicyEnforcer.java:441)
        
org.jasig.cas.adaptors.ldap.LdapPasswordPolicyEnforcer.getNumberOfDaysToPasswordExpirationDate(LdapPasswordPolicyEnforcer.java:235)
        
org.jasig.cas.web.flow.PasswordPolicyEnforcementAction.doExecute(PasswordPolicyEnforcementAction.java:107)
        
org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188)
        
org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51)
        
org.springframework.webflow.action.EvaluateAction.doExecute(EvaluateAction.java:77)
        
org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188)
        
org.springframework.webflow.execution.AnnotatedAction.execute(AnnotatedAction.java:145)
        
org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51)
        
org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:101)
        org.springframework.webflow.engine.State.enter(State.java:194)
        
org.springframework.webflow.engine.Transition.execute(Transition.java:227)
        
org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393)
        
org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)
        
org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119)
        org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555)
        
org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388)
        
org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210)
        
org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:105)
        org.springframework.webflow.engine.State.enter(State.java:194)
        
org.springframework.webflow.engine.Transition.execute(Transition.java:227)
        
org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393)
        
org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)
        
org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119)
        org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555)
        
org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388)
        
org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210)
        
org.springframework.webflow.engine.ViewState.handleEvent(ViewState.java:232)
        org.springframework.webflow.engine.ViewState.resume(ViewState.java:196)
        org.springframework.webflow.engine.Flow.resume(Flow.java:545)
        
org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:261)
        
org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:169)
        
org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:183)
        
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
        
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
        
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
        
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        
org.jasig.cas.web.init.SafeDispatcherServlet.service_aroundBody2(SafeDispatcherServlet.java:128)
        
org.jasig.cas.web.init.SafeDispatcherServlet.service_aroundBody3$advice(SafeDispatcherServlet.java:57)
        
org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:1)
        
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
        
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
        
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
        
com.github.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:63)

Reply via email to