Hi, in my test i realize that there is some interaction with mongo registry 
tickets. When I set default tickets registry or now redis ticket registry 
there is no problem in logout, but mongo log is set in debug and no 
messages are displayed.

Maybe i need to put on debug some other module than mongo, I thoght that 
something is broken when somethis is search for user profile.

El miércoles, 25 de agosto de 2021 a las 10:24:45 UTC+2, Juan Manuel Díaz 
Nevado escribió:

> hi, 
>
> I'm update from CAS 6.3 to 6.4 yesterday, not much changes in config and 
> all work nice, but logout when user is auth through Azure oidc delegate 
> auth show java exception:
>
> org.springframework.webflow.execution.ActionExecutionException: Exception 
> thrown executing 
> org.apereo.cas.web.flow.DelegatedAuthenticationClientLogoutAction@d827673 
> in state 'terminateSession' of flow 'logout' -- action execution attributes 
> were 'map[[empty]]' at 
> org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:62)
>  
> at 
> org.springframework.webflow.action.EvaluateAction.doExecute(EvaluateAction.java:77)
>  
> at 
> org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188)
>  
> at 
> org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51)
>  
> at 
> org.springframework.webflow.engine.ActionList.execute(ActionList.java:154) 
> at org.springframework.webflow.engine.State.enter(State.java:193) at 
> org.springframework.webflow.engine.Flow.start(Flow.java:527)
> ....
> ....
> at 
> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
>  
> at 
> org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
>  
> at 
> org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
>  
> at 
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>  
> at java.base/java.lang.Thread.run(Thread.java:834) Caused by: 
> java.lang.ClassCastException: class java.lang.String cannot be cast to 
> class org.pac4j.core.profile.UserProfile (java.lang.String is in module 
> java.base of loader 'bootstrap'; org.pac4j.core.profile.UserProfile is in 
> unnamed module of loader 
> org.springframework.boot.loader.LaunchedURLClassLoader @25f38edc) at 
> org.pac4j.core.profile.ProfileManager.removeOrRenewExpiredProfiles(ProfileManager.java:90)
>  
> at 
> org.pac4j.core.profile.ProfileManager.retrieveAll(ProfileManager.java:81) 
> at org.pac4j.core.profile.ProfileManager.getProfile(ProfileManager.java:48) 
> at 
> org.apereo.cas.web.flow.DelegatedAuthenticationClientLogoutAction.findCurrentProfile(DelegatedAuthenticationClientLogoutAction.java:100)
>  
> at 
> org.apereo.cas.web.flow.DelegatedAuthenticationClientLogoutAction.doPreExecute(DelegatedAuthenticationClientLogoutAction.java:49)
>  
> at 
> org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:186)
>  
> at jdk.internal.reflect.GeneratedMethodAccessor149.invoke(Unknown Source) 
> at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  
> at java.base/java.lang.reflect.Method.invoke(Method.java:566) at 
> org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:282)
>  
> at 
> org.springframework.cloud.context.scope.GenericScope$LockedScopedProxyFactoryBean.invoke(GenericScope.java:485)
>  
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
>  
> at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
>  
> at com.sun.proxy.$Proxy292.execute(Unknown Source) at 
> org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51)
>  
> ... 92 more
>
> Any thoughts are welcome, thx.
>

-- 
- 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/f408792a-9a28-49e4-a8e6-993ebe2fad6en%40apereo.org.

Reply via email to