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
We had a similar report a few weeks ago: https://jira.jboss.org/browse/ISPN-662
It should be fixed in 4.2.0.Alpha3 which is already out, so try it and let us know if you still have issues.