mirror of https://github.com/apache/lucene.git
SOLR-9093: Fix NullPointerException in TopGroupsShardResponseProcessor.
This commit is contained in:
parent
184983280e
commit
574a6a9d65
|
@ -170,6 +170,8 @@ Bug Fixes
|
||||||
* SOLR-9058: Makes HashJoinStream and OuterHashJoinStream support different field names in the
|
* SOLR-9058: Makes HashJoinStream and OuterHashJoinStream support different field names in the
|
||||||
incoming streams, eg. fieldA=fieldB. (Dennis Gove, Stephan Osthold)
|
incoming streams, eg. fieldA=fieldB. (Dennis Gove, Stephan Osthold)
|
||||||
|
|
||||||
|
* SOLR-9093: Fix NullPointerException in TopGroupsShardResponseProcessor. (Christine Poerschke)
|
||||||
|
|
||||||
Optimizations
|
Optimizations
|
||||||
----------------------
|
----------------------
|
||||||
* SOLR-8722: Don't force a full ZkStateReader refresh on every Overseer operation.
|
* SOLR-8722: Don't force a full ZkStateReader refresh on every Overseer operation.
|
||||||
|
|
|
@ -99,7 +99,7 @@ public class TopGroupsShardResponseProcessor implements ShardResponseProcessor {
|
||||||
|
|
||||||
if (srsp.getException() != null) {
|
if (srsp.getException() != null) {
|
||||||
Throwable t = srsp.getException();
|
Throwable t = srsp.getException();
|
||||||
if (t instanceof SolrServerException) {
|
if (t instanceof SolrServerException && ((SolrServerException) t).getCause() != null) {
|
||||||
t = ((SolrServerException) t).getCause();
|
t = ((SolrServerException) t).getCause();
|
||||||
}
|
}
|
||||||
individualShardInfo.add("error", t.toString());
|
individualShardInfo.add("error", t.toString());
|
||||||
|
|
Loading…
Reference in New Issue