Lucene - Core
  1. Lucene - Core
  2. LUCENE-5132

Spatial RPT CONTAINS predicate will fail with NPE when there's no indexed data

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.4
    • Fix Version/s: 4.5, Trunk
    • Component/s: modules/spatial
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      If there is no indexed spatial data, the SpatialRecursivePrefixTree strategy will fail with an NPE if the Contains predicate is used. I'm not certain but it might fail even when there is data, when termsEnum reaches the end.

      (bug found via randomized testing & continuous integration)

        Activity

          People

          • Assignee:
            David Smiley
            Reporter:
            David Smiley
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development