Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-2341

Testsuite: Sites generation / reloading leads to errors

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • 2.25.05
    • 2.25.05
    • None
    • None

    Description

      To reproduce:

      • Run testsuite locally
      • Add the following line to your hosts file (/etc/hosts on linux):
        127.0.0.1 com.localhost
      • Go to http://com.localhost:8080/site/sites
      • Click "Add 1 new site" or "add 1 New Site - Sitemap, Sitemenu only"

      Expected: Site generation without errors
      Actual: The following errors occur in the console, besides a "server error" message in the browser.

      [INFO] [talledLocalContainer] 2012-11-06 09:28:14,080 WARN [http-8080-3] [org.hippoecm.hst.configuration.model.HstSiteRootNodeImpl.<init>():48] '{}' is using deprecated property '{}'. Please remove this property and make sure the hst:site has the same name as the hst:configuration node (minus the version info in that name)
      [INFO] [talledLocalContainer] 2012-11-06 09:28:14,089 WARN [http-8080-3] [org.hippoecm.hst.container.HstFilter.doFilter():457] Fatal error encountered while processing request '/site/sites':
      [INFO] [talledLocalContainer] java.lang.IllegalStateException: Unexpected nodetype 'hippo:facetselect' for '/hst:hst/hst:sites/demosite-test-many1/hst:content'. Can only load nodes of type 'hst:site' for sites.
      [INFO] [talledLocalContainer] at org.hippoecm.hst.configuration.model.HstManagerImpl.buildSites(HstManagerImpl.java:409)
      [INFO] [talledLocalContainer] at org.hippoecm.hst.configuration.model.HstManagerImpl.getVirtualHosts(HstManagerImpl.java:288)
      [INFO] [talledLocalContainer] at org.hippoecm.hst.container.HstFilter.doFilter(HstFilter.java:289)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      [INFO] [talledLocalContainer] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      [INFO] [talledLocalContainer] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      [INFO] [talledLocalContainer] at org.hippoecm.hst.container.XSSUrlFilter.doFilter(XSSUrlFilter.java:49)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      [INFO] [talledLocalContainer] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      [INFO] [talledLocalContainer] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      [INFO] [talledLocalContainer] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:589)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      [INFO] [talledLocalContainer] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
      [INFO] [talledLocalContainer] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      [INFO] [talledLocalContainer] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
      [INFO] [talledLocalContainer] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:662)

      [INFO] [talledLocalContainer] 2012-11-06 09:28:25,176 WARN [http-8080-3] [org.hippoecm.hst.core.linking.DefaultHstLinkCreator.createByRefId():230] Could not find HstSiteMapItem for siteMapItemRefId 'homeId' and mount 'hst:root'. Return null
      [INFO] [talledLocalContainer] 2012-11-06 09:28:25,176 WARN [http-8080-3] [org.hippoecm.hst.tag.HstLinkTag.doEndTag():263] Unable to rewrite link. Return EVAL_PAGE
      [INFO] [talledLocalContainer] 2012-11-06 09:28:25,177 WARN [http-8080-3] [org.hippoecm.hst.core.linking.DefaultHstLinkCreator.createByRefId():230] Could not find HstSiteMapItem for siteMapItemRefId 'aboutId' and mount 'hst:root'. Return null
      [INFO] [talledLocalContainer] 2012-11-06 09:28:25,177 WARN [http-8080-3] [org.hippoecm.hst.tag.HstLinkTag.doEndTag():263] Unable to rewrite link. Return EVAL_PAGE
      [INFO] [talledLocalContainer] 2012-11-06 09:28:25,179 WARN [http-8080-3] [org.hippoecm.hst.tag.HstLinkTag.doEndTag():228] Cannot resolve mount with alias 'restapi' (type 'null') for current request. Cannot create a link for 'sites'. Return page not found Link for current Mount

      Attachments

        Activity

          People

            svoortman Simon Voortman (Inactive)
            svoortman Simon Voortman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: