Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6B3AB108EB for ; Thu, 15 Aug 2013 11:15:51 +0000 (UTC) Received: (qmail 60868 invoked by uid 500); 15 Aug 2013 11:15:50 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 60756 invoked by uid 500); 15 Aug 2013 11:15:49 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 60729 invoked by uid 99); 15 Aug 2013 11:15:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Aug 2013 11:15:48 +0000 Date: Thu, 15 Aug 2013 11:15:48 +0000 (UTC) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CXF-5185) Memory leak if no addresses are specified for SequentialStrategy 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/CXF-5185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Beryozkin resolved CXF-5185. ----------------------------------- Resolution: Fixed Fix Version/s: 2.7.7 2.6.10 3.0.0 Assignee: Sergey Beryozkin I'm marking it as Fixed for now - please reopen if the NPE guard proves to be not sufficient in your case > Memory leak if no addresses are specified for SequentialStrategy > ---------------------------------------------------------------- > > Key: CXF-5185 > URL: https://issues.apache.org/jira/browse/CXF-5185 > Project: CXF > Issue Type: Bug > Affects Versions: 2.6.2 > Reporter: Mark Anderson > Assignee: Sergey Beryozkin > Fix For: 3.0.0, 2.6.10, 2.7.7 > > > If an empty list of alternateAddresses is specified in SequentialStrategy this causes a NullPointerException in FailoverTargetSelector. > As the exception is thrown the key is never removed from the inProgress map resulting in a memory leak. > The stack trace for the exception is below: > java.lang.NullPointerException > [java] at org.apache.cxf.clustering.FailoverTargetSelector$InvocationContext.retrieveOriginalEndpoint(FailoverTargetSelector.java:397) > [java] at org.apache.cxf.clustering.FailoverTargetSelector.complete(FailoverTargetSelector.java:162) > [java] at org.apache.cxf.endpoint.ClientImpl.processResult(ClientImpl.java:592) > [java] at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:540) > [java] at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:464) > [java] at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:367) > [java] at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:320) > [java] at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:89) > [java] at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134) -- 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