cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Getting error "CMSItemNotFoundException: No page with id [notFound] found"

bidyadhar_tripathy
Participant
0 Likes
2,839

Hi All,

When I am opening home or product detail page, then page is loading correctly but I am seeing below error in hybris console whenever I am opening any one of the pages. I debugged the method "DefaultCMSPageService.getPageForId" but I am not seeing any issues with homepagecontroller or custom product page controller.

Anyone please help me on this issue.

 Apr 19, 2019 11:06:23 AM org.apache.catalina.core.StandardWrapperValve invoke
 SEVERE: Servlet.service() for servlet [DispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is de.hybris.platform.cms2.exceptions.CMSItemNotFoundException: No page with id [notFound] found.] with root cause
 de.hybris.platform.cms2.exceptions.CMSItemNotFoundException: No page with id [notFound] found.
         at de.hybris.platform.cms2.servicelayer.services.impl.DefaultCMSPageService.getPageForId(DefaultCMSPageService.java:556)
         at de.hybris.platform.cms2.servicelayer.services.impl.DefaultCMSPageService.getPageForLabelOrId(DefaultCMSPageService.java:609)
         at de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractPageController.getContentPageForLabelOrId(AbstractPageController.java:339)
         at com.rockwell.storefront.controllers.pages.DefaultPageController.get(DefaultPageController.java:68)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:498)
         at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
         at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
         at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
         at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
         at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
         at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
         at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
         at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
         at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:301)


Accepted Solutions (0)

Answers (1)

Answers (1)

Huskar
Participant
0 Likes

You don't have a cms page with id notFound.