You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (Assigned) (JIRA)" <ji...@apache.org> on 2011/10/17 13:56:10 UTC
[jira] [Assigned] (LUCENE-3522) TermsFilter.getDocIdSet(context)
NPE on missing field
[ https://issues.apache.org/jira/browse/LUCENE-3522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless reassigned LUCENE-3522:
------------------------------------------
Assignee: Michael McCandless
> TermsFilter.getDocIdSet(context) NPE on missing field
> -----------------------------------------------------
>
> Key: LUCENE-3522
> URL: https://issues.apache.org/jira/browse/LUCENE-3522
> Project: Lucene - Java
> Issue Type: Bug
> Components: modules/other
> Affects Versions: 4.0
> Reporter: Dan Climan
> Assignee: Michael McCandless
> Priority: Minor
> Attachments: LUCENE-3522.patch
>
>
> If the context does not contain the field for a term when calling TermsFilter.getDocIdSet(AtomicReaderContext context) then a NullPointerException is thrown due to not checking for null Terms before getting iterator.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org