[ https://issues.apache.org/jira/browse/SOLR-14580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17140351#comment-17140351 ]
Nikolay Ivanov commented on SOLR-14580: --------------------------------------- Workaround found -> create stateProvider beforehand. It makes it hard to extend the builder and the client in client applications without a duplication of some of the builder code. > CloudSolrClient cannot be initialized using 'zkHosts' builder > ------------------------------------------------------------- > > Key: SOLR-14580 > URL: https://issues.apache.org/jira/browse/SOLR-14580 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: clients - java > Affects Versions: 8.5.1, 8.5.2 > Reporter: Nikolay Ivanov > Priority: Major > Attachments: Screen Shot 2020-06-18 at 9.54.22 AM.png, Screen Shot > 2020-06-18 at 9.54.45 AM.png > > > CloudSolrClient throws IllegalArgumentException when built using zkHosts > builder. The root cause is that builder.solrUrls is being checked with != > null, but actually the value is empty array. > Please check the screenshots for more information -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org