marker-wu commented on issue #13632:
URL: 
https://github.com/apache/shardingsphere/issues/13632#issuecomment-971366132


   > I reproduced this exception in `StandardJDBCDataSourceConfigurationTest`, 
new lines is added in `config_standard_jdbc_target.yaml`:
   > 
   > ```
   > schema: null
   > driverClassName: null
   > ```
   > 
   > Caused exception:
   > 
   > ```
   > Caused by: java.lang.NullPointerException
   >    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
   >    at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
   >    at 
com.zaxxer.hikari.HikariConfig.attemptFromContextLoader(HikariConfig.java:899)
   >    at 
com.zaxxer.hikari.HikariConfig.setDriverClassName(HikariConfig.java:474)
   >    ... 38 more
   > ```
   > 
   > It's caused by `driverClassName` null value.
   > 
   > But I didn't find this case before and don't know why there's 
`driverClassName: null` in ZK.
   
   
![image](https://user-images.githubusercontent.com/45256940/142167927-5f860d2c-48d1-4563-9171-7e8972fd5884.png)
   I added the handling of the driveClassName attribute, and now it runs 
normally
   
![image](https://user-images.githubusercontent.com/45256940/142168259-14534a69-6b07-4853-8f8f-175d3f154d6d.png)
   


-- 
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