1 Reply Latest reply on Oct 14, 2010 11:13 AM by galder.zamarreno

    AtomicMap and lazyDeserialization problem

    ntsankov

      Hi,

       

      If you have <lazyDeserialization enabled="true"/> in the cache config, using AtomicMap results in:

       

      java.lang.ClassCastException: org.infinispan.marshall.MarshalledValue cannot be cast to org.infinispan.atomic.AtomicHashMap
           at org.infinispan.atomic.AtomicHashMapProxy.getDeltaMapForWrite(AtomicHashMapProxy.java:78)
           at org.infinispan.atomic.AtomicHashMapProxy.put(AtomicHashMapProxy.java:154)

       

      when you try to put entry in the map. Is this a bug?

       

      Cheers,

      nts