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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via xerces-j-users by Mark Lines-Davies, 1 year ago
org.apache.xerces.impl.xs.XSComplexTypeDecl
via xerces-j-users by Mark Lines-Davies, 1 year ago
org.apache.xerces.impl.xs.XSComplexTypeDecl
via xerces-j-users by Mark Lines-Davies, 4 months ago
org.apache.xerces.impl.xs.XSComplexTypeDecl
via xerces-j-users by Mark Lines-Davies, 4 months ago
org.apache.xerces.impl.xs.XSComplexTypeDecl
java.lang.ClassCastException: org.apache.xerces.impl.xs.XSComplexTypeDecl
at org.apache.xerces.impl.xs.traversers.XSDSimpleTypeTraverser.findDTValidator(XSDSimpleTypeTraverser.java:530)
at org.apache.xerces.impl.xs.traversers.XSDSimpleTypeTraverser.traverseSimpleTypeDecl(XSDSimpleTypeTraverser.java:327)
at org.apache.xerces.impl.xs.traversers.XSDSimpleTypeTraverser.traverseLocal(XSDSimpleTypeTraverser.java:155)
at org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseNamedElement(XSDElementTraverser.java:328)
at org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseLocal(XSDElementTraverser.java:188)
at org.apache.xerces.impl.xs.traversers.XSDHandler.traverseLocalElements(XSDHandler.java:1174)
at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:371)
at org.apache.xerces.impl.xs.XMLSchemaValidator.parseSchemas(XMLSchemaValidator.java:1699)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1280)
at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:511)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:830)
at org.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBinder.java:566)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:786)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:751)
at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(XMLDocumentScannerImpl.java:935)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1514)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:332)
at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:510)
at com.sony.antenne.ValidatingParserConfiguration.parse(ValidatingParserConfiguration.java:27)
at com.sony.antenne.ValidatingParser.parse(ValidatingParser.java:58)
at com.sony.antenne.ValidatingParser.parse(ValidatingParser.java:69)
at com.sony.antenne.Schema.validate(Schema.java:34)
at com.sony.antenne.InboundMessage.validate(InboundMessage.java:43)
at com.sony.antenne.InboundMessage.process(InboundMessage.java:31)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.