Getting ISPN000136 Exception when putting key/values using off-heap storage in RHDG 7.3.3

Solution Verified - Updated -

Issue

When using the command with the cache configured for off-heap storage:

./cli.sh -c --controller=10.0.0.4 --commands="container clustered,cache default,put key1 value1"

we are getting:

 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (jgroups-7,node1sh) ISPN000136: Error executing command PutKeyValueCommand on Cache 'default', writing keys [key1]: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from node2sh, see cause for remote stack trace
    at org.infinispan.remoting.transport.ResponseCollectors.wrapRemoteException(ResponseCollectors.java:28)
    at org.infinispan.remoting.transport.impl.MapResponseCollector.addException(MapResponseCollector.java:65)
......
    Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to org.infinispan.commons.marshall.WrappedBytes
        ......
Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to org.infinispan.commons.marshall.WrappedBytes
    at org.infinispan.container.offheap.SegmentedBoundedOffHeapDataContainer.put(SegmentedBoundedOffHeapDataContainer.java:32)
......

Environment

  • Red Hat Data Grid (RHDG)
    • 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In