axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: DO NOT REPLY [Bug 10660] - <responseFlow/> traps Axis
Date Fri, 12 Jul 2002 13:12:29 GMT
Dug,

I agree with you, but am not comfortable enough to fix the code as you indicated. Hence fixed
the
broken code for now.

Thanks,
dims 

--- bugzilla@apache.org wrote:
> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10660>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
> INSERTED IN THE BUG DATABASE.
> 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10660
> 
> <responseFlow/> traps Axis
> 
> dug@us.ibm.com changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|RESOLVED                    |REOPENED
>          Resolution|FIXED                       |
> 
> 
> 
> ------- Additional Comments From dug@us.ibm.com  2002-07-12 12:55 -------
> Dims - while that might get rid of the NPE it doesn't solve the problem 
> that an exception was being thrown in the first place.  If you look at
> the code what's happening is we notice a <responseFlow/> element and
> then try to create a chain from that.  The result is an empty chain
> which is why the:  
>    if (handlers.isEmpty())
> returns true and throws a fauly.  But, the real solution is that we
> should not complain about this at all - we should notice that while there
> is a <responseFlow/> element, is it empty - which should be the same
> things as no <responseFlow> element at all.  If you walk back up the 
> stack you'll see that we blindly assume there will always be a child
> element - which in this case isn't true.


=====
Davanum Srinivas - http://xml.apache.org/~dims/

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

Mime
View raw message