java.lang.ClassCastException: org.apache.xerces.impl.xs.XSComplexTypeDecl

xerces-j-users | Mark Lines-Davies | 2 decades ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ClassCastException in DOMParser

    xerces-j-users | 2 decades ago | Mark Lines-Davies
    java.lang.ClassCastException: org.apache.xerces.impl.xs.XSComplexTypeDecl
  2. 0

    RE: ClassCastException in DOMParser

    xerces-j-users | 2 decades ago | Mark Lines-Davies
    java.lang.ClassCastException: org.apache.xerces.impl.xs.XSComplexTypeDecl

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.apache.xerces.impl.xs.XSComplexTypeDecl

      at org.apache.xerces.impl.xs.traversers.XSDSimpleTypeTraverser.findDTValidator()
    2. Xerces2-j
      StandardParserConfiguration.parse
      1. org.apache.xerces.impl.xs.traversers.XSDSimpleTypeTraverser.findDTValidator(XSDSimpleTypeTraverser.java:530)
      2. org.apache.xerces.impl.xs.traversers.XSDSimpleTypeTraverser.traverseSimpleTypeDecl(XSDSimpleTypeTraverser.java:327)
      3. org.apache.xerces.impl.xs.traversers.XSDSimpleTypeTraverser.traverseLocal(XSDSimpleTypeTraverser.java:155)
      4. org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseNamedElement(XSDElementTraverser.java:328)
      5. org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseLocal(XSDElementTraverser.java:188)
      6. org.apache.xerces.impl.xs.traversers.XSDHandler.traverseLocalElements(XSDHandler.java:1174)
      7. org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:371)
      8. org.apache.xerces.impl.xs.XMLSchemaValidator.parseSchemas(XMLSchemaValidator.java:1699)
      9. org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1280)
      10. org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:511)
      11. org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:830)
      12. org.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBinder.java:566)
      13. org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:786)
      14. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:751)
      15. org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(XMLDocumentScannerImpl.java:935)
      16. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1514)
      17. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:332)
      18. org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:510)
      18 frames
    3. com.sony.antenne
      ValidatingParserConfiguration.parse
      1. com.sony.antenne.ValidatingParserConfiguration.parse(ValidatingParserConfiguration.java:27)
      1 frame
    4. Xerces2-j
      XMLParser.parse
      1. org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:148)
      1 frame
    5. com.sony.antenne
      InboundMessage.process
      1. com.sony.antenne.ValidatingParser.parse(ValidatingParser.java:58)
      2. com.sony.antenne.ValidatingParser.parse(ValidatingParser.java:69)
      3. com.sony.antenne.Schema.validate(Schema.java:34)
      4. com.sony.antenne.InboundMessage.validate(InboundMessage.java:43)
      5. com.sony.antenne.InboundMessage.process(InboundMessage.java:31)
      5 frames