Hello all,
We are currently using memcached to store store tickets using the following configuration
```
cas.ticket.registry.memcached.servers=localhost:11213
cas.ticket.registry.memcached.transcoder=KRYO
```
After a recent upgrade from cas 6.2.7 -> 6.3.1 i noticed that, after cas is restarted, it is unable to de-serialize tickets.
When using cas 6.3.1 we see the following error
Caused by: java.util.concurrent.ExecutionException: com.esotericsoftware.kryo.KryoException: com.esotericsoftware.kryo.KryoException: Invalid ordinal for enum "org.apereo.cas.validation.ValidationResponseType": 16Caused by: java.util.concurrent.ExecutionException: com.esotericsoftware.kryo.KryoException: com.esotericsoftware.kryo.KryoException: Invalid ordinal for enum "org.apereo.cas.validation.ValidationResponseType": 16
When using cas 6.4.0-RC1 we get a slightly different error:
java.lang.ClassCastException: class org.apereo.cas.authentication.DefaultAuthenticationHandlerExecutionResult cannot be cast to class org.apereo.cas.ticket.Ticket (org.apereo.cas.authentication.DefaultAuthenticationHandlerExecutionResult and org.apereo.cas.ticket.Ticket are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @686449f9)
Its also worth noting that logging out works i.e. cas can delete the memcache value. Finnaly i tested all the other transcoders and the issues is only present in the KYRO transcoder. 6.3.1 and 6.4.0-RC1 both work fine with the SERIAL, WHALIN and WHALINV1 trancoders
Any guidence or pointers to help troubleshoot this issue would be most welcome. we also have a test environment to try out any fixes.
The cas-overlay-template we are using is avlible here:
and we are tracking this issues in our own phabricator ticket here: