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

HstResponse.forward is broken when diagnostics are enabled

    XMLWordPrintable

Details

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

    Description

      Adding in your HstComponent something like

      try

      { response.forward("/news"); }

      catch (IOException e)

      { e.printStackTrace(); }

      breaks when having diagnostics enabled and results in something like:

      [INFO] [talledLocalContainer]
      [INFO] [talledLocalContainer] 16.11.2012 16:11:17 WARN [org.hippoecm.hst.container.HstFilter.doFilter():462] Fatal error encountered while processing request '/site/news/2011/solar-power-the-sky-is-the-limit.html':
      [INFO] [talledLocalContainer] java.lang.IllegalStateException: The task was already stopped.
      [INFO] [talledLocalContainer] at org.hippoecm.hst.diagnosis.DefaultTaskImpl.startSubtask(DefaultTaskImpl.java:112)
      [INFO] [talledLocalContainer] at org.hippoecm.hst.site.request.ResolvedMountImpl.matchSiteMapItem(ResolvedMountImpl.java:95)
      [INFO] [talledLocalContainer] at org.hippoecm.hst.container.HstFilter.processResolvedSiteMapItem(HstFilter.java:777)
      [INFO] [talledLocalContainer] at org.hippoecm.hst.container.HstFilter.doFilter(HstFilter.java:424)

      Attachments

        Activity

          People

            aschrijvers Ard Schrijvers
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: