Hoss Man created SOLR-3722:
------------------------------
Summary: NPE from NamedList constructor if shard fails to return
auxilury data about all docs
Key: SOLR-3722
URL: https://issues.apache.org/jira/browse/SOLR-3722
Project: Solr
Issue Type: Bug
Affects Versions: 3.6.1
Reporter: Hoss Man
Michelle Talley reported a problem on the user w/ distributed search .. root
issue isn't understood yet, but a secondary problem was that when adding
"debugQuery=true" this NPE was thrown...
{noformat}
java.lang.NullPointerException
at
org.apache.solr.common.util.NamedList.nameValueMapToList(NamedList.java:110)
at org.apache.solr.common.util.NamedList.<init>(NamedList.java:75)
at
org.apache.solr.common.util.SimpleOrderedMap.<init>(SimpleOrderedMap.java:58)
at
org.apache.solr.handler.component.DebugComponent.finishStage(DebugComponent.java:130)
{noformat}
the cause evidently relating to a mismatch between the rb.resultIds list of
ShardDocs, and the score explanation output from each shard. The pattern of
code in DebugComponent is common among several components, and i think we
should "fix" NamedList to ignore nulls in it's {{Map.Entry<String, T>[]}}
constructor
--
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]