Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Received: (qmail 74675 invoked from network); 5 Dec 2000 14:41:58 -0000 Received: from taurus.novosoft.ru (194.149.225.52) by locus.apache.org with SMTP; 5 Dec 2000 14:41:58 -0000 Subject: Re: Unexpeced exception while getting document root element To: general@xml.apache.org X-Mailer: Lotus Notes Release 5.0.5 September 22, 2000 Message-ID: From: art@novosoft.nsc.ru Date: Tue, 5 Dec 2000 20:41:57 +0600 X-MIMETrack: Serialize by Router on Taurus/Novosoft(Release 5.0.5 |September 22, 2000) at 12/05/2000 08:41:59 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi! I have found the problem. It works fine with jdk1.3 and it fails with 1.2 jdk. Probably, it is connected with tomcat servlet engine mal;functioning with 1.2 jdk. Artem Goncharuk art@novosoft. nsc.ru To: general@xml.apache.org cc: 12/05/2000 Subject: Unexpeced exception while getting document root element 03:37 PM Please respond to general 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 --------------------------------------------------------------------- In case of troubles, e-mail: webmaster@xml.apache.org To unsubscribe, e-mail: general-unsubscribe@xml.apache.org For additional commands, e-mail: general-help@xml.apache.org