My Oracle Support Banner

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

Last updated on OCTOBER 20, 2023

Applies to:

Oracle Coherence - Version 3.6.0 and later
Information in this document applies to any platform.

Symptoms

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). "

 

Scenario

  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.

 

Changes

 

Cause

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
Symptoms
 Scenario
Changes
Cause
Solution
References


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