SAX2DOM.<init>() has thrown a ClassCastException

java.lang.ClassCastException
Javadoc
Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance. For example, the following code generates a ClassCastException:
    Object x = new Integer(0);
    System.out.println((String)x);
@author unascribed @since JDK1.0
at org.apache.xerces.parsers.DOMParser.<init>
(source)
at org.apache.xerces.parsers.DOMParser.<init>
(source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>
(source)
at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder
(source)
at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.createDocument
(source)
at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.<init>
(source)
5 frames hidden

Typical Exception Messages

  1. org.apache.xerces.parsers.XML11Configuration
  2. org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
  3. IzPack compilation ERROR
  4. <No message>
  5. CONFIGURATION FAILED! org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration

Origin

DocumentBuilderFactoryImpl.newDocumentBuilder() has thrown a ClassCastException

java.lang.ClassCastException
3 frames hidden
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder
21Web pages

Similar

Specific cases

External results for this pattern (5)

  1. Unknown authorvia netbeans.org5 months ago
    org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
    Show stack trace
  2. 804548via Oracle Community5 months ago
    org.apache.xerces.parsers.XML11Configuration
    Show stack trace
  3. Unknown authorvia com.br5 months ago
    CONFIGURATION FAILED! org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
    Show stack trace
  4. André Hiroshi da Silvavia Google Groups6 months ago
    No message found for this stack trace.
    Show stack trace
  5. Julien CARSIQUEvia Google Groups1 year ago