[ https://issues.apache.org/jira/browse/CXF-5057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aki Yoshida updated CXF-5057: ----------------------------- Description: 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 identifier and cannot be associated with the exchange associated with its request message), 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) was: 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) > NPE at the decoupled endpoint when receiving a response message with an > unknown 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 identifier and cannot be associated with the exchange > associated with its request message), 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