[ 
https://issues.apache.org/jira/browse/LUCENE-3522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shai Erera updated LUCENE-3522:
-------------------------------

    Fix Version/s:     (was: 3.5)

Ah. I thought that we need the Fix Version to properly track which issues are 
part of a release. But you're right - if this bug didn't exist in 3.x, then we 
better not mark that it was fixed there.
                
> 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
>             Fix For: 4.0
>
>         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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to