[
https://issues.apache.org/jira/browse/SOLR-12706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Smiley closed SOLR-12706.
-------------------------------
> CloudSolrClient NPE exception when NOT directUpdatesToLeadersOnly
> -----------------------------------------------------------------
>
> Key: SOLR-12706
> URL: https://issues.apache.org/jira/browse/SOLR-12706
> Project: Solr
> Issue Type: Bug
> Reporter: David Smiley
> Priority: Major
>
> 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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]