4 weeks ago
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.
Request clarification before answering.
User | Count |
---|---|
7 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.