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:31:09 UTC
[GitHub] [shardingsphere] whaon opened a new issue, #24966: get exception when using nacos
whaon opened a new issue, #24966:
URL: https://github.com/apache/shardingsphere/issues/24966


the config in docs is not consistent with the real code
and how do i config a serverLists?
the version is 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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] insist777 commented on issue #24966: get exception when using nacos
Posted by "insist777 (via GitHub)" <gi...@apache.org>.
insist777 commented on issue #24966:
URL: https://github.com/apache/shardingsphere/issues/24966#issuecomment-1493655095
@whaon You can find some basic configuration items for cluster mode on this page.
https://shardingsphere.apache.org/document/5.2.1/en/user-manual/shardingsphere-jdbc/yaml-config/mode/
--
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
Re: [I] get exception when using nacos [shardingsphere]
Posted by "terrymanu (via GitHub)" <gi...@apache.org>.
terrymanu closed issue #24966: get exception when using nacos
URL: https://github.com/apache/shardingsphere/issues/24966
--
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
[GitHub] [shardingsphere] whaon commented on issue #24966: get exception when using nacos
Posted by "whaon (via GitHub)" <gi...@apache.org>.
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