You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2013/01/23 19:09:13 UTC
[jira] [Resolved] (LUCENE-4712) NullPointer Exception in
MemoryIndex.MemoryIndexReader
[ https://issues.apache.org/jira/browse/LUCENE-4712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Willnauer resolved LUCENE-4712.
-------------------------------------
Resolution: Fixed
fixed! thanks
> 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
> Fix For: 4.2, 5.0
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org