NPE on running specific query after upgrade from 11 to 12.3 version

Description

Running following query fails on NPE :
SELECT * FROM com.gresham.darwin.server.common.datastore.usertasks.UserTaskEntry WHERE rownum < 5000 and recFqn = 'UBS.OTC_GERONIMO_AAA_CASH_HKSG' and hiddenFromUsers[] = 'kov' and (assignedToRoles[] = 'UBS.SIRGLBR_Supervisor' or assignedToUsers[*] = 'XXX')

Same query without the OR condition works

[gsc][3/1454772] Fatal error.
[gsc][3/1454772] java.lang.NullPointerException: null
[gsc][3/1454772] at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
[gsc][3/1454772] at com.j_spaces.core.cache.TypeData.getIndex(TypeData.java:826)
[gsc][3/1454772] at com.j_spaces.core.cache.CacheManager.getEntriesMinIndexExtended(CacheManager.java:4385)
[gsc][3/1454772] at com.j_spaces.core.cache.CacheManager.getScannableEntriesMinIndexExtended(CacheManager.java:4632)
[gsc][3/1454772] at com.j_spaces.core.cache.CacheManager.getMatchingMemoryEntriesForScanning(CacheManager.java:1807)
[gsc][3/1454772] at com.gigaspaces.internal.server.space.SpaceEngine.getMatchedEntriesAndOperateSA_Type(SpaceEngine.java:4032)
[gsc][3/1454772] at com.gigaspaces.internal.server.space.SpaceEngine.executeOnMatchingEntries(SpaceEngine.java:3892)
[gsc][3/1454772] at com.j_spaces.core.server.processor.Processor.executeBatchSearchAndProcessing(Processor.java:2383)
[gsc][3/1454772] at com.j_spaces.core.server.processor.Processor.handleDirectMultipleReadTakeSA(Processor.java:2223)
[gsc][3/1454772] at com.gigaspaces.internal.server.space.SpaceEngine.readMultiple(SpaceEngine.java:1951)

Attached is related class, they have tested without the 2 collection indexes and still got the same problem, the issue is reproducible only on customer data that can't be shared.

Workaround

None

Acceptance Test

None

Assignee

Unassigned

Reporter

Ester Atzmon

Labels

None

Priority

Medium

SalesForce Case ID

12859

Fix versions

None

Commitment Version/s

None

Due date

None

Product

XAP

Edition

Open Source

Platform

All
Configure