[ 
https://issues.apache.org/jira/browse/AXIS2-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Veithen updated AXIS2-3788:
-----------------------------------

    Fix Version/s: 1.5.5
                   1.6

This was fixed by r935122 on the trunk and r1057898 on the 1.5 branch.

> 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.6, 1.5.5
>
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to