santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40819] - NPE in IdResolver
Date Thu, 26 Oct 2006 18:26:24 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40819>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40819


raul-info@r-bg.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|regression                  |minor




------- Additional Comments From raul-info@r-bg.com  2006-10-26 11:26 -------
You must always use *NS methods, The non *NS methods should dia a horrible death.

Also the code that is throwing the exception has not changed so I suppose it
also happens in 1.4.beta2 and even 1.3.

I can prevent the NPE but it will silently fail and will never find a element.
The only sensible thing is to throw an exception when localName  is null (i.e.
has be done with non NS member). 
The problem is that then we should fill the code in several other parts with
this check, to be consistent.


What do you all think?

Anyway I downgrade the severity of the bug. 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message