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/07/03 13:20:21 UTC

[jira] [Resolved] (WICKET-3859) WicketFilterTest.testIgnorePaths java.lang.IllegalStateException: Request#getLocale cannot return null, request has to have a locale set on it

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

Martin Grigorov resolved WICKET-3859.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-RC6

> WicketFilterTest.testIgnorePaths java.lang.IllegalStateException: Request#getLocale cannot return null, request has to have a locale set on it
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-3859
>                 URL: https://issues.apache.org/jira/browse/WICKET-3859
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 1.5-RC5.1
>         Environment: all
>            Reporter: Richard Emberson
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 1.5-RC6
>
>
> The test WicketFilterTest method testIgnorePaths generates a stacktrace:
> RequestCycle.processRequest: e=java.lang.IllegalStateException: Request#getLocale() cannot return null, request has to have a locale set on it
> java.lang.IllegalStateException: Request#getLocale() cannot return null, request has to have a locale set on it
>         at org.apache.wicket.Session.<init>(Session.java:218)
>         at org.apache.wicket.protocol.http.WebSession.<init>(WebSession.java:96)
>         at org.apache.wicket.protocol.http.WebApplication.newSession(WebApplication.java:436)
>         at org.apache.wicket.Session.get(Session.java:159)
>         at org.apache.wicket.request.mapper.BufferedResponseMapper.getSessionId(BufferedResponseMapper.java:48)
>         at org.apache.wicket.request.mapper.BufferedResponseMapper.hasBufferedResponse(BufferedResponseMapper.java:54)
>         at org.apache.wicket.request.mapper.BufferedResponseMapper.getCompatibilityScore(BufferedResponseMapper.java:112)
>         at org.apache.wicket.request.mapper.CompoundRequestMapper.mapRequest(CompoundRequestMapper.java:121)
>         at org.apache.wicket.request.cycle.RequestCycle.resolveRequestHandler(RequestCycle.java:187)
>         at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:217)
>         at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:270)
>         at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:160)
>         at org.apache.wicket.protocol.http.WicketFilterTest.testIgnorePaths(WicketFilterTest.java:370)

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