'java.lang.ClassCastException: org.jboss.resteasy.core.registry.ConstantResourceInvoker cannot be cast to org.jboss.resteasy.core.ResourceMethodInvoker` after update to RH-SSO 7.6.3
Issue
- After upgrading RH-SSO, the following error is returned in the logs:
ERROR [org.keycloak.services.error.KeycloakErrorHandler] (default task-16) Uncaught server error: java.lang.ClassCastException: class org.jboss.resteasy.core.registry.ConstantResourceInvoker cannot be cast to class org.jboss.resteasy.core.ResourceMethodInvoker (org.jboss.resteasy.core.registry.ConstantResourceInvoker and org.jboss.resteasy.core.ResourceMethodInvoker are in unnamed module of loader 'org.jboss.resteasy.resteasy-jaxrs@3.15.7.Final-redhat-00001' @2fb0113e)
at org.jboss.resteasy.resteasy-jaxrs@3.15.7.Final-redhat-00001//org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:149)
at org.jboss.resteasy.resteasy-jaxrs@3.15.7.Final-redhat-00001//org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:110)
at org.jboss.resteasy.resteasy-jaxrs@3.15.7.Final-redhat-00001//org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:141)
...
Environment
- Red Hat Single Sign-On (RH-SSO)
- 7.6.3
- 7.6.4
- 7.6.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.