axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Satya Godavarti (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-4244) NullPointerException in generated Stub.
Date Wed, 03 Aug 2011 21:01:28 GMT

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

Satya Godavarti commented on AXIS2-4244:
----------------------------------------

I am using Axis2 1.6 and I am getting the same exception. Can someone tell me if there is
any workaround ?

java.lang.NullPointerException
        at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:172)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
        at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
        at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
        at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
        at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
        at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)

> NullPointerException in generated Stub.
> ---------------------------------------
>
>                 Key: AXIS2-4244
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4244
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Jan Thomä
>            Priority: Blocker
>         Attachments: stack.txt
>
>
> I have created a Stub from a WSDL using XMLBeans. Now i get an NPE inside the generated
stub around this code line:
>              throw f;
>             }
>             } finally {
>                 _messageContext.getTransportOut().getSender().cleanup(_messageContext);
>             }
>         }
> It looks like getTransportOut() returns null leading to the NPE. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message