1 Reply Latest reply on May 3, 2018 5:07 AM by Tom Uijldert

    NPE in a cxf client because address == null, why?

    Tom Uijldert Newbie



      On deploying a JbossWS client on wildfly (10.1.0.Final) using the cxf client (5.1.5.Final ), I consistently get a NullPointerException on calling a WS method as in:

      Interceptor for {xxx} has thrown exception, unwinding now: java.lang.NullPointerException

              at org.apache.cxf.transport.http.asyncclient.AsyncHTTPConduit.setupConnection(AsyncHTTPConduit.java:138)


      Turns out the address parameter in setupConnection is indeed null.


      What am I doing wrong wrt. this call?

      How can I fill the address with something sensible?