473,231 Members | 1,553 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,231 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?

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 3376
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

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

Similar topics

0
by: peter greaves | last post by:
hi everyone i am having a bad time with an entity resolver. my application uses a resolver to locally-cache the nested schemas that the basic xsd includes to a local directory. however i am...
2
by: Christophe Geraud | last post by:
I got the following exception with Castor: "The prefix 'xml' is reserved (XML 1.0 Specification) and cannot be declared." I got this exception using or not a mapping file. Can anyone tell what it...
1
by: Jo | last post by:
Hello, What am I doing wrong ? I always end up with an exception regardless of the provided XML/XSLT (although to ensure the correctness of the provide input files I've used the ones which comes...
5
by: Nick Flandry | last post by:
I'm running into an Invalid Cast Exception on an ASP.NET application that runs fine in my development environment (Win2K server running IIS 5) and a test environment (also Win2K server running IIS...
0
by: Martin Himmel | last post by:
Hello Newsgroup, I want to build xerces.lib (actually dynamical, but as there are many linker errors using the dll, the static .lib version) ich möchte die xercesc-lib erstellen. eigentlich die...
1
by: Martin Himmel | last post by:
Hello Newsgroup, I want to build xerces.lib (actually dynamical, but as there are many linker errors using the dll, the static .lib version) ich möchte die xercesc-lib erstellen. eigentlich die...
14
by: budy_ludy | last post by:
Hi All, I am new to vb .net, I have an ArrayList and i store class objects in it, and later i want to retrieve each ArrayList items and type cast to the class, How can it be done ? I used...
9
by: Pep | last post by:
Hi anyone know of a C++ class capable of parsing a XML stream in to elements? I have tried using the xerces class but unfortunately this requires me to do a lot of complex processing to isolate...
1
by: Blocksom | last post by:
I am new to Java and XML and I am trying to solve a problem that has bothered for few days. I have download the parser Xerser-1.4.3 and jdk1.5.0_06I install the JDK first and test it, it...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.