-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
Fully Compatible
-
QE 2023-09-18, QE 2023-10-02, QE 2023-10-16
MultipleCollectionAccessor::lookupCollection can return a null pointer when the collection is not found. When this gets passed into an SBE generateCollScan call, this null pointer gets passed down to generateGenericCollScan and dereferenced (or generateClusteredCollScan and dereferenced), causing a null pointer exception. This can happen with other
getCurrentCollection calls as well; here is an example with generateIndexScan.