Coherence Worker Thread Throws NullPointerException During addIndex (Doc ID 2260624.1)

Last updated on APRIL 28, 2017

Applies to:

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

Symptoms

Oracle Coherence Version 12.2.1.2.0 Build 65221- Both Extend Client and Cluster

When invoking cache.addIndex(indexExtractor, false, null) from an Extend client on an empty 30+ storage node cluster with all caches initialized beforehand, NullPointerException is thrown in the cache node log.

2017-02-06 13:03:06.489/642.370 Oracle Coherence GE 12.2.1.2.0 <D4> (thread=DistributedCacheServiceWorker, member=11): Daemon caught an unhandled exception (java.lang.NullPointerException: null) while exiting.
2017-02-06 13:03:06.489/642.370 Oracle Coherence GE 12.2.1.2.0 <D4> (thread=DistributedCacheServiceWorker, member=11): Daemon caught an unhandled exception (java.lang.NullPointerException: null) while exiting.
2017-02-06 13:03:06.490/642.371 Oracle Coherence GE 12.2.1.2.0 <D9> (thread=DistributedCacheServiceWorker, member=11): java.lang.NullPointerException
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.processIndexRequest(PartitionedCache.CDB:7)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onUpdateIndexRequest(PartitionedCache.CDB:10)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$UpdateIndexRequest.run(PartitionedCache.CDB:1)
at com.tangosol.coherence.component.util.DaemonPool$WrapperTask.run(DaemonPool.CDB:1)
at com.tangosol.coherence.component.util.DaemonPool$WrapperTask.run(DaemonPool.CDB:32)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService$DaemonPool$WrapperTask.run(PartitionedService.CDB:1)
at com.tangosol.coherence.component.util.DaemonPool$Daemon.onNotify(DaemonPool.CDB:66)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:54)
at java.lang.Thread.run(Thread.java:745)

Index creation seems to be successful and Coherence services do not exit the cluster.

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