java.lang.AssertionError

java.lang.ClassCastException: org.apache.wss4j.policy.model.TransportBinding cannot be cast to org.apache.wss4j.policy.model.AbstractSymmetricAsymmetricBinding

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1823

  • java.lang.ClassCastException: org.apache.wss4j.policy.model.TransportBinding cannot be cast to org.apache.wss4j.policy.model.AbstractSymmetricAsymmetricBinding
  • java.lang.ClassCastException: org.apache.wss4j.policy.model.TransportBinding cannot be cast to org.apache.wss4j.policy.model.AbstractSymmetricAsymmetricBinding
  • java.lang.ClassCastException: org.apache.wss4j.policy.model.TransportBinding cannot be cast to org.apache.wss4j.policy.model.AbstractSymmetricAsymmetricBinding
  • Stack trace

    • java.lang.AssertionError: java.lang.ClassCastException: org.apache.wss4j.policy.model.TransportBinding cannot be cast to org.apache.wss4j.policy.model.AbstractSymmetricAsymmetricBinding at org.apache.cxf.ws.security.wss4j.policyhandlers.AbstractBindingBuilder.<init>(AbstractBindingBuilder.java:207) at org.apache.cxf.ws.security.wss4j.policyhandlers.TransportBindingHandler.<init>(TransportBindingHandler.java:92) at org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor$PolicyBasedWSS4JOutInterceptorInternal.handleMessageInternal(PolicyBasedWSS4JOutInterceptor.java:184) at org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor$PolicyBasedWSS4JOutInterceptorInternal.handleMessage(PolicyBasedWSS4JOutInterceptor.java:109) at org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor$PolicyBasedWSS4JOutInterceptorInternal.handleMessage(PolicyBasedWSS4JOutInterceptor.java:96) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:416) at org.apache.camel.component.cxf.CxfProducer.process(CxfProducer.java:120) at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190) at org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:668) at org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:596) at org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:237) at org.apache.camel.processor.RecipientList.sendToRecipientList(RecipientList.java:178) at org.apache.camel.component.bean.MethodInfo$1.doProceed(MethodInfo.java:286) at org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:252) at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:177) at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190) at org.apache.camel.processor.Pipeline.process(Pipeline.java:121) at org.apache.camel.processor.Pipeline.process(Pipeline.java:83) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190) at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:62) at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:141) at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190) at org.apache.camel.processor.Pipeline.process(Pipeline.java:121) at org.apache.camel.processor.Pipeline.process(Pipeline.java:83) at org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:117) at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190) at org.apache.camel.processor.Pipeline.process(Pipeline.java:121) at org.apache.camel.processor.Pipeline.access$100(Pipeline.java:44) at org.apache.camel.processor.Pipeline$1.done(Pipeline.java:139) at org.apache.camel.processor.CamelInternalProcessor$InternalCallback.done(CamelInternalProcessor.java:250) at org.apache.camel.processor.RedeliveryErrorHandler$1.done(RedeliveryErrorHandler.java:472) at org.apache.camel.processor.SendProcessor$1.done(SendProcessor.java:151) at org.apache.camel.processor.CamelInternalProcessor$InternalCallback.done(CamelInternalProcessor.java:250) at org.apache.camel.processor.Pipeline$1.done(Pipeline.java:148) at org.apache.camel.processor.CamelInternalProcessor$InternalCallback.done(CamelInternalProcessor.java:250) at org.apache.camel.processor.RedeliveryErrorHandler$1.done(RedeliveryErrorHandler.java:472) at org.apache.camel.processor.MulticastProcessor.doDone(MulticastProcessor.java:895) at org.apache.camel.processor.MulticastProcessor$2.done(MulticastProcessor.java:775) at org.apache.camel.processor.CamelInternalProcessor$InternalCallback.done(CamelInternalProcessor.java:250) at org.apache.camel.processor.RedeliveryErrorHandler$1.done(RedeliveryErrorHandler.java:472) at org.apache.camel.component.cxf.CxfClientCallback.handleResponse(CxfClientCallback.java:61) at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:819) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:1167) at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:428) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:353) at java.lang.Thread.run(Thread.java:745)

    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’re the first here who have seen this exception.