java.lang.ClassCastException: com.xxx.ddd.ppp cannot be cast to org.opensaml.xml.schema.XSAny

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

Solutions on the web

via Google Groups by rangeli nepal, 10 months ago
com.xxx.ddd.ppp cannot be cast to org.opensaml.xml.schema.XSAny
via Stack Overflow by Gaurav Sood
, 3 months ago
org.opensaml.saml1.core.impl.AssertionImpl cannot be cast to org.opensaml.xml.schema.XSAny
java.lang.ClassCastException: com.xxx.ddd.ppp cannot be cast to org.opensaml.xml.schema.XSAny
at org.opensaml.xml.schema.impl.XSAnyMarshaller.marshallAttributes(XSAnyMarshaller.java:39)
at org.opensaml.xml.io.AbstractXMLObjectMarshaller.marshallInto(AbstractXMLObjectMarshaller.java:222)
at org.opensaml.xml.io.AbstractXMLObjectMarshaller.marshall(AbstractXMLObjectMarshaller.java:175)
at org.opensaml.xml.io.AbstractXMLObjectMarshaller.marshallChildElements(AbstractXMLObjectMarshaller.java:316)
at org.opensaml.xml.io.AbstractXMLObjectMarshaller.marshallInto(AbstractXMLObjectMarshaller.java:224)
at org.opensaml.xml.io.AbstractXMLObjectMarshaller.marshall(AbstractXMLObjectMarshaller.java:175)
at org.opensaml.xml.io.AbstractXMLObjectMarshaller.marshallChildElements(AbstractXMLObjectMarshaller.java:316)
at org.opensaml.xml.io.AbstractXMLObjectMarshaller.marshallInto(AbstractXMLObjectMarshaller.java:224)
at org.opensaml.xml.io.AbstractXMLObjectMarshaller.marshall(AbstractXMLObjectMarshaller.java:130)
at org.opensaml.xml.io.AbstractXMLObjectMarshaller.marshall(AbstractXMLObjectMarshaller.java:86)
at biz.neustar.dece.saml.SAMLAuthnRequest.buildAuthnRequest(SAMLAuthnRequest.java:331)
at biz.neustar.dece.saml.SAMLAuthnRequest.getAuthnRequest(SAMLAuthnRequest.java:357)
at biz.neustar.dece.saml.SAMLAuthnRequest.main(SAMLAuthnRequest.java:427)

Users with the same issue

You are the first who have seen this exception.

Write tip

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