Re: NullPointerException trying to parse a simple XML file.

2001-02-19 Thread Elena Litani
Hi, Brad, It is hard to say what is going on without any additional info. I suspect you have some error in your code, cause I don't recall anybody reporting this kind of behaviour before. If you still need help, please, attach your .java files + sample file. Thank you, Elena > Brad O'Hearne wrote

RE: NullPointerException trying to parse a simple XML file.

2001-02-15 Thread Brad O'Hearne
PROTECTED]Subject: NullPointerException trying to parse a simple XML file. This should be a pretty simple question.  Running the following code:         try {  XMLReader parser = XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");  pars

NullPointerException trying to parse a simple XML file.

2001-02-15 Thread Brad O'Hearne
This should be a pretty simple question.  Running the following code:         try {  XMLReader parser = XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");  parser.setContentHandler(contentHandler);  parser.setErrorHandler(errorHandler);  parser.setEnt