cancel
Showing results for 
Search instead for 
Did you mean: 

Getting 500 when opening page in Smartedit

Huskar
Participant
0 Kudos
80

When I am opening any page in smartedit, I am getting either 500 or 404. This is the error log for it

java.lang.IllegalArgumentException: Value is instanceof Collection but cannot be empty collection for key: catalogVersions
at de.hybris.platform.servicelayer.search.FlexibleSearchQuery.addQueryParameters(FlexibleSearchQuery.java:170) ~[coreserver.jar:?]
at de.hybris.platform.servicelayer.search.impl.DefaultFlexibleSearchService.search(DefaultFlexibleSearchService.java:322) ~[coreserver.jar:?]
at de.hybris.platform.servicelayer.internal.dao.AbstractItemDao.search(AbstractItemDao.java:61) ~[coreserver.jar:?]
at de.hybris.platform.cms2.servicelayer.daos.impl.DefaultCMSPageDao.findPagesByLabelsAndPageStatuses(DefaultCMSPageDao.java:95) ~[cms2server.jar:?]

 

I have debuged it and found when code flows to this location - 

de.hybris.platform.basecommerce.strategies.impl.DefaultActivateBaseSiteInSessionStrategy#collectContentCatalogs

I am not getting current catalog here. My base site has two base store associated and each store has two catalog. While doing baseStore.getCatalogs(), first baseStore is returning two catalog but second base store is returning only one catalog instead of two.

Any idea what might be the issue here? I am stuck and not able to find the solution for it.

Accepted Solutions (0)

Answers (0)