Aki Yoshida created CXF-5600:
--------------------------------

             Summary: WSDL generation at WS-RM endpoint leads to NPE in the 
server's log
                 Key: CXF-5600
                 URL: https://issues.apache.org/jira/browse/CXF-5600
             Project: CXF
          Issue Type: Bug
          Components: WS-* Components
    Affects Versions: 2.7.10, 3.0.0-milestone2, 2.7.9, 2.7.8, 2.7.7
            Reporter: Aki Yoshida
            Assignee: Aki Yoshida
             Fix For: 3.0.0, 2.7.11


Retrieving the wsdl file from an WS-RM endpoint will lead to an NPE at the 
server side log, although the wsdl document itself will be returned to the 
calling client.

java.lang.NullPointerException
        at 
org.apache.cxf.ws.rm.RMManager.getReliableEndpoint(RMManager.java:381)
        at org.apache.cxf.ws.rm.RMManager.getDestination(RMManager.java:398)
        at 
org.apache.cxf.ws.rm.RMDeliveryInterceptor.handle(RMDeliveryInterceptor.java:48)
        at 
org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:83)
        at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
        at 
org.apache.cxf.phase.PhaseInterceptorChain.doInterceptStartingAt(PhaseInterceptorChain.java:456)
        at 
org.apache.cxf.frontend.WSDLGetInterceptor.handleMessage(WSDLGetInterceptor.java:93)
        at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
        at 
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
        at 
org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:241)
        at 
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:259)
        at 
org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:72)
        at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1088)
        at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1024)
        at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
        at 
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
        at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
        at org.eclipse.jetty.server.Server.handle(Server.java:370)
        at 
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
        at 
org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
        at 
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
        at 
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
        at 
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)
        at 
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
        at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
        at 
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
        at java.lang.Thread.run(Thread.java:744)

More details in
http://cxf.547215.n5.nabble.com/WS-RM-and-WSDLGetInInterceptor-td5740962.html

This is a regression from CXF-5151 and affects CXF versions 2.7.7 to 2.7.10.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to