xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@novosoft.nsc.ru
Subject Unexpeced exception while getting document root element
Date Tue, 05 Dec 2000 09:37:56 GMT
Hello!

I am using xerces 1.2.1 for parsing xml-based requests to the servlet.
The folowing error occurs :

java.lang.NullPointerException
        at
org.apache.xerces.dom.DeferredDocumentImpl.synchronizeChildren(DeferredDocumentImpl.java:1402)
        at
org.apache.xerces.dom.DocumentImpl.getDocumentElement(DocumentImpl.java:572)
        ...

So the problem is that sometime on the SAME(!)   XML it is OK, and sometime
this exception raises.
Parsed XML is valid for sure.

How can I get rid of this error?
I have tryied to use xerces 1.1.3 and 1.2.1 , the error remains the same.

Thanks!

Sincerely,
Artem Goncharuk



Mime
View raw message