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 NOVEMBER 03, 2016

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

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