x1ng-z opened a new issue, #38336:
URL: https://github.com/apache/shardingsphere/issues/38336

   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   After upgrading from 5.5.2 to 5.5.3, an exception was thrown as follows
   com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to 
initialize pool: Cannot invoke "Object.toString()" because the return value of 
"java.util.Map.get(Object)" is null
        at 
com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:605)
        at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:592)
        at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:101)
        at 
com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:111)
        at 
org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:160)
        at 
org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:118)
        at 
org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:81)
        at 
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
   
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-JDBC
   
   The config.yaml is showed as follows:
   
   mode:
     type: Cluster
     repository:
       type: ZooKeeper
       props:
         namespace: xx
         server-lists: xxxx
         retryIntervalMilliseconds: 500
         timeToLiveSeconds: 60
         maxRetries: 3
         operationTimeoutMilliseconds: 500
   
   dataSources:
     ds_0:
       dataSourceClassName: com.zaxxer.hikari.HikariDataSource
       driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
       jdbcUrl: jdbc:sqlserver://xxxx
       username: xx
       password: xx
       minimumIdle: 2
       maximumPoolSize: 20
       idleTimeout: 600000
       poolName: HikariCP
       maxLifetime: 1800000
       connectionTimeout: 10000
       connectionTestQuery: SELECT 1
       validationTimeout: 1000
       autoCommit: true
   
   


-- 
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: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to