Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.3
-
None
-
jdk.1.7.0_45
-
Unknown
Description
The following code will trigger a NullPointerException
—
Endpoint endpoint = Endpoint.create(new Calculator());
Binding binding = endpoint.getBinding();
endpoint.publish("http://localhost:9494/calculator");
—
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