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

Amila Chinthaka Suriarachchi commented on AXIS2-4244:
-----------------------------------------------------

Here the problem is that message sending has failed before it sends the message 
using a transport out.
Try to check the correct reason by debuging or putting a e.printstacktrace() 
for exception catch. Possible reason would be not having required runtime jars 
in the patch.

> NullPointerException in generated Stub.
> ---------------------------------------
>
>                 Key: AXIS2-4244
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4244
>             Project: Axis 2.0 (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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to