axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11726] - Incorrect overloaded method invoked - NullPointerException
Date Thu, 05 Sep 2002 14:11:11 GMT
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=11726>.
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=11726

Incorrect overloaded method invoked - NullPointerException





------- Additional Comments From zeyn.saigol@mediasurface.com  2002-09-05 14:11 -------
Yes, I've been able to re-create the problem with the latest builds - I've 
created a patch file to update the RPCDispatch tests to show the bug. 

I've also created a patch for the test updates + a possible fix, although I'm 
not certain this fix is in the best place. I've re-ordered the overloads when 
they are retrieved, whereas it may be better to re-order them immediately after 
they are discovered. However, I wasn't sure where in the code this would be. 
The tests all pass with my fix.

The bug depends on the order in which the native reflection code returns 
methods - we've reproduced the bug running 1.4.0_01 and 1.3.1_03 on Solaris 8, 
and 1.3.0 on Solaris 7, but its still possible it could "fail to fail" in some 
environments :-(

Mime
View raw message