Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5057

NPE at the decoupled endpoint when receiving a response message with an unknown identifier

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.5
    • 2.7.6
    • WS-* Components
    • None
    • Unknown

    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)

      Attachments

        Activity

          People

            ay Akitoshi Yoshida
            ay Akitoshi Yoshida
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: