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

Sebastian commented on SOLR-16152:
----------------------------------

Thank you for the attention.
A helpful error message, like [~janhoy] said, would be also awesome.




 

> Solr Standalone: bin/solr package fails with NullPointerException
> -----------------------------------------------------------------
>
>                 Key: SOLR-16152
>                 URL: https://issues.apache.org/jira/browse/SOLR-16152
>             Project: Solr
>          Issue Type: Bug
>          Components: Package Manager
>    Affects Versions: 8.11.1
>            Reporter: Sebastian
>            Priority: Blocker
>
> Basic standalone installation as service on rocky linux
> Package Manager is not usable
> *bin/solr package list-available* fails with *NullPointerException: Cannot 
> invoke "String.indexOf(int)" because "connectString" is null*
> {code:java}
> [root@search:/opt/solr]# /opt/solr/bin/solr package list-available
> neither jattach nor jstack in 
> /usr/lib/jvm/java-17-openjdk-17.0.2.0.8-4.el8_5.x86_64/ could be found, so no 
> thread dumps are possible. Continuing.
> org.apache.solr.common.SolrException: java.lang.NullPointerException: Cannot 
> invoke "String.indexOf(int)" because "connectString" is null
>     at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:182)
>     at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:119)
>     at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:114)
>     at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:101)
>     at 
> org.apache.solr.packagemanager.PackageManager.<init>(PackageManager.java:85)
>     at org.apache.solr.util.PackageTool.runImpl(PackageTool.java:85)
>     at org.apache.solr.util.SolrCLI$ToolBase.runTool(SolrCLI.java:196)
>     at org.apache.solr.util.SolrCLI.main(SolrCLI.java:310)
> Caused by: java.lang.NullPointerException: Cannot invoke 
> "String.indexOf(int)" because "connectString" is null
>     at 
> org.apache.zookeeper.client.ConnectStringParser.<init>(ConnectStringParser.java:54)
>     at 
> org.apache.zookeeper.ZooKeeper.createDefaultHostProvider(ZooKeeper.java:1515)
>     at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:1108)
>     at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:818)
>     at 
> org.apache.solr.common.cloud.SolrZooKeeper.<init>(SolrZooKeeper.java:44)
>     at 
> org.apache.solr.common.cloud.ZkClientConnectionStrategy.createSolrZooKeeper(ZkClientConnectionStrategy.java:109)
>     at 
> org.apache.solr.common.cloud.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:37)
>     at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:160)
>     ... 7 moreERROR: java.lang.NullPointerException: Cannot invoke 
> "String.indexOf(int)" because "connectString" is null {code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to