My Oracle Support Banner

Why the ConverterMap.ContainsValue(null) Returns False after upgrade from 3.5.x to 12.1.2.0.0? (Doc ID 2146962.1)

Last updated on OCTOBER 20, 2023

Applies to:

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

Goal

On : 12.1.2.0.0 version, Oracle Coherence

ConverterMap.containsValue(null) returns false using coherence version 12.1.2 whereas it returns true on version 3.5.3.x, encountered an issue with oracle coherence 12.1.2.0.0 version. Customer saw this behavior when 3.5.3.x cluster upgraded to 12.1.2.0.0 version.
 
The Map class returned from the com.tangosol.net.NamedCache.invokeAll() method is com.oracle.common.collections.ConverterCollections$ConverterMap, if customer invokes values() method on the above map, it prints ConverterCollection{null, null}. Calling containsValue(null) on above map prints false in 12.1.2 whereas it prints true in 3.5.3.x.  The containsValue(null) should actually return true, as the map has null values, but somehow in 12.1.2 it returning false.
 

Solution

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
Goal
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.