You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Hector Barragan <hb...@ntrs.com> on 2013/04/01 21:03:11 UTC

fPreviousChunk == NULL exception on parsing a 2 GB XML file

Hi there

In the below version, has the 2 GB file size bug been fixed?






Xerces2 Java Parser 2.11.0 Release 






The sax parser wont read/handle a XML file more than 2 GB, populating the 
below exception

java.lang.RuntimeException: Internal Error: fPreviousChunk == NULL
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1094)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:223)

Currently we have this version

Sax version is 2009 xercesImpl-2.2.1.jar 2009 xerces.jar
Thanks in advance



_______________________________________________________________________________
Hector Barragan | Contractor | Derivatives Technology 
801 S. Canal Chicago IL, 60607 USA||Cell 1 (312) 285 4793 hb58@ntrs.com 
Please visit northerntrust.com 

Re: fPreviousChunk == NULL exception on parsing a 2 GB XML file

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Hello Hector,

You must be using Xerces-J 1.4.4 or earlier. 
org.apache.xerces.framework.XMLParser doesn't exist in Xerces 2.x.

If there was an issue with processing large XML documents with SAX I 
assume we fixed that over a decade ago. I know of no such problem now.

Thanks.

Michael Glavassevich
XML Technologies and WAS Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org

Hector Barragan <hb...@ntrs.com> wrote on 01/04/2013 03:03:11 PM:

> Hi there 
> 
> In the below version, has the 2 GB file size bug been fixed? 
> 
> Xerces2 Java Parser 2.11.0 Release 
>
> The sax parser wont read/handle a XML file more than 2 GB, 
> populating the below exception 
> 
> java.lang.RuntimeException: Internal Error: fPreviousChunk == NULL 
> at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1094) 
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) 
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:223) 
> 
> Currently we have this version 
> Sax version is 2009 xercesImpl-2.2.1.jar 2009 xerces.jar 
> Thanks in advance 
> 
> 
_______________________________________________________________________________
> Hector Barragan | Contractor | Derivatives Technology 
> 801 S. Canal Chicago IL, 60607 USA||Cell 1 (312) 285 4793 hb58@ntrs.com 
> Please visit northerntrust.com 


---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org