"java.lang.ClassCastException: java.lang.Object cannot be cast to java.util.List" Error in Coherence 3.5.2 and 3.5.3 (Doc ID 1196098.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Coherence - Version: 3.5.2 to 3.5.3 - Release: AS10g to AS10g
Information in this document applies to any platform.

Symptoms

An exception message like the following is thrown in Coherence 3.5.2 and/or 3.5.3:

[2010-08-04 18:48:47 -0700] [ERROR] Coherence - 3.5.2/463 Error (thread=DistributedCache:PartitionedCache, member=114): An exception occured while dispatching synchronous event:MapListenerSupport$FilterEvent{DistributedCache$BinaryMap updated: key=Binary(length=211, value=0x02AE9A42), old value=null, new value=null, filters=[null]}
[2010-08-04 18:48:47 -0700] [ERROR] Coherence - 3.5.2/463 Error (thread=DistributedCache:PartitionedCache, member=114):
java.lang.ClassCastException: java.lang.Object cannot be cast to java.util.List
at com.tangosol.net.cache.CachingMap.validate(CachingMap.java:1245)
at com.tangosol.net.cache.CachingMap$BackMapListener.onMapEvent(CachingMap.java:1628)
at com.tangosol.util.MultiplexingMapListener.entryUpdated(MultiplexingMapListener.java:41)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:210)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ViewMap$ProxyListener.dispatch(DistributedCache.CDB:22)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ViewMap$ProxyListener.entryUpdated(DistributedCache.CDB:1)
at com.tangosol.util.MapListenerSupport$WrapperSynchronousListener.entryUpdated(MapListenerSupport.java:866)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:210)
at com.tangosol.coherence.component.util.CacheEvent.dispatchSafe(CacheEvent.CDB:14)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.dispatch(DistributedCache.CDB:86)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onMapEvent(DistributedCache.CDB:43)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$MapEvent.onReceived(DistributedCache.CDB:3)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:9)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:136)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onNotify(DistributedCache.CDB:3)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:619)
[2010-08-04 18:48:47 -0700] [ERROR] Coherence - 3.5.2/463 Error (thread=DistributedCache:PartitionedCache, member=114): (The exception has been logged and execution is continuing.)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms