You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/09/18 20:23:49 UTC
[lucene-solr] branch reference_impl_dev updated: @859 Fix NPE.
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch reference_impl_dev
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/reference_impl_dev by this push:
new 319ed51 @859 Fix NPE.
319ed51 is described below
commit 319ed51b17cbec733f58b827d1d0397679dd3681
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Fri Sep 18 15:23:36 2020 -0500
@859 Fix NPE.
---
.../src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java
index 080d5c2..6b152b0 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java
@@ -445,7 +445,9 @@ public class Http2SolrClient extends SolrClient {
onComplete.onFailure(e);
} finally {
asyncTracker.arrive();
- finalDone.countDown();
+ if (finalDone != null) {
+ finalDone.countDown();
+ }
}
}