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 "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2010/12/25 06:36:48 UTC
[jira] Resolved: (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:all-tabpanel ]
Amila Chinthaka Suriarachchi resolved AXIS2-3788.
-------------------------------------------------
Resolution: Fixed
this issue is fixed in the current trunk
> 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
>
> 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org