Wicket
  1. Wicket
  2. WICKET-1038

Setting UnexpectedExceptionDisplay to IExceptionSettings.SHOW_NO_EXCEPTION_PAGE doesn't throw Servlet Exception

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0-beta3
    • Fix Version/s: 1.3.2
    • Component/s: wicket
    • Labels:
      None
    • Environment:
      Weblogic 8.1
      Java 1.4

      Description

      Setting UnexpectedExceptionDisplay to IExceptionSettings.SHOW_NO_EXCEPTION_PAGE doesn't throw Servlet Exception.

      In my application class:
      getExceptionSettings().setUnexpectedExceptionDisplay(IExceptionSettings.SHOW_NO_EXCEPTION_PAGE);

      But when an exception is thrown, for example:
      public Sub1Page()

      { if (true) throw new RuntimeException("This is a test"); }

      I don't get a ServletException, but a page with no text.I would have expected the container (Weblogic in this case) to display something.

      I looked in the code, but I don't see any place where the exception is wrapped in a ServletException.

      I think it's supposed to be handled in AbstractRequestCycleProcessor.respond().

        Activity

        Adam A. Koch created issue -
        Eelco Hillenius made changes -
        Field Original Value New Value
        Fix Version/s 1.3.0-beta5 [ 12312818 ]
        Frank Bille Jensen made changes -
        Fix Version/s 1.3.0-rc1 [ 12312818 ]
        Fix Version/s 1.3.0-rc2 [ 12312513 ]
        Frank Bille Jensen made changes -
        Fix Version/s 1.3.0-rc3 [ 12312886 ]
        Fix Version/s 1.3.0-rc2 [ 12312513 ]
        Frank Bille Jensen made changes -
        Fix Version/s 1.3.0-rc3 [ 12312886 ]
        Fix Version/s 1.3.1 [ 12312500 ]
        Frank Bille Jensen made changes -
        Fix Version/s 1.3.2 [ 12312942 ]
        Fix Version/s 1.3.1 [ 12312500 ]
        Johan Compagner made changes -
        Resolution Fixed [ 1 ]
        Assignee Johan Compagner [ jcompagner ]
        Status Open [ 1 ] Closed [ 6 ]

          People

          • Assignee:
            Johan Compagner
            Reporter:
            Adam A. Koch
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development