[
https://issues.apache.org/jira/browse/LUCENE-5132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Smiley closed LUCENE-5132.
--------------------------------
Resolution: Fixed
Lucene Fields: New,Patch Available (was: New)
> Spatial RPT CONTAINS predicate will fail with NPE when there's no indexed data
> ------------------------------------------------------------------------------
>
> Key: LUCENE-5132
> URL: https://issues.apache.org/jira/browse/LUCENE-5132
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/spatial
> Affects Versions: 4.4
> Reporter: David Smiley
> Assignee: David Smiley
> Fix For: 5.0, 4.5
>
> Attachments: LUCENE-5132.patch
>
>
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]