[ https://issues.apache.org/jira/browse/SOLR-9059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15294101#comment-15294101 ]
ASF subversion and git services commented on SOLR-9059: ------------------------------------------------------- Commit c29552a1c7fca516b4c31377dd789f7b5db5a6d3 in lucene-solr's branch refs/heads/branch_6_0 from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c29552a ] SOLR-9059: Update CHANGES.txt > NPE in SolrClientCache following collection reload > -------------------------------------------------- > > Key: SOLR-9059 > URL: https://issues.apache.org/jira/browse/SOLR-9059 > Project: Solr > Issue Type: Bug > Reporter: Joel Bernstein > Assignee: Joel Bernstein > Fix For: 6.0.1, 6.1 > > Attachments: SOLR-9059.patch, SOLR-9059.patch > > > Currently the StreamHandler opens the client cache only once when the > StreamHandler is initialized. During a collection reload the client cache is > closed by the closeHook, but not re-opened. This causes null pointers as the > CloudSolrClient sets the zkStateReader = null when it's closed. > A simple fix for this is to have the SolrClientCache clear it's internal map > of clients after closing. The next time the cache is accessed it will then > create new clients. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org