Hi,
I having this error on my servlet.
I'm using sax to parse my xml to save it to database.
I have two xml files: one has 82, 000++ lines and the other one has
200,000++. When I'm using the first file (whith 82,000++ lines) my servlet
runs smoothly and it saves to xml file to database. But when I'm running the
second file, it has this weird error:
org.xml.sax.SAXException (nested exception: java.lang.NullPointerException )
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:917)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:939)
at
com.colibria.util.statistics.StatisticsXmlReader.parseLog(StatisticsXmlReader.java:52)
at
com.colibria.util.statistics.StatisticsXmlReader.main(StatisticsXmlReader.java:73)
and in StatisticsXmlReader.java line 73 and 52 are just reading the file. (
which is parser.parse(fileName);
Does anyone knows if Sax parse as limitation in terms of number of line of
xml file (or file size).
Thanks
BR
/Renz
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html