You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2018/08/28 13:41:00 UTC

[jira] [Created] (SOLR-12706) CloudSolrClient NPE exception when NOT directUpdatesToLeadersOnly

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org