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=20882>.
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=20882

Null Pointer in DOM2DTM.addNode





------- Additional Comments From [EMAIL PROTECTED]  2003-06-19 13:02 -------
The exception was correct -- it was a null pointer, after all -- just not 
maximally informative.

We could add a test in the DOMSource constructor to throw an exception at that 
time if the passed-in node is null. The most useful thing the test could do when 
it sees the problem would probably be to throw an exception. Not a huge 
improvement, but a bit more diagnostically useful. It'd cost us a couple of 
extra cycles, but this is an uncommon operation so we should be able to afford 
that.

Reply via email to