Coherence Throws IllegalArgumentException When Retrieving Large Amounts of Data (Doc ID 2275687.1)

Last updated on JUNE 11, 2017

Applies to:

Oracle Coherence - Version 12.1.3.0.2 to 12.1.3.0.5 [Release 12c]
Information in this document applies to any platform.

Symptoms

On : 12.1.3.0.2 version, Oracle Coherence, 64-bit Java 8 Minor Version 102

There are 2 storage nodes (each with 8 GB heap size) and 2 proxy nodes (each with a max heap size of 8 GB). 

There were about 270 client processes that connected to this Coherence cluster and were either try to get data from the  cache using the "get" operation on the "NamedCache" or were trying to get a portion of data from objects that live in this cache using an entry processor. Noticed the following error in the extend node log files when doing an invokeAll on the entry processor to get a large portion of data from objects that live in this cache.

2016-10-11 08:43:54.546 Tangosol Coherence 12.1.3.0.2 (thread=Proxy:ExtendTcpProxyService:TcpAcceptorWorker:11, member=5): An exception occurred while processing a InvokeAllRequest for Service=Proxy:ExtendTcpProxyService:TcpAcceptor: com.tangosol.net.RequestIncompleteException: Partial failure
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.mergePartialMapResponse(PartitionedCache.CDB:86)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.invokeAll(PartitionedCache.CDB:28)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.invokeAll(PartitionedCache.CDB:44)
at com.tangosol.coherence.component.util.SafeNamedCache.invokeAll$Router(SafeNamedCache.CDB:1)
at com.tangosol.coherence.component.util.SafeNamedCache.invokeAll(SafeNamedCache.CDB:5)
at com.tangosol.coherence.component.net.extend.proxy.NamedCacheProxy.invokeAll$Router(NamedCacheProxy.CDB:1)
at com.tangosol.coherence.component.net.extend.proxy.NamedCacheProxy.invokeAll(NamedCacheProxy.CDB:2)
at com.tangosol.coherence.component.net.extend.messageFactory.NamedCacheFactory$InvokeAllRequest.onRun(NamedCacheFactory.CDB:6)
Caused by: (Wrapped: Failed request execution for DistributedCache-SIM service on Member(Id=2, Timestamp=2016-10-11 08:33:15.121, Address=xx.xx.xx.xx:8096, MachineId=30983, Location=site:,machine:CDPWA00A0043,process:20364,member:CDPWA00A0043_S1, Role=storage)) java.lang.IllegalArgumentException
at com.tangosol.util.Base.ensureRuntimeException(Base.java:292)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.tagException(Grid.CDB:50)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onInvokeAllRequest(PartitionedCache.CDB:142)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$InvokeAllRequest$InvokeJob.run(PartitionedCache.CDB:1)
Caused by: java.lang.IllegalArgumentException
at com.tangosol.io.ByteArrayWriteBuffer.(ByteArrayWriteBuffer.java:76)
at com.tangosol.io.ByteArrayWriteBuffer.(ByteArrayWriteBuffer.java:58)
at com.tangosol.util.BinaryWriteBuffer.(BinaryWriteBuffer.java:28)
at com.tangosol.util.ExternalizableHelper$Stats.allocate(ExternalizableHelper.java:3086)
at com.tangosol.io.MultiBufferWriteBuffer.(MultiBufferWriteBuffer.java:50)
at com.tangosol.io.MultiBufferWriteBuffer.(MultiBufferWriteBuffer.java:36)
at com.tangosol.util.ExternalizableHelper$Stats.instantiateBuffer(ExternalizableHelper.java:3014)
at com.tangosol.util.ExternalizableHelper.serializeInternal(ExternalizableHelper.java:2676)
at com.tangosol.util.ExternalizableHelper.toBinary(ExternalizableHelper.java:216)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ConverterValueToBinary.convert(PartitionedCache.CDB:3)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.invokeAll(PartitionedCache.CDB:53)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onInvokeAllRequest(PartitionedCache.CDB:103)
... 6 more

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