GeeCON Prague 2014*
The moose likes XML and Related Technologies and the fly likes While Parsing  java.lang.InternalError: fillbuf Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "While Parsing  java.lang.InternalError: fillbuf" Watch "While Parsing  java.lang.InternalError: fillbuf" New topic
Author

While Parsing java.lang.InternalError: fillbuf

Bhushan Mahajan
Greenhorn

Joined: Sep 19, 2003
Posts: 9
I am getting Following error while parsing a XML file of 4.56MB.
Can anyone please tell me why I am getting this Error and what can be done to eliminate this.

Exception in cache.x03.PageFlipForAll.getAllpages()Throwable=java.lang.InternalError: fillbuf
java.lang.InternalError: fillbuf
at com.sun.xml.parser.InputEntity.parsedContent(InputEntity.java:477)
at com.sun.xml.parser.Parser.content(Parser.java:1542)
at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
at com.sun.xml.parser.Parser.content(Parser.java:1499)
at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
at com.sun.xml.parser.Parser.content(Parser.java:1499)
at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
at com.sun.xml.parser.Parser.content(Parser.java:1499)
at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
at com.sun.xml.parser.Parser.content(Parser.java:1499)
at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
at com.sun.xml.parser.Parser.content(Parser.java:1499)
at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
at com.sun.xml.parser.Parser.parseInternal(Parser.java:492)
at com.sun.xml.parser.Parser.parse(Parser.java:284)
at PageFlipForAll.getAllpages(PageFlipForAll.java:151)
at PageFlipForAll.main(PageFlipForAll.java:767)


Cheers<br />Bhushan
Jitesh Sinha
Ranch Hand

Joined: Jun 19, 2004
Posts: 146
I am also getting this error.Searching on net tells me it is a known defect in jdk and I need to replace crimson.jar file.Problem is,I don't even have a crimson.jar file in my project.Do I just need to include the latest version of this file and that will solve the problem?
The apache site has got a year 2001 version of this file and I don't know if that is the correct jar file.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12791
    
    5
The most important question is "which version of Java sdk are you working with" - note that the original post is quite old.

A google search for crimson.jar reveals that the last release of crimson was in 2001 - I recommend you work with the standard XML library in the Java 1.6 release - vastly improved since 2001.

Bill
 
GeeCON Prague 2014
 
subject: While Parsing java.lang.InternalError: fillbuf