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 Hybris Commerce. Marc is a SAP Commerce Certified Professional and has held the role of Hybris Architect at Deloitte, PWC, Exemplis and Nasty Gal. He is a long-time Java/Spring developer. 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: info@hybrisarchitect.com

You may also like...

Popular Posts

Leave a Reply

Your email address will not be published. Required fields are marked *