[
https://issues.apache.org/jira/browse/LUCENE-4712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13560871#comment-13560871
]
Michael McCandless commented on LUCENE-4712:
--------------------------------------------
+1
> NullPointer Exception in MemoryIndex.MemoryIndexReader
> ------------------------------------------------------
>
> Key: LUCENE-4712
> URL: https://issues.apache.org/jira/browse/LUCENE-4712
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/other
> Affects Versions: 4.1
> Reporter: Ricky Pritchett
> Assignee: Simon Willnauer
> Attachments: LUCENE-4712.patch
>
>
> NullPointer Exceptions when searching on an index with a query that has a
> field that's not in the index.
> The NullPointer is thrown at line 1141:
> public DocValues normValues(String field) {
> if (fieldInfos.get(field).omitsNorms()) <---- //If fieldInfos doesn't
> contain the field then a NullPointer is thrown.
> return null;
--
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]