Skip to Content
4
Oct 08, 2019 at 10:17 PM

server startup on 1905 : CatalogVersion with catalogId '_boconfig' and version 'hidden' not found

2622 Views

I am working on upgrading to 1905 from 1808. The code is compiling with my custom code but it is displaying below error while server startup.

[ContextLoader] ERROR Context initialization failed de.hybris.platform.servicelayer.exceptions.UnknownIdentifierException: CatalogVersion with catalogId '_boconfig' and version 'hidden' not found! at de.hybris.platform.servicelayer.util.ServicesUtil.validateSingleResultWithType(ServicesUtil.java:75) at de.hybris.platform.servicelayer.util.ServicesUtil.validateIfSingleResult(ServicesUtil.java:41) at de.hybris.platform.catalog.impl.DefaultCatalogVersionService.getCatalogVersion(DefaultCatalogVersionService.java:112) at com.hybris.backoffice.config.impl.DefaultBackofficeConfigurationMediaHelper$2.execute(DefaultBackofficeConfigurationMediaHelper.java:158) at de.hybris.platform.servicelayer.session.impl.DefaultSessionService.executeInLocalView(DefaultSessionService.java:131) at com.hybris.backoffice.config.impl.DefaultBackofficeConfigurationMediaHelper.findBackofficeMediaCatalog(DefaultBackofficeConfigurationMediaHelper.java:153) at com.hybris.backoffice.config.impl.DefaultBackofficeConfigurationMediaHelper.createWidgetsConfigMedia(DefaultBackofficeConfigurationMediaHelper.java:124) at com.hybris.backoffice.config.impl.DefaultBackofficeConfigurationMediaHelper.findOrCreateWidgetsConfigMedia(DefaultBackofficeConfigurationMediaHelper.java:62) at com.hybris.backoffice.config.impl.DefaultBackofficeConfigurationMediaHelper.findOrCreateWidgetsConfigMedia(DefaultBackofficeConfigurationMediaHelper.java:78) at com.hybris.backoffice.config.impl.DefaultMediaCockpitConfigurationPersistenceStrategy.getCockpitNGConfig(DefaultMediaCockpitConfigurationPersistenceStrategy.java:165) at com.hybris.backoffice.config.impl.DefaultMediaCockpitConfigurationPersistenceStrategy.getLastModification(DefaultMediaCockpitConfigurationPersistenceStrategy.java:182) at com.hybris.cockpitng.core.config.impl.DefaultCockpitConfigurationService.getLastModification(DefaultCockpitConfigurationService.java:1708) at com.hybris.cockpitng.core.config.impl.DefaultCockpitConfigurationService.isRootConfigurationCacheValid(DefaultCockpitConfigurationService.java:279) at com.hybris.cockpitng.core.config.impl.DefaultCockpitConfigurationService.getRootConfig(DefaultCockpitConfigurationService.java:146) at com.hybris.cockpitng.core.config.impl.DefaultCockpitConfigurationService.loadRootConfiguration(DefaultCockpitConfigurationService.java:550) at com.hybris.backoffice.cockpitng.modules.BackofficeLibraryHandler.initialize(BackofficeLibraryHandler.java:185) at com.hybris.cockpitng.modules.core.impl.CockpitModuleComponentDefinitionService.lambda$doInitialize$5(CockpitModuleComponentDefinitionService.java:104) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) at com.hybris.cockpitng.modules.core.impl.CockpitModuleComponentDefinitionService.doInitialize(CockpitModuleComponentDefinitionService.java:104) at com.hybris.cockpitng.modules.core.impl.CockpitModuleComponentDefinitionService.fetchExternalWidgets(CockpitModuleComponentDefinitionService.java:88) at com.hybris.cockpitng.modules.core.impl.CockpitModuleComponentDefinitionService.onApplicationEvent(CockpitModuleComponentDefinitionService.java:66) at com.hybris.cockpitng.modules.core.impl.CockpitModuleComponentDefinitionService.onApplicationEvent(CockpitModuleComponentDefinitionService.java:39) 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.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:402) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:359) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:896) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:400) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291) at de.hybris.platform.spring.HybrisContextLoaderListener.doInitWebApplicationContext(HybrisContextLoaderListener.java:226) at de.hybris.platform.spring.HybrisContextLoaderListener.initWebApplicationContext(HybrisContextLoaderListener.java:199) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103) at de.hybris.platform.spring.HybrisContextLoaderListener.contextInitialized(HybrisContextLoaderListener.java:95) at com.hybris.backoffice.BackofficeApplicationContextInitializer.contextInitialized(BackofficeApplicationContextInitializer.java:105) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4770) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5236) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1423) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1413) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)

"_boconfig" is mentioned in "essentialdataBackofficeMediaCatalog.impex" which is an out of the box code which should work fine.

Any help would be greatly appreciated.