Bug 8954 - java.lang.RuntimeException (using Xerces 1.4.2 parser)
Summary: java.lang.RuntimeException (using Xerces 1.4.2 parser)
Status: NEW
Alias: None
Product: Xerces-J
Classification: Unclassified
Component: SAX (show other bugs)
Version: 1.4.2
Hardware: Sun Solaris
: P3 normal
Target Milestone: ---
Assignee: Xerces-J Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-10 00:12 UTC by borgcc
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description borgcc 2002-05-10 00:12:10 UTC
Hi,
  I'm running SAX2Count.java (using Xerces 1.4.2 parser) trying to parse a 2.5 
gig xml file on Solaris 2.6 with (E450) 4 CPU's 2 gigs of ram and Im getting 
the the following java.lang.RuntimeException:

java.lang.RuntimeException: Internal Error: fPreviousChunk == NULL
        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 java.lang.RuntimeException.<init>(Compiled Code)
        at org.apache.xerces.utils.UTF8DataChunk.addSymbol(Compiled Code)
        at org.apache.xerces.utils.UTF8DataChunk.addSymbol(Compiled Code)
        at org.apache.xerces.readers.UTF8Reader.addSymbol(Compiled Code)
        at org.apache.xerces.readers.UTF8Reader.scanQName(Compiled Code)
        at org.apache.xerces.framework.XMLDocumentScanner.scanAttributeName
(Compiled Code)
        at org.apache.xerces.framework.XMLDocumentScanner.scanElement(Compiled 
Code)
        at 
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch
(Compiled Code)
        at org.apache.xerces.framework.XMLDocumentScanner.parseSome(Compiled 
Code)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1139)
        at SAX2Count.print(SAX2Count.java:67)
        at SAX2Count.main(Compiled Code)

I then ran Counter.java against the same 2.5 gig xml file using Xerces 2.0.1 on 
the same box and it parsed fine.  Any ideas on why I'm getting this 
RuntimeException?

Thanks,

Paul