javax.xml.ws.soap.SOAPFaultException

org.apache.neethi.builders.PolicyContainingPrimitiveAssertion cannot be cast to org.apache.wss4j.policy.model.AlgorithmSuite


Solutions on the web329

Solution icon of stackoverflow
org.apache.neethi.builders.PolicyContainingPrimitiveAssertion cannot be cast to org.apache.wss4j.policy.model.AlgorithmSuite

Solution icon of stackoverflow
java.net.URL cannot be cast to java.lang.String

Solution icon of coderanch
via Coderanch by Raghu Nandakumar, 7 months ago
java.lang.String cannot be cast to java.lang.Boolean

Solution icon of sourceforge
java.lang.ClassCastException: org.signserver.common.GenericValidationRequest cannot be cast to org.signserver.common.ISignRequest

Solution icon of web
via coderanch.com by Unknown author, 1 year ago
java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.Long;

Solution icon of kuali
via Kuali JIRA by Kyle Campos, 1 year ago
java.lang.ClassCastException: org.springframework.aop.framework.JdkDynamicAopProxy cannot be cast to org.apache.cxf.frontend.ClientProxy

Solution icon of kuali
via Kuali JIRA by Kyle Campos, 1 year ago
java.lang.ClassCastException: org.springframework.aop.framework.JdkDynamicAopProxy cannot be cast to org.apache.cxf.frontend.ClientProxy

Solution icon of web
org.apache.neethi.builders.PrimitiveAssertion cannot be cast to org.apache.cxf.ws.security.policy.model.Token

Solution icon of coderanch
via Coderanch by Markus Schmider, 8 months ago
java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.Long;

Solution icon of github
org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration

Stack trace

  • javax.xml.ws.soap.SOAPFaultException: org.apache.neethi.builders.PolicyContainingPrimitiveAssertion cannot be cast to org.apache.wss4j.policy.model.AlgorithmSuite at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:161) at com.sun.proxy.$Proxy68.creditSearch(Unknown Source) at uk.co.example.service.TestServiceClient.directSearch(TestServiceClient.java:139) at uk.co.example.service.TestServiceClient.main(TestServiceClient.java:71) Caused by: java.lang.ClassCastException: org.apache.neethi.builders.PolicyContainingPrimitiveAssertion cannot be cast to org.apache.wss4j.policy.model.AlgorithmSuite at org.apache.wss4j.policy.model.AbstractBinding.parseNestedBindingPolicy(AbstractBinding.java:78) at org.apache.wss4j.policy.model.AbstractBinding.<init>(AbstractBinding.java:43) at org.apache.wss4j.policy.model.TransportBinding.<init>(TransportBinding.java:36) at org.apache.wss4j.policy.builders.TransportBindingBuilder.build(TransportBindingBuilder.java:45) at org.apache.wss4j.policy.builders.TransportBindingBuilder.build(TransportBindingBuilder.java:34) at org.apache.neethi.AssertionBuilderFactoryImpl.invokeBuilder(AssertionBuilderFactoryImpl.java:138) at org.apache.neethi.AssertionBuilderFactoryImpl.build(AssertionBuilderFactoryImpl.java:117) at org.apache.neethi.PolicyBuilder.processOperationElement(PolicyBuilder.java:224) at org.apache.neethi.PolicyBuilder.getAllOperator(PolicyBuilder.java:184) at org.apache.neethi.PolicyBuilder.processOperationElement(PolicyBuilder.java:217) at org.apache.neethi.PolicyBuilder.getExactlyOneOperator(PolicyBuilder.java:180) at org.apache.neethi.PolicyBuilder.processOperationElement(PolicyBuilder.java:215) at org.apache.neethi.PolicyBuilder.getPolicyOperator(PolicyBuilder.java:174) at org.apache.neethi.PolicyBuilder.getPolicy(PolicyBuilder.java:124) at org.apache.cxf.ws.policy.attachment.reference.LocalServiceModelReferenceResolver.resolveReference(LocalServiceModelReferenceResolver.java:53)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

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.