[
https://issues.apache.org/jira/browse/LUCENE-5132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Smiley updated LUCENE-5132:
---------------------------------
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)
was:
If there is no indexed spatial data, the SpatialRecursivePrefixTree strategy
will fail with an NPE. This occurs for the 4 main predicates, so there's that
many bugs to fix. Shouldn't be hard.
(bug found via randomized testing & continuous integration)
Summary: Spatial RPT CONTAINS predicate will fail with NPE when there's
no indexed data (was: Spatial RPT will fail with NPE when there's no indexed
data)
> 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
>
>
> 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]