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)
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.
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
Alas, poor Yorick, he knew this tiny ad:
Gift giving made easy with the permaculture playing cards