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


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

Reply via email to