You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Bhuvaneswari Sundararaman (JIRA)" <ji...@apache.org> on 2014/06/24 22:32:26 UTC
[jira] [Comment Edited] (AXIS2-3788) NPE in finally block in
generate Stub methods
[ https://issues.apache.org/jira/browse/AXIS2-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14042633#comment-14042633 ]
Bhuvaneswari Sundararaman edited comment on AXIS2-3788 at 6/24/14 8:31 PM:
---------------------------------------------------------------------------
We updated to 1.5.5 from 1.5.1 , but this issue is still present in 1.5.5
was (Author: bhuvi86@gmail.com):
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