Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.0-ALPHA
-
None
-
New, Patch Available
Description
I found this when querying a MemoryIndex using a RegexpQuery wrapped by a SpanMultiTermQueryWrapper. If the regexp doesn't match anything in the index, it gets rewritten to an empty SpanOrQuery with a null field value, which then triggers the NPE.