You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "whaon (via GitHub)" <gi...@apache.org> on 2023/04/03 02:36:10 UTC
[GitHub] [shardingsphere] whaon commented on issue #24966: get exception when using nacos
whaon commented on issue #24966:
URL: https://github.com/apache/shardingsphere/issues/24966#issuecomment-1493553023
got exception below
`java.lang.NullPointerException: null
at java.util.Hashtable.put(Hashtable.java:460) ~[?:1.8.0_261]
at java.util.Properties.setProperty(Properties.java:166) ~[?:1.8.0_261]
at org.apache.shardingsphere.mode.repository.cluster.nacos.NacosRepository.createClient(NacosRepository.java:111) ~[shardingsphere-cluster-mode-repository-nacos-5.2.1.jar:5.2.1]
at org.apache.shardingsphere.mode.repository.cluster.nacos.NacosRepository.init(NacosRepository.java:74) ~[shardingsphere-cluster-mode-repository-nacos-5.2.1.jar:5.2.1]
at org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepositoryFactory.getInstance(ClusterPersistRepositoryFactory.java:45) ~[shardingsphere-cluster-mode-repository-api-5.2.1.jar:5.2.1]
at org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.build(ClusterContextManagerBuilder.java:49) ~[shardingsphere-cluster-mode-core-5.2.1.jar:5.2.1]
at org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource.createContextManager(ShardingSphereDataSource.java:76) ~[shardingsphere-jdbc-core-5.2.1.jar:5.2.1]
at org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource.<init>(ShardingSphereDataSource.java:64) ~[shardingsphere-jdbc-core-5.2.1.jar:5.2.1]
at org.apache.shardingsphere.driver.api.ShardingSphereDataSourceFactory.createDataSource(ShardingSphereDataSourceFactory.java:93) ~[shardingsphere-jdbc-core-5.2.1.jar:5.2.1]
at org.apache.shardingsphere.driver.api.yaml.YamlShardingSphereDataSourceFactory.createDataSource(YamlShardingSphereDataSourceFactory.java:133) ~[shardingsphere-jdbc-core-5.2.1.jar:5.2.1]
at org.apache.shardingsphere.driver.api.yaml.YamlShardingSphereDataSourceFactory.createDataSource(YamlShardingSphereDataSourceFactory.java:75) ~[shardingsphere-jdbc-core-5.2.1.jar:5.2.1]
`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org