You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jeremy Thomerson (JIRA)" <ji...@apache.org> on 2010/12/19 23:57:01 UTC

[jira] Resolved: (WICKET-3259) Filter path is occasionally null when forwarding a request

     [ https://issues.apache.org/jira/browse/WICKET-3259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Thomerson resolved WICKET-3259.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.15

> Filter path is occasionally null when forwarding a request
> ----------------------------------------------------------
>
>                 Key: WICKET-3259
>                 URL: https://issues.apache.org/jira/browse/WICKET-3259
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.14, 1.5-M3
>            Reporter: Jeremy Thomerson
>            Assignee: Jeremy Thomerson
>            Priority: Minor
>             Fix For: 1.4.15
>
>         Attachments: relativeurlproblem.tar.gz
>
>
> If you have a 404 specified in your web.xml that points to some wicket page, and that page throws a RestartResponseAtInterceptPage exception, you end up with a NullPointerException when trying to create the URL for the page.  The NPE is because forwardUrl is not null, but filterPath is (in ServletWebRequest#getRelativePathPrefixToWicketHandler())
> See the attached quickstart and go to http://localhost:8080/app-context-path/mounted-pattern/akdslfjasdklfj (which doesn't exist) to see the issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.