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 468A79C16 for ; Thu, 16 Feb 2012 05:33:30 +0000 (UTC) Received: (qmail 40902 invoked by uid 500); 16 Feb 2012 05:33:29 -0000 Delivered-To: apmail-synapse-dev-archive@synapse.apache.org Received: (qmail 40810 invoked by uid 500); 16 Feb 2012 05:33:27 -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 40785 invoked by uid 99); 16 Feb 2012 05:33:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 05:33:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 05:33:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 21BED1BA8B4 for ; Thu, 16 Feb 2012 05:33:00 +0000 (UTC) Date: Thu, 16 Feb 2012 05:33:00 +0000 (UTC) From: "Kasun Indrasiri (Commented) (JIRA)" To: dev@synapse.apache.org Message-ID: <913873071.44859.1329370380139.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SYNAPSE-622) NPE in ClientConnectionDebug.java:36 when running in a failover scenario MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SYNAPSE-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209120#comment-13209120 ] Kasun Indrasiri commented on SYNAPSE-622: ----------------------------------------- We came across this issue intermittently when timeouts occurs from the backend. Possible this is due to a typo in ClientHandler. ClinetHandler: ------------------- public static final String CONNECTION_CREATION_TIME = "synapse.connectioCreationTime"; ... this.connectionCreationTime = (Long) conn.getContext().getAttribute( ClientHandler.CONNECTION_CREATION_TIME); Server handler: ---------------------- public static final String CONNECTION_CREATION_TIME = "synapse.connectionCreationTime"; ... conn.getContext().setAttribute(CONNECTION_CREATION_TIME, System.currentTimeMillis()); > NPE in ClientConnectionDebug.java:36 when running in a failover scenario > ------------------------------------------------------------------------- > > Key: SYNAPSE-622 > URL: https://issues.apache.org/jira/browse/SYNAPSE-622 > Project: Synapse > Issue Type: Bug > Components: Core > Reporter: Rajika Kumarasiri > Assignee: Kasun Indrasiri > Priority: Critical > Fix For: 2.0 > > Attachments: SYNAPSE-622.patch > > > When I run sample #52 with one of the leaf endpoint being timeout, following NPE is thrown time to time. Once this is encountered that message is permanently lost. I'll upload a small patch which will fix the problem. -- 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