| Author |
Parsing an XMl file using apache xerces parser
|
satish satish
Greenhorn
Joined: Nov 25, 2002
Posts: 3
|
|
When i try to parse An xml file i get following error . Exception in thread "main" java.lang.NullPointerException at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1094) at javax.xml.parsers.SAXParser.parse(Unknown Source) My Code goes something like this InputSource is = new InputSource(new FileReader (arrGDCFolders[i] + DIR_DAT+arrGDCFiles[k])); parser.parse(is , new UploadController().new MtnSAXParserHandler());
|
 |
Gergely Dombi
Greenhorn
Joined: Jan 12, 2003
Posts: 11
|
|
pls post the line no 1094 to see what throws the NPE
|
 |
 |
|
|
subject: Parsing an XMl file using apache xerces parser
|
|
|