You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2011/03/20 18:44:29 UTC

[jira] Resolved: (WICKET-3544) Race condition in WicketFilter startup with following StringIndexOutOfBoundsException

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

Martin Grigorov resolved WICKET-3544.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-RC3
         Assignee: Martin Grigorov

Fixed with r1083519.
Thanks!

> Race condition in WicketFilter startup with following StringIndexOutOfBoundsException
> -------------------------------------------------------------------------------------
>
>                 Key: WICKET-3544
>                 URL: https://issues.apache.org/jira/browse/WICKET-3544
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 1.5-RC2
>            Reporter: Andreas Köhler
>            Assignee: Martin Grigorov
>             Fix For: 1.5-RC3
>
>         Attachments: filter-path-length.patch
>
>
> We noticed spurious problems with the startup of a Wicket application and some requests (to /wicket, if /wicket/* is the filter url-mapping) always throwing a StringIndexOutOfBoundsException.
> The only way to fix this was to redeploy the app.
> It seems this is due to a race condition in WicketFilter when determining the filterPathLength.
> The attached patch contains a fix and also a test case. Feel free to apply the parts you like.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira