zwZjut opened a new issue #6998: URL: https://github.com/apache/dolphinscheduler/issues/6998
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened 7:15:14.812 [main] ERROR org.apache.dolphinscheduler.dao.datasource.ConnectionFactory - Initializing ConnectionFactory error java.lang.IllegalArgumentException: Parameter 'dataSource' must not be null at org.apache.ibatis.mapping.Environment.<init>(Environment.java:39) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.getSqlSessionFactory(ConnectionFactory.java:92) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.<init>(ConnectionFactory.java:57) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.<init>(ConnectionFactory.java:43) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory$ConnectionFactoryHolder.<clinit>(ConnectionFactory.java:48) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.getInstance(ConnectionFactory.java:52) at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.getDataSource(UpgradeDao.java:82) at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.<clinit>(UpgradeDao.java:78) at org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.initUpgradeDao(DolphinSchedulerManager.java:39) at org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.<init>(DolphinSchedulerManager.java:59) at org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler.main(CreateDolphinScheduler.java:37) Exception in thread "main" java.lang.ExceptionInInitializerError at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.getInstance(ConnectionFactory.java:52) at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.getDataSource(UpgradeDao.java:82) at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.<clinit>(UpgradeDao.java:78) at org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.initUpgradeDao(DolphinSchedulerManager.java:39) at org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.<init>(DolphinSchedulerManager.java:59) at org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler.main(CreateDolphinScheduler.java:37) Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Parameter 'dataSource' must not be null at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.<init>(ConnectionFactory.java:61) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.<init>(ConnectionFactory.java:43) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory$ConnectionFactoryHolder.<clinit>(ConnectionFactory.java:48) ... 6 more Caused by: java.lang.IllegalArgumentException: Parameter 'dataSource' must not be null at org.apache.ibatis.mapping.Environment.<init>(Environment.java:39) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.getSqlSessionFactory(ConnectionFactory.java:92) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.<init>(ConnectionFactory.java:57) ... 8 more ### What you expected to happen api start normally ### How to reproduce 7:15:14.812 [main] ERROR org.apache.dolphinscheduler.dao.datasource.ConnectionFactory - Initializing ConnectionFactory error java.lang.IllegalArgumentException: Parameter 'dataSource' must not be null at org.apache.ibatis.mapping.Environment.<init>(Environment.java:39) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.getSqlSessionFactory(ConnectionFactory.java:92) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.<init>(ConnectionFactory.java:57) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.<init>(ConnectionFactory.java:43) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory$ConnectionFactoryHolder.<clinit>(ConnectionFactory.java:48) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.getInstance(ConnectionFactory.java:52) at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.getDataSource(UpgradeDao.java:82) at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.<clinit>(UpgradeDao.java:78) at org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.initUpgradeDao(DolphinSchedulerManager.java:39) at org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.<init>(DolphinSchedulerManager.java:59) at org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler.main(CreateDolphinScheduler.java:37) Exception in thread "main" java.lang.ExceptionInInitializerError at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.getInstance(ConnectionFactory.java:52) at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.getDataSource(UpgradeDao.java:82) at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.<clinit>(UpgradeDao.java:78) at org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.initUpgradeDao(DolphinSchedulerManager.java:39) at org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.<init>(DolphinSchedulerManager.java:59) at org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler.main(CreateDolphinScheduler.java:37) Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Parameter 'dataSource' must not be null at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.<init>(ConnectionFactory.java:61) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.<init>(ConnectionFactory.java:43) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory$ConnectionFactoryHolder.<clinit>(ConnectionFactory.java:48) ... 6 more Caused by: java.lang.IllegalArgumentException: Parameter 'dataSource' must not be null at org.apache.ibatis.mapping.Environment.<init>(Environment.java:39) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.getSqlSessionFactory(ConnectionFactory.java:92) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.<init>(ConnectionFactory.java:57) ... 8 more ### Anything else 7:15:14.812 [main] ERROR org.apache.dolphinscheduler.dao.datasource.ConnectionFactory - Initializing ConnectionFactory error java.lang.IllegalArgumentException: Parameter 'dataSource' must not be null at org.apache.ibatis.mapping.Environment.<init>(Environment.java:39) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.getSqlSessionFactory(ConnectionFactory.java:92) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.<init>(ConnectionFactory.java:57) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.<init>(ConnectionFactory.java:43) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory$ConnectionFactoryHolder.<clinit>(ConnectionFactory.java:48) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.getInstance(ConnectionFactory.java:52) at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.getDataSource(UpgradeDao.java:82) at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.<clinit>(UpgradeDao.java:78) at org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.initUpgradeDao(DolphinSchedulerManager.java:39) at org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.<init>(DolphinSchedulerManager.java:59) at org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler.main(CreateDolphinScheduler.java:37) Exception in thread "main" java.lang.ExceptionInInitializerError at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.getInstance(ConnectionFactory.java:52) at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.getDataSource(UpgradeDao.java:82) at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.<clinit>(UpgradeDao.java:78) at org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.initUpgradeDao(DolphinSchedulerManager.java:39) at org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.<init>(DolphinSchedulerManager.java:59) at org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler.main(CreateDolphinScheduler.java:37) Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Parameter 'dataSource' must not be null at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.<init>(ConnectionFactory.java:61) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.<init>(ConnectionFactory.java:43) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory$ConnectionFactoryHolder.<clinit>(ConnectionFactory.java:48) ... 6 more Caused by: java.lang.IllegalArgumentException: Parameter 'dataSource' must not be null at org.apache.ibatis.mapping.Environment.<init>(Environment.java:39) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.getSqlSessionFactory(ConnectionFactory.java:92) at org.apache.dolphinscheduler.dao.datasource.ConnectionFactory.<init>(ConnectionFactory.java:57) ... 8 more ### Version dev ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
