Source:
<code>public void onApplicationEvent(ContextRefreshedEvent contextRefreshedEvent) { if (!isRootApplicationContext(contextRefreshedEvent.getApplicationContext())) { return; } try { <START> dependencyMaterialUpdateNotifier.initialize(); <END> defaultPluginJarLocationMonitor.initialize(); pluginsInitializer.initialize(); pluginsZip.create(); configCipherUpdater.migrate(); configElementImplementationRegistrar.initialize(); configRepository.initialize(); goFileConfigDataSource.upgradeIfNecessary(); cachedGoConfig.loadConfigIfNull(); goConfigService.initialize(); entityHashingService.initialize(); artifactsDirHolder.initialize(); artifactsService.initialize(); consoleService.initialize(); environmentConfigService.initialize(); oauthTokenSweeper.initialize(); invalidConfigMessageRemover.initialize(); ldapContextFactory.initialize(); agentService.initialize(); pipelineLockService.initialize(); buildAssignmentService.initialize(); pipelineScheduler.initialize(); removeAdminPermissionFilter.initialize(); pipelineTimeline.updateTimelineOnInit(); pipelineSqlMapDao.initialize(); commandRepositoryInitializer.initialize(); consoleActivityMonitor.populateActivityMap(); timerScheduler.initialize(); stageResourceImporter.initialize(); goCasServiceProperties.initialize(); goDiskSpaceMonitor.initialize(); backupService.initialize(); railsAssetsService.initialize(); ccTrayActivityListener.initialize(); ServletHelper.init(); Toggles.initializeWith(featureToggleService); serverVersionInfoManager.initialize(); scmMaterialSource.initialize(); } catch (Throwable throwable) { throw new RuntimeException(throwable); } }</code><technical_language>looked rest, this a problem. This config load happen (because of goConfigServer.register(this)) in this initialize(), mess order of rest of stuff. approach separate register [callback registering listener](<LINK_0> a call notifyListeners end of ApplicationInitializer help</technical_language>

Target:
public void onApplicationEvent(ContextRefreshedEvent contextRefreshedEvent) { if (!isRootApplicationContext(contextRefreshedEvent.getApplicationContext())) { return; } try { defaultPluginJarLocationMonitor.initialize(); pluginsInitializer.initialize(); pluginsZip.create(); configCipherUpdater.migrate(); configElementImplementationRegistrar.initialize(); configRepository.initialize(); goFileConfigDataSource.upgradeIfNecessary(); cachedGoConfig.loadConfigIfNull(); goConfigService.initialize(); entityHashingService.initialize(); artifactsDirHolder.initialize(); artifactsService.initialize(); consoleService.initialize(); environmentConfigService.initialize(); oauthTokenSweeper.initialize(); invalidConfigMessageRemover.initialize(); ldapContextFactory.initialize(); agentService.initialize(); pipelineLockService.initialize(); buildAssignmentService.initialize(); materialUpdateService.initialize(); pipelineScheduler.initialize(); removeAdminPermissionFilter.initialize(); pipelineTimeline.updateTimelineOnInit(); pipelineSqlMapDao.initialize(); commandRepositoryInitializer.initialize(); consoleActivityMonitor.populateActivityMap(); timerScheduler.initialize(); stageResourceImporter.initialize(); goCasServiceProperties.initialize(); goDiskSpaceMonitor.initialize(); backupService.initialize(); railsAssetsService.initialize(); ccTrayActivityListener.initialize(); ServletHelper.init(); Toggles.initializeWith(featureToggleService); serverVersionInfoManager.initialize(); dependencyMaterialUpdateNotifier.initialize(); scmMaterialSource.initialize(); } catch (Throwable throwable) { throw new RuntimeException(throwable); } }