使用如上连接抛出java.lang.NullPointerException
看源码是因为com.itmuch.redis.jdbc.conf.RedisClusterConnectionInfo#RedisClusterConnectionInfo(java.lang.String, java.util.Properties) Line 34获取了uri的query参数,然而示例并无query参数,导致35行parseQueryStringToMap抛出NullPointerException
jdbc:redis-cluster:///xxx.xx.xxx.xx:26379;xx.xx.xxx.xx:26379;xx.xx.xxx.xx:26379 password: xxxxx
使用如上连接抛出java.lang.NullPointerException 看源码是因为com.itmuch.redis.jdbc.conf.RedisClusterConnectionInfo#RedisClusterConnectionInfo(java.lang.String, java.util.Properties) Line 34获取了uri的query参数,然而示例并无query参数,导致35行parseQueryStringToMap抛出NullPointerException
thanks