Bug 2432 - null pointer exception parsing large document
Summary: null pointer exception parsing large document
Status: NEW
Alias: None
Product: Xerces-J
Classification: Unclassified
Component: SAX (show other bugs)
Version: 1.4.1
Hardware: PC All
: P3 major
Target Milestone: ---
Assignee: Xerces-J Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-07-03 03:04 UTC by Paul Stitt
Modified: 2005-03-20 17:06 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Stitt 2001-07-03 03:04:13 UTC
When using the xerces SAX parser to parse a file that is greater than 2 Gb, it 
seems that the parser works up to the 2 Gb point, then fails with a null 
pointer exception as follows:

Exception in thread "main" java.lang.NullPointerException
        at java.lang.Throwable.fillInStackTrace(Native Method)
        at java.lang.Throwable.fillInStackTrace(Compiled Code)
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Exception.<init>(Compiled Code)
        at org.xml.sax.SAXException.<init>(SAXException.java:61)
        at org.apache.xerces.framework.XMLParser.parse(Compiled Code)
        at test.LoadWdSimData3.execute(LoadWdSimData3.java:79)
        at test.LoadWdSimData3.main(LoadWdSimData3.java:30)

JDK version is 1.2.1_04c native threads.
Comment 1 Cristian Caprar 2003-09-01 14:35:06 UTC
The bug manifests also on Win2K / WinXP with JDK 1.3.1