David Smiley created SOLR-12706:
-----------------------------------
Summary: CloudSolrClient NPE exception when NOT
directUpdatesToLeadersOnly
Key: SOLR-12706
URL: https://issues.apache.org/jira/browse/SOLR-12706
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Reporter: David Smiley
I've seen multiple various tests fail with a NPE with this stack trace:
{noformat}
Caused by: java.lang.NullPointerException
at
org.apache.solr.client.solrj.impl.CloudSolrClient.buildUrlMap(CloudSolrClient.java:641)
at
org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:502)
at
org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1018)
at
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:886)
{noformat}
Line 641 is: {{if (!replica.getNodeName().equals(leader.getNodeName()) &&}} in
a loop that is under a condition {{if (!directUpdatesToLeadersOnly) {}}
Searching emails of failed reports for "CloudSolrClient.buildUrlMap" will turn
up various failure reports. The first such email in recent times occurred
August 3rd and since then, multiple times.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]