SAP Knowledge Base Article - Preview

3733836 - Error: "Cannot invoke Catalog.getId() because CatalogVersion.getCatalog() is null" when using Export in Backoffice

Symptom

An unexpected error occurs when using the ImpEx Export functionality in Backoffice. When the async option is clicked, the job does not run and its status remains "NEW". The following error is observed in the logs:

Import has caused an error, see logs of cronjob with code={{cronjob-code}} for further details.

Further inspection of the cronjob logs reveals:

Could not start own session due to Cannot invoke "de.hybris.platform.catalog.jalo.Catalog.getId()" because the return value of "de.hybris.platform.catalog.jalo.CatalogVersion.getCatalog()" is null.

The issue does not occur when the same ImpEx script is executed via HAC export.


Read more...

Environment

  • SAP Commerce Cloud
  • SAP Commerce

Product

SAP Commerce Cloud all versions

Keywords

Backoffice, export, async, cronjob, NEW, ImpEx, catalogversion, catalog, null, DefaultCronJobService, ImpExManager, session, dirty data , KBA , CEC-SCC-CDM-BO-APP , Applications , Problem

About this page

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

Search for additional results

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