SAP Knowledge Base Article - Preview

2734534 - Storefront down - de.hybris.platform.servicelayer.exceptions.ModelNotFoundException: catalog [electronicsContentCatalog] Electronics Content Catalog has no active catalog version.

Symptom

As part of maintenance work on the website, the staged catalog for the storefront is marked as active and then revert back to active.

When accessing the storefront after the above changes, the website is not accessible due to a Server Error. The console logs read:

Dec 04, 2018 12:49:54 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [DispatcherServlet] in context with path [/yacceleratorstorefront] threw exception [Error while processing internal filterchain.
Exception occurred at chain position: 5 of 16. Current filter: 'de.hybris.platform.yacceleratorstorefront.filters.cms.CMSSiteFilter@30ba0d21'!;
nested exception is de.hybris.platform.basecommerce.exceptions.BaseSiteActivationException: de.hybris.platform.servicelayer.exceptions.ModelNotFoundException: 
catalog [electronicsContentCatalog] Electronics Content Catalog has no active catalog version.] with root cause
de.hybris.platform.servicelayer.exceptions.ModelNotFoundException: catalog [electronicsContentCatalog] Electronics Content Catalog has no active catalog version.
at de.hybris.platform.basecommerce.strategies.impl.DefaultActivateBaseSiteInSessionStrategy.collectCatalogVersions(DefaultActivateBaseSiteInSessionStrategy.java:84)
at de.hybris.platform.basecommerce.strategies.impl.DefaultActivateBaseSiteInSessionStrategy.activate(DefaultActivateBaseSiteInSessionStrategy.java:59)
at de.hybris.platform.cms2.strategies.impl.DefaultCMSActivateBaseSiteInSessionStrategy.activate(DefaultCMSActivateBaseSiteInSessionStrategy.java:66)
at de.hybris.platform.site.impl.DefaultBaseSiteService.setCurrentBaseSite(DefaultBaseSiteService.java:157)

It is noticed that both the Staged and Online Content Catalog are marked as inactive, despite no manual change being performed on the latter.


Read more...

Environment

Any hybris version.

Product

SAP Commerce 1811 ; SAP Hybris Commerce 1808 ; SAP Hybris Commerce 6.0 ; SAP Hybris Commerce 6.1 ; SAP Hybris Commerce 6.2 ; SAP Hybris Commerce 6.3 ; SAP Hybris Commerce 6.4 ; SAP Hybris Commerce 6.5 ; SAP Hybris Commerce 6.6 ; SAP Hybris Commerce 6.7

Keywords

  • commerce suite
  • catalogversion
  • content management
  • site
  • backoffice
, KBA , CEC-COM-CPS , SAP Commerce , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.