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

Ben Gunter resolved STS-854.
----------------------------

       Resolution: Fixed
    Fix Version/s: Release 1.5.7
         Assignee: Ben Gunter

The patch you submitted is broken, but I applied a similar fix.

> DefaultExceptionHandler does not unwrap InvocationTargetException when 
> executing proxys
> ---------------------------------------------------------------------------------------
>
>                 Key: STS-854
>                 URL: http://www.stripesframework.org/jira/browse/STS-854
>             Project: Stripes
>          Issue Type: Bug
>          Components: ActionBean Dispatching
>    Affects Versions: Release 1.5.6
>         Environment: Tomcat 7.0.19; java version "1.6.0_27", Java(TM) SE 
> Runtime Environment (build 1.6.0_27-b07), Java HotSpot(TM) 64-Bit Server VM 
> (build 20.2-b06, mixed mode); Fedora Core 15 x64
>            Reporter: Daniel Hodder
>            Assignee: Ben Gunter
>             Fix For: Release 1.5.7
>
>         Attachments: exception.patch
>
>
> When an exception handler proxy is used, any exception throws by the handler 
> will be wrapped in an InvocationTargetException. The method 
> net.sourceforge.stripes.exception.DefaultExceptionHandler.HandlerProxy.handle(Throwable,
>  HttpServletRequest, HttpServletResponse), does not unwrap this so if the 
> method throws any exception it will be wrapped in a StripesServletException 
> and then re-thrown. This results in an additional exception in the trace that 
> does not mean anything.
> A patch to fix this is attached.

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

        

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to