You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2013/06/25 11:26:23 UTC
[jira] [Created] (TAP5-2133) DefaultRequestExceptionHandler
swallows exceptions
Jochen Kemnade created TAP5-2133:
------------------------------------
Summary: DefaultRequestExceptionHandler swallows exceptions
Key: TAP5-2133
URL: https://issues.apache.org/jira/browse/TAP5-2133
Project: Tapestry 5
Issue Type: Bug
Components: tapestry-core
Affects Versions: 5.4
Reporter: Jochen Kemnade
If an exception is thrown from the try block in org.apache.tapestry5.internal.services.DefaultRequestExceptionHandler.handleRequestException(Throwable), it is swallowed without any notification. In my case, the problem was a LinkCreationListener's throwing a NPE in a redirected request originating from a previous exception. This was very hard to debug because the NPE didn't show up in any stack trace or log.
I suggest that either the handler fail completely if the try block throws an exception or at least log it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira