The following code will trigger a NullPointerException
Endpoint endpoint = Endpoint.create(new Calculator());
Binding binding = endpoint.getBinding();
This same code using JDK's JAX-WS implementation works without problems.
Requesting the binding at that point, maybe to register handlers, causes a call to getServer(null) which ends up setting a null address:
Info: Setting the server's publish address to be null