Wicket
  1. Wicket
  2. WICKET-1478

AbortWithWebErrorCodeException in onBeforeRender causes WicketRuntimeException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.2
    • Fix Version/s: 1.3.5
    • Component/s: wicket
    • Labels:
      None

      Description

      Using custom error pages as described on http://cwiki.apache.org/WICKET/error-pages-and-feedback-messages.html, a wicket RTE gets thrown "There is no application attached to current thread [threadname]" when a AbortWithWebErrorCodeException is thrown in the onBeforeRender method of a WebPage. Note that this only happens when using a custom error page defined in web.xml.

      See attached quickstart for the complete stacktrace (and my usecase)
      See also the mailinglist entry on http://www.nabble.com/Throw-AbortWithWebErrorCodeException-in-onBeforeRender-to16446341.html#a16473849

      1. quickstart404.jar
        16 kB
        Michael Sparer

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Johan Compagner
            Reporter:
            Michael Sparer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development