468,771 Members | 1,683 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,771 developers. It's quick & easy.

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?

cheers,

Vlad

The exception is...

tv.ditg.sdl.ParsingException:
tv.ditg.sdl.ParsingException:
java.lang.ClassCastException:
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 3099
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
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.