404 Error while creating the HTML document type in hippo

#1

I created a new html-document type and made the required changes for that. Document is getting created and I can edit it too. But the problem is when I click on “View” Button it is giving me 404 error.

[INFO] [talledLocalContainer] 09.04.2019 14:13:18 ERROR http-nio-7001-exec-10 [CharacteristicImpl.evaluate:75] No average for targetGroupId ‘cityarlington-1516634819423’ avaiable.
[INFO] [talledLocalContainer] 09.04.2019 14:13:18 WARN http-nio-7001-exec-10 [HstComponentInvokerImpl.invokeBeforeRender:158] Component exception caught on window body with component com.gartner.hippo.intranet.components.Set404Component: org.hippoecm.hst.configuration.hosting.NotFoundException: PathInfo ‘test’ could not be matched at org.hippoecm.hst.site.request.BasicHstSiteMapMatcher.match(BasicHstSiteMapMatcher.java:141)
[INFO] [talledLocalContainer] 09.04.2019 14:13:18 WARN http-nio-7001-exec-10 [EssentialsMenuComponent.doBeforeRender:52] Invalid site menu is selected within EssentialsMenuComponent: gbsheadermenu
[INFO] [talledLocalContainer] 09.04.2019 14:13:19 WARN http-nio-7001-exec-10 [AbstractBaseOrderableValve.handleComponentExceptions:299] Component exception(s) found in page request, ‘Request{ method=‘GET’, scheme=‘http’, host=‘localhost.gartner.com:7001’, requestURI=’/_cmsinternal/gcs/test/2018/wetest.html’, queryString=‘null’}’.
[INFO] [talledLocalContainer] 09.04.2019 14:13:19 WARN http-nio-7001-exec-10 [DefaultPageErrorHandler.logWarningsForEachComponentExceptions:51] Component exception on com.gartner.hippo.intranet.components.Set404Component : org.hippoecm.hst.configuration.hosting.NotFoundException: PathInfo ‘test’ could not be matched
[INFO] [talledLocalContainer] 09.04.2019 14:13:20 WARN http-nio-7001-exec-10 [HstCmsEditMenuTag.doEndTag:67] Cannot create a cms edit menu because no menu present
[INFO] [talledLocalContainer] 09.04.2019 14:13:20 WARN http-nio-7001-exec-4 [HstSiteMapItemService.:382] Invalid hst:componentconfigurationid ‘hst:abstractpages/absoluteheader’ for ‘/hst:hst/hst:configurations/resources/hst:sitemap/_absoluteheader’ because a sitemap item should not reference an abstract page.
[INFO] [talledLocalContainer] 09.04.2019 14:13:21 ERROR http-nio-7001-exec-3 [CharacteristicImpl.evaluate:75] No average for targetGroupId ‘ctryit-1511900839554’ avaiable.
[INFO] [talledLocalContainer] 09.04.2019 14:13:21 ERROR http-nio-7001-exec-3 [CharacteristicImpl.evaluate:75] No average for targetGroupId ‘cityarlington-1516634819423’ avaiable.
[INFO] [talledLocalContainer] 09.04.2019 14:13:21 WARN http-nio-7001-exec-3 [HstComponentInvokerImpl.invokeBeforeRender:158] Component exception caught on window body with component com.gartner.hippo.intranet.components.Set404Component: org.hippoecm.hst.configuration.hosting.NotFoundException: PathInfo ‘test’ could not be matched at org.hippoecm.hst.site.request.BasicHstSiteMapMatcher.match(BasicHstSiteMapMatcher.java:141)
[INFO] [talledLocalContainer] 09.04.2019 14:13:21 WARN http-nio-7001-exec-3 [EssentialsMenuComponent.doBeforeRender:52] Invalid site menu is selected within EssentialsMenuComponent: gbsheadermenu
[INFO] [talledLocalContainer] 09.04.2019 14:13:21 WARN http-nio-7001-exec-3 [AbstractBaseOrderableValve.handleComponentExceptions:299] Component exception(s) found in page request, ‘Request{ method=‘HEAD’, scheme=‘http’, host=‘localhost.gartner.com:7001’, requestURI=’/_cmsinternal/gcs/test/2018/wetest.html’, queryString=‘null’}’.
[INFO] [talledLocalContainer] 09.04.2019 14:13:21 WARN http-nio-7001-exec-3 [DefaultPageErrorHandler.logWarningsForEachComponentExceptions:51] Component exception on com.gartner.hippo.intranet.components.Set404Component : org.hippoecm.hst.configuration.hosting.NotFoundException: PathInfo ‘test’ could not be matched
[INFO] [talledLocalContainer] 09.04.2019 14:13:21 WARN http-nio-7001-exec-3 [HstCmsEditMenuTag.doEndTag:67] Cannot create a cms edit menu because no menu present
[INFO] [talledLocalContainer] 09.04.2019 14:13:24 ERROR pool-9-thread-1 [LdapUtil.populateLdapUsersForAllGroups:342] Loading ldap users for group: [DL User Experience & Design Staff]
[INFO] [talledLocalContainer] 09.04.2019 14:13:24 INFO pool-9-thread-1 [LdapUtil.populateLdapGroup:174] Search filter is: (displayName=DL User Experience & Design Staff)

#2

There’s quit some information in the stack trace to go on… “PathInfo ‘test’ could not be matched” means there’s something in the site map configuration to be checked.
And your own Set404Component does the 404.

Jeroen