You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ricky Pritchett (JIRA)" <ji...@apache.org> on 2013/01/23 18:35:13 UTC
[jira] [Created] (LUCENE-4712) NullPointer Exception in
MemoryIndex.MemoryIndexReader
Ricky Pritchett created LUCENE-4712:
---------------------------------------
Summary: 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
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