Solr Index Error

Hi Everyone,

This is a very quick post. I hope everyone is doing well.

Recently, I experienced an issue performing a Full Solr Index.

The Synchronization cron job reported no issues in the Backoffice, but the Full Solr Index failed.

Obviously, an issue existed. The issue, in my case, a category incorrectly pointed to itself in the STAGED Catalog Version.

If  you encounter a similar issue, go to you log files, and search for the following term: SynchronizationPersistenceException
(hopefully you are using Splunk or Kibana)

You should find a similar log entry if a category issue exists:

de.hybris.platform.servicelayer.exceptions.
ModelSavingException: cannot assign supercategory Accessories(8796125855886) as subcategory of [FRP(8796161671310)] - cycle detected\nde.hybris.platform.catalog.SynchronizationPersistenceException: de.hybris.platform.servicelayer.exceptions.ModelSavingException: cannot assign supercategory Accessories(8796125855886) as subcategory of [Accessories(8796161671310)] - cycle detected.

To resolve the issue, go to the Backoffice Category module, and remove the Accessories category relationship from itself.

Thank You,
Marc

 

Marc Raygoza

Marc is the Founder of HybrisArchitect.com.
He enjoys helping others learn more about SAP Commerce Cloud (Hybris). Marc is a SAP Commerce Certified Professional and has held the role of SAP Commerce Cloud Architect at Deloitte, PwC, Brillio (a Bain Company), and Nasty Gal. Marc holds an M.S. Software Engineering from Carnegie Mellon University and a B.S. in Accountancy from California State University, Fresno. He can be reached at: mraygoza@hybrisarchitect.com

You may also like...

Popular Posts