In 2.4.0-SNAPSHOTS this is all that gets printed to the console. Looks like the deferred logging never makes an appearance.
19:26:16.227 [main] DEBUG org.springframework.boot.context.logging.ClasspathLoggingApplicationListener - Application failed to start with classpath: unknown
19:26:16.229 [main] ERROR org.springframework.boot.SpringApplication - Application run failed
java.lang.NullPointerException: null
at org.springframework.boot.context.config.ConfigDataEnvironmentContributors.lambda$asContributors$1(ConfigDataEnvironmentContributors.java:124)
at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:684)
at java.base/java.util.Collections$UnmodifiableMap.forEach(Collections.java:1505)
at org.springframework.boot.context.config.ConfigDataEnvironmentContributors.asContributors(ConfigDataEnvironmentContributors.java:123)
at org.springframework.boot.context.config.ConfigDataEnvironmentContributors.withProcessedImports(ConfigDataEnvironmentContributors.java:103)
at org.springframework.boot.context.config.ConfigDataEnvironment.processWithProfiles(ConfigDataEnvironment.java:224)
at org.springframework.boot.context.config.ConfigDataEnvironment.processAndApply(ConfigDataEnvironment.java:175)
at org.springframework.boot.context.config.ConfigDataEnvironmentPostProcessor.addPropertySources(ConfigDataEnvironmentPostProcessor.java:72)
at org.springframework.boot.context.config.ConfigDataEnvironmentPostProcessor.postProcessEnvironment(ConfigDataEnvironmentPostProcessor.java:64)
at org.springframework.boot.env.EnvironmentPostProcessorApplicationListener.onApplicationEnvironmentPreparedEvent(EnvironmentPostProcessorApplicationListener.java:96)
at org.springframework.boot.env.EnvironmentPostProcessorApplicationListener.onApplicationEvent(EnvironmentPostProcessorApplicationListener.java:85)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127)
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:80)
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:53)
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:352)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1259)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248)
at com.example.democonfigclientconfigdata.DemoconfigclientconfigdataApplication.main(DemoconfigclientconfigdataApplication.java:10)
Comment From: philwebb
@spencergibb Do you have some code that replicates this? The codes moved on now so I can't tell from the attach stacktrace what broke.
Comment From: spencergibb
I'll have to see if I can recreate it. It was fairly early on
Comment From: spring-projects-issues
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Comment From: spencergibb
I don't think I can replicate it anymore
Comment From: snicoll
Thanks for letting us know @spencergibb