axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <>
Subject [jira] Resolved: (AXIS2-4758) JAX-WS: A NullPointerException may occur when calling an async method
Date Tue, 29 Jun 2010 22:01:59 GMT


Rich Scheuerle resolved AXIS2-4758.

    Resolution: Fixed

> JAX-WS: A NullPointerException may occur when calling an async method
> ---------------------------------------------------------------------
>                 Key: AXIS2-4758
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>            Reporter: Rich Scheuerle
>            Assignee: Rich Scheuerle
>   Original Estimate: 24h
>  Remaining Estimate: 24h
> The following NullPointerException may occur when invoking a JAX-WS async method
>  java.lang.NullPointerException
> at
> org.apache.axis2.jaxws.marshaller.factory.MethodMarshallerFactory.
> getMarshaller( at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.
> getFaultResponse( at org.apache.axis2.jaxws.client.proxy.ProxyAsyncListener.
> getFaultResponse( at org.apache.axis2.jaxws.client.async.AsyncResponse.
> processFaultResponse( at org.apache.axis2.jaxws.client.async.AsyncResponse.onError
> (
> ...
> The problem occurs because the JAX-WS runtime must find and inspect the JAX-WS synchronous
method in some cases.
> For example, the synchronous method contains the checked exceptions and must be examined
when the web service
> returns a fault.
> If the synchronous method has a name that is different than the wsdl operation name,
the search may fail.
> This triggers the NullPointerException.
> Proposed Solutoin:
> I have a small change to the search algorithm which will guarantee that the synchronous
method is found.
> Kudos to Paul Mariduena for providing a test and testing this fix.
> I will be committing the change later today.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message