[
https://issues.apache.org/jira/browse/SOLR-3722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cassandra Targett updated SOLR-3722:
------------------------------------
Component/s: search
> 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
> Components: search
> 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 was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]