You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
0ce3e7ec6b
Update `SpringBootConfigurationFactory` so that it no longer attempts to get a `LoggingSystem`. The recent `LoggingSystem` update means makes use of the `SpringFactoriesLoader` class to load candidate logging systems. Unfortunately, the `SpringFactoriesLoader` class creates a `Logger` which (when using Log4J2) causes `SpringBootConfigurationFactory` to run. Calling `LoggingSystem.get` from `SpringBootConfigurationFactory` results in a recursive call to `SpringFactoriesLoader` which hasn't yet been fully initialized. We then see an NPE caused by a `null` `cache`. This update removes the call to `LoggingSystem.get` with the assumption that it would never return `null` anyway. Fixes gh-24163 |
4 years ago | |
---|---|---|
.. | ||
spring-boot | 4 years ago | |
spring-boot-actuator | 4 years ago | |
spring-boot-actuator-autoconfigure | 4 years ago | |
spring-boot-autoconfigure | 4 years ago | |
spring-boot-cli | 4 years ago | |
spring-boot-dependencies | 4 years ago | |
spring-boot-devtools | 4 years ago | |
spring-boot-docs | 4 years ago | |
spring-boot-parent | 4 years ago | |
spring-boot-properties-migrator | 4 years ago | |
spring-boot-starters | 4 years ago | |
spring-boot-test | 4 years ago | |
spring-boot-test-autoconfigure | 4 years ago | |
spring-boot-tools | 4 years ago |