ConverterDictionary Contains() returns Null though key exists in some cases (Doc ID 1995851.1)

Last updated on SEPTEMBER 29, 2015

Applies to:

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

Symptoms

A Coherence*Extend application, which is using the Portable Object Format (POF), has implemented a custom com.tangosol.net.WrapperCacheService to allow it to use a custom com.tangosol.net.cache.WrapperNamedCache to allow it to change the format of the results returned by a call to the implementation's getAll(Collection) method to a HashMap rather than a ConverterCollection.

With this custom implementation in place, when the client receives the results and iterates over the keys it sometimes fails to retrieve the matching value, returning null instead.

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