axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhuvaneswari Sundararaman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-3788) NPE in finally block in generate Stub methods
Date Tue, 24 Jun 2014 20:32:25 GMT

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

Bhuvaneswari Sundararaman commented on AXIS2-3788:
--------------------------------------------------

We updated to 1.5.5 from 1.5.1 , but this this issue is present in 1.5.5

> NPE in finally block in generate Stub methods
> ---------------------------------------------
>
>                 Key: AXIS2-3788
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3788
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.4
>            Reporter: Stefan Lischke
>            Assignee: Amila Chinthaka Suriarachchi
>             Fix For: 1.5.5, 1.6.0
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)

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