ArrayIndexOutOfBoundsException Thrown By Coherence 3.5.3 and 3.6.1 When Using NotFilter

(Doc ID 1339639.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Coherence - Version: 3.6.0 and later   [Release: AS10g and later ]
Information in this document applies to any platform.

Symptoms

An exception like the ones below is thrown by Coherence 3.5.3 or 3.6.1 when executing a NotFilter:

Caused by: Portable(java.lang.ArrayIndexOutOfBoundsException): 16
at com.tangosol.util.DeltaSet.toArray(DeltaSet.java:280)
at com.tangosol.util.DeltaSet$DeltaIterator.<init>(DeltaSet.java:337)
at com.tangosol.util.DeltaSet.iterator(DeltaSet.java:153)
at java.util.AbstractCollection.retainAll(AbstractCollection.java:367)
at com.tangosol.util.filter.AnyFilter.applyIndex(AnyFilter.java:169)
at com.tangosol.util.filter.NotFilter.applyIndex(NotFilter.java:107)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.query(PartitionedCache.CDB:32)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onInvokeFilterRequest(PartitionedCache.CDB:56)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$InvokeFilterRequest.run(PartitionedCache.CDB:1)
at com.tangosol.coherence.component.util.DaemonPool$WrapperTask.run(DaemonPool.CDB:1)
at com.tangosol.coherence.component.util.DaemonPool$WrapperTask.run(DaemonPool.CDB:32)
at com.tangosol.coherence.component.util.DaemonPool$Daemon.onNotify(DaemonPool.CDB:63)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:619)
at <process boundary>

Caused by: java.lang.ArrayIndexOutOfBoundsException: 82969
at com.tangosol.util.DeltaSet.toArray(DeltaSet.java:280)
at com.tangosol.util.DeltaSet$DeltaIterator.<init>(DeltaSet.java:337)
at com.tangosol.util.DeltaSet.iterator(DeltaSet.java:153)
at java.util.AbstractCollection.retainAll(AbstractCollection.java:367)
at com.tangosol.util.filter.InFilter.applyIndex(InFilter.java:116)
at com.tangosol.util.filter.NotFilter.applyIndex(NotFilter.java:100)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$Storage.query(DistributedCache.CDB:32)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onInvokeFilterRequest(DistributedCache.CDB:52)

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