Return-Path: X-Original-To: apmail-synapse-dev-archive@www.apache.org Delivered-To: apmail-synapse-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CB2E0CB25 for ; Fri, 19 Jul 2013 18:00:54 +0000 (UTC) Received: (qmail 39836 invoked by uid 500); 19 Jul 2013 18:00:54 -0000 Delivered-To: apmail-synapse-dev-archive@synapse.apache.org Received: (qmail 39718 invoked by uid 500); 19 Jul 2013 18:00:53 -0000 Mailing-List: contact dev-help@synapse.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@synapse.apache.org Delivered-To: mailing list dev@synapse.apache.org Received: (qmail 39704 invoked by uid 99); 19 Jul 2013 18:00:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jul 2013 18:00:53 +0000 Date: Fri, 19 Jul 2013 18:00:53 +0000 (UTC) From: "Hiranya Jayathilaka (JIRA)" To: dev@synapse.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (SYNAPSE-866) Incorrect error handling in HttpCoreNIOSender#sendAsyncResponse MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SYNAPSE-866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hiranya Jayathilaka reassigned SYNAPSE-866: ------------------------------------------- Assignee: Hiranya Jayathilaka > 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 > Assignee: Hiranya Jayathilaka > > 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 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