You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/05/10 02:12:11 UTC

DO NOT REPLY [Bug 8954] New: - java.lang.RuntimeException (using Xerces 1.4.2 parser)

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8954>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8954

java.lang.RuntimeException (using Xerces 1.4.2 parser) 

           Summary: java.lang.RuntimeException (using Xerces 1.4.2 parser)
           Product: Xerces-J
           Version: 1.4.2
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: SAX
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: borgcc@yahoo.com


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

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