471,118 Members | 1,142 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,118 software developers and data experts.

Class Cast Exception in Xerces setChunkValue

I'm getting the following error after a couple of months of XML processing, using Xerces 2.0.0 in an apache tomcat. Does anyone have any ideas what this problem may be or what I should do to solve it?



The exception is...

at org.apache.xerces.dom.DeferredDocumentImpl.setChun kValue(Unknown Source)
at org.apache.xerces.dom.DeferredDocumentImpl.createD eferredElement(Unknown Source)
at org.apache.xerces.parsers.AbstractDOMParser.startE lement(Unknown Source)
at org.apache.xerces.impl.XMLNamespaceBinder.handleSt artElement(Unknown Source)
at org.apache.xerces.impl.XMLNamespaceBinder.startEle ment(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startEl ement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$Cont entDispatcher.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.StandardParserConfigurat ion.parse(Unknown Source)
at org.apache.xerces.parsers.StandardParserConfigurat ion.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
May 4 '06 #1
2 3191
A large number of Class Cast Exception have been resolved in 2.0.2 of which I believe is one. See http://xerces.apache.org/xerces2-j/releases.html for more information. Try upgrading your xerces version and this problem should be resolved.
May 4 '06 #2
I shall try this, thanks.
May 4 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Christophe Geraud | last post: by
1 post views Thread by Jo | last post: by
5 posts views Thread by Nick Flandry | last post: by
9 posts views Thread by Pep | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.