You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Timothy Potter (Jira)" <ji...@apache.org> on 2021/02/08 15:39:00 UTC

[jira] [Commented] (SOLR-15145) Older versions of SolrJ (pre-8.8.0) hit an NPE when computing the base_url for core node props

    [ https://issues.apache.org/jira/browse/SOLR-15145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17281145#comment-17281145 ] 

Timothy Potter commented on SOLR-15145:
---------------------------------------

The work-around would be to upgrade client applications to use SolrJ 8.8.0 when hitting a Solr 8.8.0 server, but that's not always practical / achievable in production deployments. Thus we'll need to get a fix into 8.8.1. In the meantime, users that cannot upgrade their client applications to SolrJ 8.8, should hold off on upgrading the server.

> Older versions of SolrJ (pre-8.8.0) hit an NPE when computing the base_url for core node props
> ----------------------------------------------------------------------------------------------
>
>                 Key: SOLR-15145
>                 URL: https://issues.apache.org/jira/browse/SOLR-15145
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrJ
>    Affects Versions: 8.8
>            Reporter: Timothy Potter
>            Assignee: Timothy Potter
>            Priority: Major
>
> From the mailing list:
> {code}
> Caused by: java.lang.NullPointerException
>               at deployment.uleaf.ear//org.apache.solr.common.cloud.ZkCoreNodeProps.getCoreUrl(ZkCoreNodeProps.java:53)
>               at deployment.uleaf.ear//org.apache.solr.client.solrj.impl.BaseCloudSolrClient.lambda$sendRequest$2(BaseCloudSolrClient.java:1161)
>               at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
>               at deployment.uleaf.ear//org.apache.solr.client.solrj.impl.BaseCloudSolrClient.sendRequest(BaseCloudSolrClient.java:1159)
>               at deployment.uleaf.ear//org.apache.solr.client.solrj.impl.BaseCloudSolrClient.requestWithRetryOnStaleState(BaseCloudSolrClient.java:934)
>               ... 166 more
> {code}
> see: https://lists.apache.org/thread.html/r3d131030f0a7026235451f71fabdae6d6b7c2f955822c75dcad4d41f%40%3Csolr-user.lucene.apache.org%3E



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org