synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SYNAPSE-866) Incorrect error handling in HttpCoreNIOSender#sendAsyncResponse
Date Sun, 29 Apr 2012 08:19:02 GMT
Andreas Veithen created SYNAPSE-866:
---------------------------------------

             Summary: Incorrect error handling in HttpCoreNIOSender#sendAsyncResponse
                 Key: SYNAPSE-866
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-866
             Project: Synapse
          Issue Type: Bug
          Components: Transports
            Reporter: Andreas Veithen


HttpCoreNIOSender#sendAsyncResponse has a code block with a catch block for IllegalStateException
that logs a warning "Connection closed by client". However, since IllegalStateException is
an unchecked exception, it may be thrown anywhere in the code block. In particular, the code
block calls the Axis2 message formatter. If the formatter fails with IllegalStateException,
then the error is not logged and the only message is "Connection closed by client" which is
incorrect.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message