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 18:13:19 UTC

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

Aki Yoshida created CXF-5057:
--------------------------------

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


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