A year later and I'm seeing these NPEs on CAS 5.3.6 as well.  If anyone has 
done anything elegant to make these go away please share. ;)

On Thursday, December 21, 2017 at 3:34:13 PM UTC-5, William E. wrote:
>
> It seems in cas 5.2, and 5.1.6, I'm seeing several instances of Cookie 
> related NPE's in the logs.  Presumably from tomcat/cas restarts and browser 
> refreshes where users were logged in before the cas/tomcat restart.  Not 
> sure where to report issues like this so the CAS developers become aware so 
> they can potentially do something more elegant with the scenario.
>
> 2017-12-21 14:28:57,494 DEBUG 
> [org.apereo.cas.web.support.CookieRetrievingCookieGenerator] - <null>
> java.lang.NullPointerException: null
> at 
> org.apereo.cas.web.support.DefaultCasCookieValueManager.obtainCookieValue(DefaultCasCookieValueManager.java:62)
>  
> ~[cas-server-support-cookie-5.2.0.jar:5.2.0]
> at 
> org.apereo.cas.web.support.CookieRetrievingCookieGenerator.retrieveCookieValue(CookieRetrievingCookieGenerator.java:126)
>  
> ~[cas-server-support-cookie-5.2.0.jar:5.2.0]
> at 
> org.apereo.cas.web.support.CookieRetrievingCookieGenerator$$FastClassBySpringCGLIB$$25dba342.invoke(<generated>)
>  
> ~[cas-server-support-cookie-5.2.0.jar:5.2.0]
> at 
> org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) 
> ~[spring-core-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> at 
> org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
>  
> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
>  
> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> at 
> org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
>  
> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> at 
> org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
>  
> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
>  
> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> at 
> org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
>  
> ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> at 
> org.apereo.cas.web.support.CookieRetrievingCookieGenerator$$EnhancerBySpringCGLIB$$8187cb8.retrieveCookieValue(<generated>)
>  
> ~[cas-server-support-cookie-5.2.0.jar:5.2.0]
> at 
> org.apereo.cas.logging.web.ThreadContextMDCServletFilter.doFilter(ThreadContextMDCServletFilter.java:86)
>  
> ~[cas-server-core-logging-5.2.0.jar:5.2.0]
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>  
> ~[catalina.jar:8.5.24]
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>  
> ~[catalina.jar:8.5.24]
> at 
> org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106)
>  
> ~[spring-boot-actuator-1.5.8.RELEASE.jar:1.5.8.RELEASE]
> at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>  
> ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>  
> ~[catalina.jar:8.5.24]
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>  
> ~[catalina.jar:8.5.24]
> at 
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
>  
> ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>  
> ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> .........................
>
>
> Thanks,
> William
>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/cea55199-44b6-4863-8b35-d54b9985e049%40apereo.org.

Reply via email to