cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akitoshi Yoshida (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6257) Creating and Endpoint using JAX-WS API, getting the binding and then publishing causes a NullPointerException
Date Fri, 13 Feb 2015 10:26:11 GMT

    [ https://issues.apache.org/jira/browse/CXF-6257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14319829#comment-14319829
] 

Akitoshi Yoshida commented on CXF-6257:
---------------------------------------

I am not sure if this is reproducible. I just tried with one of the existing cxf samples and
didn't see this problem.
Could you attach a maven test case? Or has someone else can confirm this issue?


> Creating and Endpoint using JAX-WS API, getting the binding and then publishing causes
a NullPointerException
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-6257
>                 URL: https://issues.apache.org/jira/browse/CXF-6257
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 3.0.3
>         Environment: jdk.1.7.0_45
>            Reporter: Carlos Sierra
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message