You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Aki Yoshida (JIRA)" <ji...@apache.org> on 2013/06/05 19:28:20 UTC

[jira] [Resolved] (CXF-5057) NPE at the decoupled endpoint when receiving a response message with an unknown replyTo identifier

     [ https://issues.apache.org/jira/browse/CXF-5057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aki Yoshida resolved CXF-5057.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.6

The described issue only occurs in 2.7.x as a regression introduced by r1374362 which is not in 2.6.x.

I integrated the merged revision to the lower codelines.

                
> NPE at the decoupled endpoint when receiving a response message with an unknown replyTo identifier
> --------------------------------------------------------------------------------------------------
>
>                 Key: CXF-5057
>                 URL: https://issues.apache.org/jira/browse/CXF-5057
>             Project: CXF
>          Issue Type: Bug
>          Components: WS-* Components
>    Affects Versions: 2.7.5
>            Reporter: Aki Yoshida
>            Assignee: Aki Yoshida
>            Priority: Minor
>             Fix For: 2.7.6
>
>
> When receiving a response message at the decoupled endpoint, when the original request message is not available (i.e., when the response message has a unknown replyTo identifier), it can lead to an NPE.
> WARNUNG: Interceptor for has thrown exception, unwinding now
> java.lang.NullPointerException
> 	at org.apache.cxf.ws.addressing.ContextUtils.isRequestor(ContextUtils.java:138)
> 	at org.apache.cxf.ws.addressing.ContextUtils.retrieveMAPs(ContextUtils.java:246)
> 	at org.apache.cxf.ws.addressing.soap.MAPCodec.restoreExchange(MAPCodec.java:829)
> 	at org.apache.cxf.ws.addressing.soap.MAPCodec.mediate(MAPCodec.java:174)
> 	at org.apache.cxf.ws.addressing.soap.MAPCodec.handleMessage(MAPCodec.java:121)
> 	at org.apache.cxf.ws.addressing.soap.MAPCodec.handleMessage(MAPCodec.java:78)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
> 	at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:800)
> 	at org.apache.cxf.ws.addressing.impl.MAPAggregatorImpl$InterposedMessageObserver.onMessage(MAPAggregatorImpl.java:1013)

--
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