[
https://issues.apache.org/jira/browse/LUCENE-5132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719188#comment-13719188
]
ASF subversion and git services commented on LUCENE-5132:
---------------------------------------------------------
Commit 1506811 from [~dsmiley] in branch 'dev/trunk'
[ https://svn.apache.org/r1506811 ]
LUCENE-5132: Spatial RPT Contains predicate can throw NPE
> 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]