axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-4244) NullPointerException in generated Stub.
Date Mon, 06 Apr 2009 10:26:13 GMT

    [ 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.


Mime
View raw message