My Oracle Support Banner

EOFException From BinaryEntryStore When Calling BinaryEntry.getOriginalValue() (Doc ID 1334446.1)

Last updated on FEBRUARY 03, 2019

Applies to:

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


A BinaryEntryStore calls BinaryEntry.getOriginalValue() from the store() method to access the previous value of an entry.

This is following the guidance given by Oracle in the Javadoc for BinaryEntryStore:

"Additionaly, for the purpose of the optimistic concurrency control,
implementations could rely on the entry's "previous" values: in the external
format using BinaryEntry.getOriginalValue() and in the internal format using
the BinaryEntry.getOriginalBinaryValue() methods (for store operations, a
value of null here would indicate an insert operation). "


  1. Insert an entry for key k
  2. Sleep to allow write-behind. During write behind getOriginalValue() returns null.
  3. Clear the cache
  4. Re-insert entry with key k
  5. Sleep to allow write-behind. During write behind getOriginalValue() throws EOFException.

2011-05-23 11:21:37.662/9.365 Oracle Coherence GE <Error>
che, member=1): Failed to store key="k"
2011-05-23 11:21:37.662/9.365 Oracle Coherence GE <Error>
che, member=1): (Wrapped)
at com.tangosol.util.ExternalizableHelper.fromBinary(
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ConverterFromBinary.convert(PartitionedCache.CDB:4)
at Main$
at com.tangosol.util.Daemon$
at Source)
Caused by:
at com.tangosol.util.ExternalizableHelper.deserializeInternal(
at com.tangosol.util.ExternalizableHelper.fromBinary(
... 8 more


To view full details, sign in with your My Oracle Support account.

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

In this Document

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.