Class cast exception during migration from OpenSAML 2.x to OpenSAML3.x
DD K
ddk05361 at gmail.com
Sun Aug 4 10:16:49 EDT 2019
Hi all,
I came across this exception,
*java.lang.ClassCastException: org.opensaml.xml.schema.impl.XSAnyBuilder
cannot be cast to org.opensaml.core.xml.XMLObjectBuilder at
org.opensaml.core.xml.config.XMLConfigurator.initializeObjectProviders(XMLConfigurator.java:238)
at
org.opensaml.core.xml.config.XMLConfigurator.load(XMLConfigurator.java:203)
at
org.opensaml.core.xml.config.XMLConfigurator.load(XMLConfigurator.java:188)
at
org.opensaml.core.xml.config.XMLConfigurator.load(XMLConfigurator.java:162)
at
org.opensaml.core.xml.config.AbstractXMLObjectProviderInitializer.init(AbstractXMLObjectProviderInitializer.java:52)
at
org.opensaml.core.xml.config.XMLObjectProviderInitializer.init(XMLObjectProviderInitializer.java:45)
at
org.opensaml.core.config.InitializationService.initialize(InitializationService.java:56)
at
org.wso2.carbon.identity.sso.saml.util.AssertionBuildingTest.getSPInitAuthReqValidatorWithInvalidClass(AssertionBuildingTest.java:240)*
I have already searched the net for this error and the only thing i came
across was that there is a clash between *xmtooling and openws *at
OpenSAML2.x and OpenSAML3.x dependencies. So, what i need to know is
whether this is the only cause for the exception mentioned above.
Any support/answers will be really appreciated
Thanks,
Deshan Koswatte
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20190804/109129f8/attachment.html>
More information about the dev
mailing list