TicketRegistryCleaner Exception - CAS 7.0.0-RC6

89 views
Skip to first unread message

Char Lin

unread,
Jul 25, 2023, 5:15:02 AM7/25/23
to CAS Community
Hi, all.

I used the delegation identity provider whit github, it run ok, and authorized my account in cas success. 

But the console log occured a problem as below(tikets registry into redis)

2023-07-25 16:30:00,815 ERROR [org.apereo.cas.util.serialization.AbstractJacksonBackedStringSerializer] - <Cannot read/parse [{"@class":"org.apereo.cas.ticket.TicketGrantingTicketImpl","@id":1,"id":"TGT-6-********6aWWgwVDXEIgNLDA-nKZLV...] to deserialize into type [class org.apereo.cas.ticket.TicketGrantingTicketImpl]. This may be caused in the absence of a configuration/support module that knows how to interpret the fragment, specially if the fragment describes a CAS registered service definition. Internal parsing error is [Cannot construct instance of `org.pac4j.oauth.credentials.OAuth20Credentials` (although at least one Creator exists): cannot deserialize from Object value (no delegate- or property-based Creator)
 at [Source: (String)"{"@class":"org.apereo.cas.ticket.TicketGrantingTicketImpl","@id":1,"id":"TGT-6-********VYDOR5I-**********","authentication":{"@class":"org.apereo.cas.authentication.DefaultAuthentication","authenticationDate":"2023-07-25T08:08:41.9521423Z","principal":{"@class":"org.apereo.cas.authentication.principal.SimplePrincipal","id":"45256041","attributes":{"@class":"java.util.TreeMap","access_token":["java.util.ArrayList",["gho_NbLBAlw6hR4Ypakf0C"[truncated 9007 chars]; line: 1, column: 2408] (through reference chain: org.apereo.cas.ticket.TicketGrantingTicketImpl["authentication"]->org.apereo.cas.authentication.DefaultAuthentication["credentials"]->java.util.ArrayList[0]->org.apereo.cas.authentication.principal.ClientCredential["credentials"])]>
2023-07-25 16:30:00,815 ERROR [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <InvalidTicketException
DefaultTicketStringSerializationManager.java:deserializeTicket:60
DefaultTicketStringSerializationManager.java:lambda$deserializeTicket$1:49
Unchecked.java:lambda$supplier$38:1695
>

How to fix it , although it doesn't seem to have much impact so far.

Char Lin

unread,
Aug 7, 2023, 1:28:47 AM8/7/23
to CAS Community, Char Lin

Hi, all.
Anyone can help me. What's wrong with it?
Reply all
Reply to author
Forward
0 new messages