You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jim Ma (JIRA)" <ji...@apache.org> on 2018/06/01 04:10:00 UTC

[jira] [Updated] (CXF-7745) NPE thrown from MAPAggregatorImpl when replyto is non-anonymous and faultto doesn't exists

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

Jim Ma updated CXF-7745:
------------------------
    Description: 
MAPAggregatorImpl checks the following Soap message and throws NPE : 
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">

        <S:Header>
              <To xmlns="http://www.w3.org/2005/08/addressing">http://localhost:8080/AddNumbers4</To>
              <MessageID xmlns="http://www.w3.org/2005/08/addressing">uuid:b962c6ff-708d-4b4b-8158-dff3f13d17b6</MessageID>
              <ReplyTo xmlns="http://www.w3.org/2005/08/addressing"><Address>http://localhost:1025/NonAnonymous</Address></ReplyTo>
              <Action xmlns="http://www.w3.org/2005/08/addressing">http://example.com/action/add</Action>
        </S:Header>

       <S:Body><addNumbers xmlns="http://example.com/"><number1>10</number1><number2>10</number2></addNumbers></S:Body></S:Envelope>

java.lang.NullPointerException
	at org.apache.cxf.ws.addressing.impl.MAPAggregatorImpl.checkAddressingResponses(MAPAggregatorImpl.java:580)
	at org.apache.cxf.ws.addressing.impl.MAPAggregatorImpl.mediate(MAPAggregatorImpl.java:451)
	at org.apache.cxf.ws.addressing.impl.MAPAggregatorImpl.handleMessage(MAPAggregatorImpl.java:143)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267)
	at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:110)
	at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:134)
	at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:88)
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:301)
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:220)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:136)
	at org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140)

  was:
java.lang.NullPointerException
	at org.apache.cxf.ws.addressing.impl.MAPAggregatorImpl.checkAddressingResponses(MAPAggregatorImpl.java:580)
	at org.apache.cxf.ws.addressing.impl.MAPAggregatorImpl.mediate(MAPAggregatorImpl.java:451)
	at org.apache.cxf.ws.addressing.impl.MAPAggregatorImpl.handleMessage(MAPAggregatorImpl.java:143)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267)
	at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:110)
	at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:134)
	at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:88)
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:301)
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:220)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:136)
	at org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140)

        Summary: NPE thrown from MAPAggregatorImpl when replyto is non-anonymous and faultto doesn't exists   (was: NPE thrown when replyto is non-anonymous and faultto doesn't exists )

> NPE thrown from MAPAggregatorImpl when replyto is non-anonymous and faultto doesn't exists 
> -------------------------------------------------------------------------------------------
>
>                 Key: CXF-7745
>                 URL: https://issues.apache.org/jira/browse/CXF-7745
>             Project: CXF
>          Issue Type: Bug
>          Components: WS-* Components
>    Affects Versions: 3.2.4
>            Reporter: Jim Ma
>            Assignee: Jim Ma
>            Priority: Major
>             Fix For: 3.2.5
>
>
> MAPAggregatorImpl checks the following Soap message and throws NPE : 
> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
>         <S:Header>
>               <To xmlns="http://www.w3.org/2005/08/addressing">http://localhost:8080/AddNumbers4</To>
>               <MessageID xmlns="http://www.w3.org/2005/08/addressing">uuid:b962c6ff-708d-4b4b-8158-dff3f13d17b6</MessageID>
>               <ReplyTo xmlns="http://www.w3.org/2005/08/addressing"><Address>http://localhost:1025/NonAnonymous</Address></ReplyTo>
>               <Action xmlns="http://www.w3.org/2005/08/addressing">http://example.com/action/add</Action>
>         </S:Header>
>        <S:Body><addNumbers xmlns="http://example.com/"><number1>10</number1><number2>10</number2></addNumbers></S:Body></S:Envelope>
> java.lang.NullPointerException
> 	at org.apache.cxf.ws.addressing.impl.MAPAggregatorImpl.checkAddressingResponses(MAPAggregatorImpl.java:580)
> 	at org.apache.cxf.ws.addressing.impl.MAPAggregatorImpl.mediate(MAPAggregatorImpl.java:451)
> 	at org.apache.cxf.ws.addressing.impl.MAPAggregatorImpl.handleMessage(MAPAggregatorImpl.java:143)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> 	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
> 	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267)
> 	at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:110)
> 	at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:134)
> 	at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:88)
> 	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:301)
> 	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:220)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> 	at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:136)
> 	at org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)