This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

While Parsing java.lang.InternalError: fillbuf

 
Bhushan Mahajan
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
Jitesh Sinha
Ranch Hand
Posts: 146
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13047
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic