lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cassandra Targett (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-3722) NPE from NamedList constructor if shard fails to return auxilury data about all docs
Date Thu, 04 Jan 2018 21:59:00 GMT

     [ 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.&lt;init&gt;(NamedList.java:75)
>         at org.apache.solr.common.util.SimpleOrderedMap.&lt;init&gt;(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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message