cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-5185) Memory leak if no addresses are specified for SequentialStrategy
Date Thu, 15 Aug 2013 11:15:48 GMT

     [ 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

Mime
View raw message