Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-14826

NoClassDefFoundError: Could not initialize class org.jboss.marshalling.river.ClassDescriptors with jdk 17

XMLWordPrintable

      In Keycloak, some users reports problems with jboss.marshalling.river on jdk 17:

       First report https://github.com/keycloak/keycloak/issues/19739

      {"timestamp":"2023-04-15T09:10:59.664Z","sequence":150537,"loggerClassName":"org.infinispan.util.logging.Log_$logger","loggerName":"org.infinispan.CLUSTER","level":"ERROR","message":"ISPN000474: Error processing request 187@keycloak-2-38312","threadName":"jgroups-46,keycloak-0-50644","threadId":95,"mdc":{},"ndc":"","hostName":"keycloak-0","processName":"QuarkusEntryPoint","processId":1,"exception":{"refId":1,"exceptionType":"java.lang.NoClassDefFoundError","message":"Could not initialize class org.jboss.marshalling.river.ClassDescriptors","frames":[{"class":"org.jboss.marshalling.river.RiverUnmarshaller","method":"doReadClassDescriptor","line":1268},{"class":"org.jboss.marshalling.river.RiverUnmarshaller","method":"doReadClassDescriptor","line":1067},{"class":"org.jboss.marshalling.river.RiverUnmarshaller","method":"doReadNewObject","line":1381},{"class":"org.jboss.marshalling.river.RiverUnmarshaller","method":"doReadObject","line":298},{"class":"org.jboss.marshalling.river.RiverUnmarshaller","method":"doReadObject","line":231},{"class":"org.jboss.marshalling.AbstractObjectInput","method":"readObject","line":41},{"class":"org.infinispan.jboss.marshalling.commons.AbstractJBossMarshaller","method":"objectFromObjectStream","line":137},{"class":"org.infinispan.jboss.marshalling.commons.AbstractJBossMarshaller","method":"objectFromByteBuffer","line":115},{"class":"org.infinispan.commons.marshall.AbstractMarshaller","method":"objectFromByteBuffer","line":82},{"class":"org.infinispan.marshall.core.impl.DelegatingUserMarshaller","method":"objectFromByteBuffer","line":63},{"class":"org.infinispan.marshall.protostream.impl.MarshallableUserObject$Marshaller","method":"read","line":139},{"class":"org.infinispan.marshall.protostream.impl.MarshallableUserObject$Marshaller","method":"read","line":100},{"class":"org.infinispan.protostream.impl.ProtobufTagMarshallerDelegate","method":"unmarshall","line":32},{"class":"org.infinispan.protostream.WrappedMessage","method":"readMessage","line":539},{"class":"org.infinispan.protostream.WrappedMessage","method":"read","line":351},{"class":"org.infinispan.protostream.ProtobufUtil","method":"fromWrappedByteArray","line":129},{"class":"org.infinispan.marshall.protostream.impl.AbstractInternalProtoStreamMarshaller","method":"objectFromByteBuffer","line":102},{"class":"org.infinispan.marshall.protostream.impl.AbstractInternalProtoStreamMarshaller","method":"objectFromByteBuffer","line":97},{"class":"org.infinispan.marshall.core.GlobalMarshaller","method":"readUnknown","line":905},{"class":"org.infinispan.marshall.core.GlobalMarshaller","method":"readUnknown","line":890},{"class":"org.infinispan.marshall.core.GlobalMarshaller","method":"readNonNullableObject","line":714},{"class":"org.infinispan.marshall.core.GlobalMarshaller","method":"readNullableObject","line":357},{"class":"org.infinispan.marshall.core.BytesObjectInput","method":"readObject","line":32},{"class":"org.infinispan.stream.impl.intops.IntermediateOperationExternalizer","method":"readObject","line":378},{"class":"org.infinispan.stream.impl.intops.IntermediateOperationExternalizer","method":"readObject","line":93},{"class":"org.infinispan.marshall.core.GlobalMarshaller","method":"readWithExternalizer","line":727},{"class":"org.infinispan.marshall.core.GlobalMarshaller","method":"readNonNullableObject","line":708},{"class":"org.infinispan.marshall.core.GlobalMarshaller","method":"readNullableObject","line":357},{"class":"org.infinispan.marshall.core.BytesObjectInput","method":"readObject","line":32},{"class":"org.infinispan.commons.marshall.MarshallUtil","method":"lambda$unmarshallCollection$0","line":295}]}}
      io.reactivex.rxjava3.exceptions.UndeliverableException: The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with. Further reading: https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling | org.infinispan.commons.CacheException: java.lang.NoClassDefFoundError: Could not initialize class org.jboss.marshalling.river.ClassDescriptors
      	at io.reactivex.rxjava3.plugins.RxJavaPlugins.onError(RxJavaPlugins.java:372)
      	at io.reactivex.rxjava3.processors.SerializedProcessor.onError(SerializedProcessor.java:110)
      {"timestamp":"2023-04-15T09:10:59.664Z","sequence":151990,"loggerClassName":"org.infinispan.util.logging.Log_$logger","loggerName":"org.infinispan.CLUSTER","level":"ERROR","message":"ISPN000474: Error processing request 188@keycloak-2-38312","threadName":"jgroups-34,keycloak-1-14959","threadId":85,"mdc":{},"ndc":"","hostName":"keycloak-1","processName":"QuarkusEntryPoint","processId":1,"exception":{"refId":1,"exceptionType":"java.lang.NoClassDefFoundError","message":"Could not initialize class org.jboss.marshalling.river.ClassDescriptors","frames":[{"class":"org.jboss.marshalling.river.RiverUnmarshaller","method":"doReadClassDescriptor","line":1268},{"class":"org.jboss.marshalling.river.RiverUnmarshaller","method":"doReadClassDescriptor","line":1067},{"class":"org.jboss.marshalling.river.RiverUnmarshaller","method":"doReadNewObject","line":1381},{"class":"org.jboss.marshalling.river.RiverUnmarshaller","method":"doReadObject","line":298},{"class":"org.jboss.marshalling.river.RiverUnmarshaller","method":"doReadObject","line":231},{"class":"org.jboss.marshalling.AbstractObjectInput","method":"readObject","line":41},{"class":"org.infinispan.jboss.marshalling.commons.AbstractJBossMarshaller","method":"objectFromObjectStream","line":137},{"class":"org.infinispan.jboss.marshalling.commons.AbstractJBossMarshaller","method":"objectFromByteBuffer","line":115},{"class":"org.infinispan.commons.marshall.AbstractMarshaller","method":"objectFromByteBuffer","line":82},{"class":"org.infinispan.marshall.core.impl.DelegatingUserMarshaller","method":"objectFromByteBuffer","line":63},{"class":"org.infinispan.marshall.protostream.impl.MarshallableUserObject$Marshaller","method":"read","line":139},{"class":"org.infinispan.marshall.protostream.impl.MarshallableUserObject$Marshaller","method":"read","line":100},{"class":"org.infinispan.protostream.impl.ProtobufTagMarshallerDelegate","method":"unmarshall","line":32},{"class":"org.infinispan.protostream.WrappedMessage","method":"readMessage","line":539},{"class":"org.infinispan.protostream.WrappedMessage","method":"read","line":351},{"class":"org.infinispan.protostream.ProtobufUtil","method":"fromWrappedByteArray","line":129},{"class":"org.infinispan.marshall.protostream.impl.AbstractInternalProtoStreamMarshaller","method":"objectFromByteBuffer","line":102},{"class":"org.infinispan.marshall.protostream.impl.AbstractInternalProtoStreamMarshaller","method":"objectFromByteBuffer","line":97},{"class":"org.infinispan.marshall.core.GlobalMarshaller","method":"readUnknown","line":905},{"class":"org.infinispan.marshall.core.GlobalMarshaller","method":"readUnknown","line":890},{"class":"org.infinispan.marshall.core.GlobalMarshaller","method":"readNonNullableObject","line":714},{"class":"org.infinispan.marshall.core.GlobalMarshaller","method":"readNullableObject","line":357},{"class":"org.infinispan.marshall.core.BytesObjectInput","method":"readObject","line":32},{"class":"org.infinispan.stream.impl.intops.IntermediateOperationExternalizer","method":"readObject","line":378},{"class":"org.infinispan.stream.impl.intops.IntermediateOperationExternalizer","method":"readObject","line":93},{"class":"org.infinispan.marshall.core.GlobalMarshaller","method":"readWithExternalizer","line":727},{"class":"org.infinispan.marshall.core.GlobalMarshaller","method":"readNonNullableObject","line":708},{"class":"org.infinispan.marshall.core.GlobalMarshaller","method":"readNullableObject","line":357},{"class":"org.infinispan.marshall.core.BytesObjectInput","method":"readObject","line":32},{"class":"org.infinispan.commons.marshall.MarshallUtil","method":"lambda$unmarshallCollection$0","line":295}]}}
      	at org.infinispan.reactive.publisher.impl.ClusterPublisherManagerImpl$SegmentSpecificConsumer.accept(ClusterPublisherManagerImpl.java:434)
      	at org.infinispan.reactive.publisher.impl.ClusterPublisherManagerImpl$SegmentSpecificConsumer.accept(ClusterPublisherManagerImpl.java:395)
      	at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:863)
      	at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:841)
      	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
      	at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2162)
      	at org.infinispan.remoting.transport.AbstractRequest.completeExceptionally(AbstractRequest.java:75)
      	at org.infinispan.remoting.transport.impl.SingleTargetRequest.onResponse(SingleTargetRequest.java:49)
      	at org.infinispan.remoting.transport.impl.RequestRepository.addResponse(RequestRepository.java:51)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processResponse(JGroupsTransport.java:1578)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processMessage(JGroupsTransport.java:1480)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport$ChannelCallbacks.up(JGroupsTransport.java:1685)
      	at org.jgroups.JChannel.up(JChannel.java:733)
      	at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:921)
      	at org.jgroups.protocols.FRAG2.up(FRAG2.java:138)
      	at org.jgroups.protocols.FlowControl.up(FlowControl.java:245)
      	at org.jgroups.protocols.FlowControl.up(FlowControl.java:245)
      	at org.jgroups.protocols.pbcast.GMS.up(GMS.java:845)
      	at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:226)
      	at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1052)
      	at org.jgroups.protocols.UNICAST3.addMessage(UNICAST3.java:794)
      	at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:776)
      	at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:425)
      	at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:658)
      	at org.jgroups.protocols.VERIFY_SUSPECT2.up(VERIFY_SUSPECT2.java:105)
      	at org.jgroups.protocols.FailureDetection.up(FailureDetection.java:180)
      	at org.jgroups.protocols.FD_SOCK2.up(FD_SOCK2.java:188)
      	at org.jgroups.protocols.MERGE3.up(MERGE3.java:274)
      Caused by: org.infinispan.commons.CacheException: java.lang.NoClassDefFoundError: Could not initialize class org.jboss.marshalling.river.ClassDescriptors
      	at org.infinispan.marshall.exts.ThrowableExternalizer.readObject(ThrowableExternalizer.java:181)
      	at org.infinispan.marshall.exts.ThrowableExternalizer.readObject(ThrowableExternalizer.java:42)
      	at org.infinispan.marshall.core.GlobalMarshaller.readWithExternalizer(GlobalMarshaller.java:727)
      	at org.infinispan.marshall.core.GlobalMarshaller.readNonNullableObject(GlobalMarshaller.java:708)
      	at org.infinispan.marshall.core.GlobalMarshaller.readNullableObject(GlobalMarshaller.java:357)
      	at org.infinispan.marshall.core.BytesObjectInput.readObject(BytesObjectInput.java:32)
      	at org.infinispan.remoting.responses.ExceptionResponse$Externalizer.readObject(ExceptionResponse.java:49)
      	at org.infinispan.remoting.responses.ExceptionResponse$Externalizer.readObject(ExceptionResponse.java:41)
      	at org.infinispan.marshall.core.GlobalMarshaller.readWithExternalizer(GlobalMarshaller.java:727)
      	at org.infinispan.marshall.core.GlobalMarshaller.readNonNullableObject(GlobalMarshaller.java:708)
      	at org.infinispan.marshall.core.GlobalMarshaller.readNullableObject(GlobalMarshaller.java:357)
      	at org.infinispan.marshall.core.GlobalMarshaller.objectFromObjectInput(GlobalMarshaller.java:191)
      	at org.infinispan.marshall.core.GlobalMarshaller.objectFromByteBuffer(GlobalMarshaller.java:220)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processResponse(JGroupsTransport.java:1570)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processMessage(JGroupsTransport.java:1480)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport$ChannelCallbacks.up(JGroupsTransport.java:1685)
      	at org.jgroups.JChannel.up(JChannel.java:733)
      	at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:921)
      	at org.jgroups.protocols.FRAG2.up(FRAG2.java:138)
      	at org.jgroups.protocols.FlowControl.up(FlowControl.java:245)
      	at org.jgroups.protocols.FlowControl.up(FlowControl.java:245)
      	at org.jgroups.protocols.pbcast.GMS.up(GMS.java:845)
      	at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:226)
      	at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1052)
      	at org.jgroups.protocols.UNICAST3.addMessage(UNICAST3.java:794)
      	at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:776)
      	at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:425)
      	at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:658)
      	at org.jgroups.protocols.VERIFY_SUSPECT2.up(VERIFY_SUSPECT2.java:105)
      	at org.jgroups.protocols.FailureDetection.up(FailureDetection.java:180)
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.jboss.marshalling.river.ClassDescriptors
      	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
      	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
      	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
      	at org.infinispan.marshall.exts.ThrowableExternalizer.readGenericThrowable(ThrowableExternalizer.java:282)
      	at org.infinispan.marshall.exts.ThrowableExternalizer.readObject(ThrowableExternalizer.java:259)
      	at org.infinispan.marshall.exts.ThrowableExternalizer.readObject(ThrowableExternalizer.java:42)
      	at org.infinispan.marshall.core.GlobalMarshaller.readWithExternalizer(GlobalMarshaller.java:727)
      	at org.infinispan.marshall.core.GlobalMarshaller.readNonNullableObject(GlobalMarshaller.java:708)
      	at org.infinispan.marshall.core.GlobalMarshaller.readNullableObject(GlobalMarshaller.java:357)
      	at org.infinispan.marshall.core.BytesObjectInput.readObject(BytesObjectInput.java:32)
      	at org.infinispan.marshall.exts.ThrowableExternalizer.readObject(ThrowableExternalizer.java:180)
      	at org.infinispan.marshall.exts.ThrowableExternalizer.readObject(ThrowableExternalizer.java:42)
      	at org.infinispan.marshall.core.GlobalMarshaller.readWithExternalizer(GlobalMarshaller.java:727)
      	at org.infinispan.marshall.core.GlobalMarshaller.readNonNullableObject(GlobalMarshaller.java:708)
      	at org.infinispan.marshall.core.GlobalMarshaller.readNullableObject(GlobalMarshaller.java:357)
      	at org.infinispan.marshall.core.BytesObjectInput.readObject(BytesObjectInput.java:32)
      	at org.infinispan.remoting.responses.ExceptionResponse$Externalizer.readObject(ExceptionResponse.java:49)
      	at org.infinispan.remoting.responses.ExceptionResponse$Externalizer.readObject(ExceptionResponse.java:41)
      	at org.infinispan.marshall.core.GlobalMarshaller.readWithExternalizer(GlobalMarshaller.java:727)
      	at org.infinispan.marshall.core.GlobalMarshaller.readNonNullableObject(GlobalMarshaller.java:708)
      	at org.infinispan.marshall.core.GlobalMarshaller.readNullableObject(GlobalMarshaller.java:357)
      	at org.infinispan.marshall.core.GlobalMarshaller.objectFromObjectInput(GlobalMarshaller.java:191)
      	at org.infinispan.marshall.core.GlobalMarshaller.objectFromByteBuffer(GlobalMarshaller.java:220)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processResponse(JGroupsTransport.java:1570)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processMessage(JGroupsTransport.java:1480)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport$ChannelCallbacks.up(JGroupsTransport.java:1685)
      	at org.jgroups.JChannel.up(JChannel.java:733)
      	at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:921)
      Exception in thread "jgroups-34,keycloak-2-38312" io.reactivex.rxjava3.exceptions.UndeliverableException: The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with. Further reading: https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling | org.infinispan.commons.CacheException: java.lang.NoClassDefFoundError: Could not initialize class org.jboss.marshalling.river.ClassDescriptors
      	at io.reactivex.rxjava3.plugins.RxJavaPlugins.onError(RxJavaPlugins.java:372)
      	at io.reactivex.rxjava3.processors.SerializedProcessor.onError(SerializedProcessor.java:110)
      	at org.infinispan.reactive.publisher.impl.ClusterPublisherManagerImpl$SegmentSpecificConsumer.accept(ClusterPublisherManagerImpl.java:434)
      	at org.infinispan.reactive.publisher.impl.ClusterPublisherManagerImpl$SegmentSpecificConsumer.accept(ClusterPublisherManagerImpl.java:395)
      	at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:863)
      	at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:841)
      	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
      	at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2162)
      	at org.infinispan.remoting.transport.AbstractRequest.completeExceptionally(AbstractRequest.java:75)
      	at org.infinispan.remoting.transport.impl.SingleTargetRequest.onResponse(SingleTargetRequest.java:49)
      	at org.infinispan.remoting.transport.impl.RequestRepository.addResponse(RequestRepository.java:51)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processResponse(JGroupsTransport.java:1578)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processMessage(JGroupsTransport.java:1480)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport$ChannelCallbacks.up(JGroupsTransport.java:1685)
      	at org.jgroups.JChannel.up(JChannel.java:733)
      	at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:921)
      	at org.jgroups.protocols.FRAG2.up(FRAG2.java:138)
      	at org.jgroups.protocols.FlowControl.up(FlowControl.java:245)
      	at org.jgroups.protocols.FlowControl.up(FlowControl.java:245)
      	at org.jgroups.protocols.pbcast.GMS.up(GMS.java:845)
      	at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:226)
      	at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1052)
      	at org.jgroups.protocols.UNICAST3.addMessage(UNICAST3.java:794)
      	at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:776)
      	at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:425)
      	at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:658)
      	at org.jgroups.protocols.VERIFY_SUSPECT2.up(VERIFY_SUSPECT2.java:105)
      	at org.jgroups.protocols.FailureDetection.up(FailureDetection.java:180)
      	at org.jgroups.protocols.FD_SOCK2.up(FD_SOCK2.java:188)
      	at org.jgroups.protocols.MERGE3.up(MERGE3.java:274)
      Caused by: org.infinispan.commons.CacheException: java.lang.NoClassDefFoundError: Could not initialize class org.jboss.marshalling.river.ClassDescriptors
      	at org.infinispan.marshall.exts.ThrowableExternalizer.readObject(ThrowableExternalizer.java:181)
      	at org.infinispan.marshall.exts.ThrowableExternalizer.readObject(ThrowableExternalizer.java:42)
      	at org.infinispan.marshall.core.GlobalMarshaller.readWithExternalizer(GlobalMarshaller.java:727)
      	at org.infinispan.marshall.core.GlobalMarshaller.readNonNullableObject(GlobalMarshaller.java:708)
      	at org.infinispan.marshall.core.GlobalMarshaller.readNullableObject(GlobalMarshaller.java:357)
      	at org.infinispan.marshall.core.BytesObjectInput.readObject(BytesObjectInput.java:32)
      	at org.infinispan.remoting.responses.ExceptionResponse$Externalizer.readObject(ExceptionResponse.java:49)
      	at org.infinispan.remoting.responses.ExceptionResponse$Externalizer.readObject(ExceptionResponse.java:41)
      	at org.infinispan.marshall.core.GlobalMarshaller.readWithExternalizer(GlobalMarshaller.java:727)
      	at org.infinispan.marshall.core.GlobalMarshaller.readNonNullableObject(GlobalMarshaller.java:708)
      	at org.infinispan.marshall.core.GlobalMarshaller.readNullableObject(GlobalMarshaller.java:357)
      	at org.infinispan.marshall.core.GlobalMarshaller.objectFromObjectInput(GlobalMarshaller.java:191)
      	at org.infinispan.marshall.core.GlobalMarshaller.objectFromByteBuffer(GlobalMarshaller.java:220)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processResponse(JGroupsTransport.java:1570)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processMessage(JGroupsTransport.java:1480)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport$ChannelCallbacks.up(JGroupsTransport.java:1685)
      	at org.jgroups.JChannel.up(JChannel.java:733)
      	at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:921)
      	at org.jgroups.protocols.FRAG2.up(FRAG2.java:138)
      	at org.jgroups.protocols.FlowControl.up(FlowControl.java:245)
      	at org.jgroups.protocols.FlowControl.up(FlowControl.java:245)
      	at org.jgroups.protocols.pbcast.GMS.up(GMS.java:845)
      	at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:226)
      	at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1052)
      	at org.jgroups.protocols.UNICAST3.addMessage(UNICAST3.java:794)
      	at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:776)
      	at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:425)
      	at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:658)
      	at org.jgroups.protocols.VERIFY_SUSPECT2.up(VERIFY_SUSPECT2.java:105)
      	at org.jgroups.protocols.FailureDetection.up(FailureDetection.java:180)
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.jboss.marshalling.river.ClassDescriptors
      	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
      	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
      	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
      	at org.infinispan.marshall.exts.ThrowableExternalizer.readGenericThrowable(ThrowableExternalizer.java:282)
      	at org.infinispan.marshall.exts.ThrowableExternalizer.readObject(ThrowableExternalizer.java:259)
      	at org.infinispan.marshall.exts.ThrowableExternalizer.readObject(ThrowableExternalizer.java:42)
      	at org.infinispan.marshall.core.GlobalMarshaller.readWithExternalizer(GlobalMarshaller.java:727)
      	at org.infinispan.marshall.core.GlobalMarshaller.readNonNullableObject(GlobalMarshaller.java:708)
      	at org.infinispan.marshall.core.GlobalMarshaller.readNullableObject(GlobalMarshaller.java:357)
      	at org.infinispan.marshall.core.BytesObjectInput.readObject(BytesObjectInput.java:32)
      	at org.infinispan.marshall.exts.ThrowableExternalizer.readObject(ThrowableExternalizer.java:180)
      	at org.infinispan.marshall.exts.ThrowableExternalizer.readObject(ThrowableExternalizer.java:42)
      	at org.infinispan.marshall.core.GlobalMarshaller.readWithExternalizer(GlobalMarshaller.java:727)
      	at org.infinispan.marshall.core.GlobalMarshaller.readNonNullableObject(GlobalMarshaller.java:708)
      	at org.infinispan.marshall.core.GlobalMarshaller.readNullableObject(GlobalMarshaller.java:357)
      	at org.infinispan.marshall.core.BytesObjectInput.readObject(BytesObjectInput.java:32)
      	at org.infinispan.remoting.responses.ExceptionResponse$Externalizer.readObject(ExceptionResponse.java:49)
      	at org.infinispan.remoting.responses.ExceptionResponse$Externalizer.readObject(ExceptionResponse.java:41)
      	at org.infinispan.marshall.core.GlobalMarshaller.readWithExternalizer(GlobalMarshaller.java:727)
      	at org.infinispan.marshall.core.GlobalMarshaller.readNonNullableObject(GlobalMarshaller.java:708)
      	at org.infinispan.marshall.core.GlobalMarshaller.readNullableObject(GlobalMarshaller.java:357)
      	at org.infinispan.marshall.core.GlobalMarshaller.objectFromObjectInput(GlobalMarshaller.java:191)
      	at org.infinispan.marshall.core.GlobalMarshaller.objectFromByteBuffer(GlobalMarshaller.java:220)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processResponse(JGroupsTransport.java:1570)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processMessage(JGroupsTransport.java:1480)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport$ChannelCallbacks.up(JGroupsTransport.java:1685)
      	at org.jgroups.JChannel.up(JChannel.java:733)
      	at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:921)
      

      Second report https://keycloak.discourse.group/t/not-exist-classdescriptors/19280

      ERROR [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-6) Uncaught server error: java.util.concurrent.CompletionException: org.infinispan.commons.CacheException: java.lang.NoClassDefFoundError: >
              at org.infinispan.util.concurrent.CompletionStages.join(CompletionStages.java:85)
              at org.infinispan.stream.impl.AbstractCacheStream.performPublisherOperation(AbstractCacheStream.java:207)
              at org.infinispan.stream.impl.DistributedCacheStream.collect(DistributedCacheStream.java:285)
              at org.infinispan.util.AbstractDelegatingCacheStream.collect(AbstractDelegatingCacheStream.java:280)
              at org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider.getActiveClientSessionStats(InfinispanUserSessionProvider.java:547)
              at org.keycloak.services.resources.admin.RealmAdminResource.getClientSessionStats(RealmAdminResource.java:630)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:568)
              at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:170)
              at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:130)
              at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:660)
              at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:524)
              at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:474)
              at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
              at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:476)
              at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:434)
              at org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:192)
              at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:152)
              at org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:183)
              at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:141)
              at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:32)
              at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:492)
              at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:261)
              at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:161)
              at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
              at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:164)
              at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:247)
              at io.quarkus.resteasy.runtime.standalone.RequestDispatcher.service(RequestDispatcher.java:73)
              at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.dispatch(VertxRequestHandler.java:151)
              at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.handle(VertxRequestHandler.java:82)
              at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.handle(VertxRequestHandler.java:42)
              at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1284)
              at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:173)
              at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:140)
              at io.quarkus.vertx.http.runtime.StaticResourcesRecorder$2.handle(StaticResourcesRecorder.java:84)
              at io.quarkus.vertx.http.runtime.StaticResourcesRecorder$2.handle(StaticResourcesRecorder.java:71)
              at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1284)
              at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:173)
              at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:140)
              at io.quarkus.vertx.http.runtime.VertxHttpRecorder$6.handle(VertxHttpRecorder.java:430)
              at io.quarkus.vertx.http.runtime.VertxHttpRecorder$6.handle(VertxHttpRecorder.java:408)
              at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1284)
              at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:173)
              at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:140)
              at org.keycloak.quarkus.runtime.integration.web.QuarkusRequestFilter.lambda$createBlockingHandler$0(QuarkusRequestFilter.java:82)
              at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:564)
              at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
              at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
              at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
              at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
              at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
              at java.base/java.lang.Thread.run(Thread.java:833)
      Caused by: org.infinispan.commons.CacheException: java.lang.NoClassDefFoundError: Could not initialize class org.jboss.marshalling.river.ClassDescriptors
              at org.infinispan.marshall.exts.ThrowableExternalizer.readObject(ThrowableExternalizer.java:181)
              at org.infinispan.marshall.exts.ThrowableExternalizer.readObject(ThrowableExternalizer.java:42)
              at org.infinispan.marshall.core.GlobalMarshaller.readWithExternalizer(GlobalMarshaller.java:727)
              at org.infinispan.marshall.core.GlobalMarshaller.readNonNullableObject(GlobalMarshaller.java:708)
              at org.infinispan.marshall.core.GlobalMarshaller.readNullableObject(GlobalMarshaller.java:357)
              at org.infinispan.marshall.core.BytesObjectInput.readObject(BytesObjectInput.java:32)
              at org.infinispan.remoting.responses.ExceptionResponse$Externalizer.readObject(ExceptionResponse.java:49)
              at org.infinispan.remoting.responses.ExceptionResponse$Externalizer.readObject(ExceptionResponse.java:41)
              at org.infinispan.marshall.core.GlobalMarshaller.readWithExternalizer(GlobalMarshaller.java:727)
              at org.infinispan.marshall.core.GlobalMarshaller.readNonNullableObject(GlobalMarshaller.java:708)
              at org.infinispan.marshall.core.GlobalMarshaller.readNullableObject(GlobalMarshaller.java:357)
              at org.infinispan.marshall.core.GlobalMarshaller.objectFromObjectInput(GlobalMarshaller.java:191)
              at org.infinispan.marshall.core.GlobalMarshaller.objectFromByteBuffer(GlobalMarshaller.java:220)
              at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processResponse(JGroupsTransport.java:1488)
              at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processMessage(JGroupsTransport.java:1398)
              at org.infinispan.remoting.transport.jgroups.JGroupsTransport.access$300(JGroupsTransport.java:146)
              at org.infinispan.remoting.transport.jgroups.JGroupsTransport$ChannelCallbacks.up(JGroupsTransport.java:1586)
              at org.jgroups.JChannel.up(JChannel.java:780)
              at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:913)
              at org.jgroups.protocols.FRAG3.up(FRAG3.java:165)
              at org.jgroups.protocols.FlowControl.up(FlowControl.java:347)
              at org.jgroups.protocols.FlowControl.up(FlowControl.java:347)
              at org.jgroups.protocols.pbcast.GMS.up(GMS.java:876)
              at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:254)
              at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1048)
              at org.jgroups.protocols.UNICAST3.addMessage(UNICAST3.java:771)
              at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:752)
              at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:405)
              at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:592)
              at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:132)
              at org.jgroups.protocols.FailureDetection.up(FailureDetection.java:186)
              at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:254)
              at org.jgroups.protocols.MERGE3.up(MERGE3.java:281)
              at org.jgroups.protocols.Discovery.up(Discovery.java:300)
              at org.jgroups.protocols.TP.passMessageUp(TP.java:1400)
              at org.jgroups.util.SubmitToThreadPool$SingleMessageHandler.run(SubmitToThreadPool.java:98)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
              ... 1 more
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.jboss.marshalling.river.ClassDescriptors
              at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
              at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
              at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
              at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
              at org.infinispan.marshall.exts.ThrowableExternalizer.readGenericThrowable(ThrowableExternalizer.java:282)
              at org.infinispan.marshall.exts.ThrowableExternalizer.readObject(ThrowableExternalizer.java:259)
              at org.infinispan.marshall.exts.ThrowableExternalizer.readObject(ThrowableExternalizer.java:42)
      
      

              ttarrant@redhat.com Tristan Tarrant
              mkanis Martin Kanis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: