axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shpelda (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-3788) NPE in finally block in generate Stub methods
Date Tue, 03 Feb 2009 07:43:59 GMT

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

shpelda commented on AXIS2-3788:
--------------------------------

there's a workaround available at http://mail-archives.apache.org/mod_mbox/ws-axis-user/200604.mbox/<7DEAA1ADB60C8046BDBC04273BDFF89BB4C399@s-osl-23-0031.corp.4tel.no>
It's for different issue but works for this one as well.

> NPE in finally block in generate Stub methods
> ---------------------------------------------
>
>                 Key: AXIS2-3788
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3788
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.4
>            Reporter: Stefan Lischke
>            Assignee: Amila Chinthaka Suriarachchi
>
> The methods generated in the Stub have a try catch block
> try{
>  }catch(org.apache.axis2.AxisFault f){
>     ...
> }
> finally {
>                 _messageContext.getTransportOut().getSender().cleanup(_messageContext);
> }
> A "org.apache.axis2.AxisFault: Transport out has not been set" is catched and 
> _messageContext.getTransportOut() is  NULL
> That results in an ugly 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