org.infinispan.client.hotrod.exceptions.HotRodClientException: ... java.lang.ClassCastException: java.lang.String cannot be cast to [B
Issue
Caused by: org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=70 returned server error (status=0x85): java.lang.ClassCastException: java.lang.String cannot be cast to [B
at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:340)
at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:177)
at org.infinispan.client.hotrod.impl.transport.netty.HeaderDecoder.decode(HeaderDecoder.java:138)
at org.infinispan.client.hotrod.impl.transport.netty.HintedReplayingDecoder.callDecode(HintedReplayingDecoder.java:98)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276)
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 7.3
- Red Hat JBoss Data Grid
- Hotrod client
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.