axis-java-dev mailing list archives

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

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

Wolf Dieter Auer commented on AXIS2-3788:
-----------------------------------------


Sehr geehrte Damen und Herrn!

Vielen Dank für Ihre Nachricht.

Ich bin derzeit auf Urlaub und wieder ab Montag, dem 21.07.2014, erreichbar.

In dringenden Fällen wenden Sie sich bitte an meinen Stellvertreter
Hendryk Lechtenbrink
01/71123/883642
hendryk.lechtenbrink@brz.gv.at


MfG
Wolf Dieter Auer



> 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