[ 
http://www.stripesframework.org/jira/browse/STS-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Gunter closed STS-383.
--------------------------


> Custom exception handler does not get wrapped request.
> ------------------------------------------------------
>
>                 Key: STS-383
>                 URL: http://www.stripesframework.org/jira/browse/STS-383
>             Project: Stripes
>          Issue Type: Bug
>          Components: ActionBean Dispatching
>    Affects Versions: Release 1.4.3
>         Environment: Tomcat 5.5.12, Windows XP, Java 5 
>            Reporter: Brian Nichols
>            Assignee: Ben Gunter
>             Fix For: Release 1.5
>
>
> My custom exception handler receives the unwrapped request as shown in 
> StripesFilter.java.
>     StripesRequestWrapper request = wrapRequest(httpRequest);
>         ....
>     catch (Throwable t) {
>         this.configuration.getExceptionHandler().handle(t, httpRequest, 
> httpResponse);
>     }
> The problem occurs when I use the unwrapped request to forward to a source 
> page which requires Stripes processing.   Stripes then throws the following 
> exception.
> java.lang.IllegalStateException: A request made it through to some part of 
> Stripes without being wrapped in a StripesRequestWrapper. The StripesFilter 
> is responsible for wrapping the request, so it is likely that either the 
> StripesFilter is not deployed, or that it's mappings do not include the 
> DispatcherServlet _and_*.jsp. Stripes does not requiire that the Stripes 
> wrapper is the only request wrapper, or the outermost; only that is is 
> present.
>                         at 
> net.sourceforge.stripes.controller.StripesRequestWrapper.findStripesWrapper(StripesRequestWrapper.java:71)
> StripesFilter should provide the wrapped request when possible.

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

        

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to