Skip to Content

Preview URL for category and product pages in CMS Cockpit throw 404

New to CMS cockpit.

In CMS Cockpit, I am able to access the preview URLs for content page but for product and category pages, it throws 404 error.. PFB the error log

INFO | jvm 1 | main | 2019/02/04 09:06:21.138 | 2019-02-04 09:06:21,108 ERROR () () [BaseUICockpitPerspective] Could not dispatch cockpit event 'CmsNavigationEvent[source='de.hybris.platform.cmscockpit.session.impl.CmsCockpitPerspective@37a0339f']'. INFO | jvm 1 | main | 2019/02/04 09:06:21.138 | java.lang.NullPointerException: null INFO | jvm 1 | main | 2019/02/04 09:06:21.138 | at de.hybris.platform.cmscockpit.components.sectionpanel.LiveCatalogVersionSectionSelectorSection.getItems(LiveCatalogVersionSectionSelectorSection.java:97) ~[cmscockpitserver.jar:?] INFO | jvm 1 | main | 2019/02/04 09:06:21.138 | at de.hybris.platform.cmscockpit.components.sectionpanel.LiveCatalogVersionSectionSelectorSection.setSelectedItem(LiveCatalogVersionSectionSelectorSection.java:188) ~[cmscockpitserver.jar:?] INFO | jvm 1 | main | 2019/02/04 09:06:21.138 | at de.hybris.platform.cmscockpit.components.sectionpanel.LiveCatalogVersionSectionSelectorSection.onCockpitEvent(LiveCatalogVersionSectionSelectorSection.java:134) ~[cmscockpitserver.jar:?] INFO | jvm 1 | main | 2019/02/04 09:06:21.138 | at de.hybris.platform.btgcockpit.components.sectionpanel.BTGLiveSiteSelectorSection.onCockpitEvent(BTGLiveSiteSelectorSection.java:67) ~[btgcockpitserver.jar:?] INFO | jvm 1 | main | 2019/02/04 09:06:21.138 | at de.hybris.platform.cmscockpit.session.impl.LiveEditNavigationArea.onCockpitEvent(LiveEditNavigationArea.java:66) ~[cmscockpitserver.jar:?] INFO | jvm 1 | main | 2019/02/04 09:06:21.138 | at de.hybris.platform.cockpit.session.impl.BaseUICockpitPerspective.onCockpitEvent(BaseUICockpitPerspective.java:847) [cockpitserver.jar:?] INFO | jvm 1 | main | 2019/02/04 09:06:21.138 | at de.hybris.platform.cockpit.session.impl.UISessionImpl$1.onEvent(UISessionImpl.java:131) [cockpitserver.jar:?] INFO | jvm 1 | main | 2019/02/04 09:06:21.138 | at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:197) [zk-3.6.4-hybris-patched.jar:3.6.4] INFO | jvm 1 | main | 2019/02/04 09:06:21.138 | at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:141) [zk-3.6.4-hybris-patched.jar:3.6.4] INFO | jvm 1 | main | 2019/02/04 09:06:21.138 | at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(EventProcessingThreadImpl.java:519) [zk-3.6.4-hybris-patched.jar:3.6.4] INFO | jvm 1 | main | 2019/02/04 09:06:21.138 | at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(EventProcessingThreadImpl.java:446) [zk-3.6.4-hybris-patched.jar:3.6.4]

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 05, 2019 at 01:41 PM

    As you mentioned in your comment, you may be lacking the default preview category/product settings. This can be any product and category you choose from your product catalogue. You can set it via impex that you indicated or even through backoffice by configuring the CMSSite item.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.