Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.7, 3.1.4
-
None
-
Unknown
Description
From commit https://github.com/apache/cxf/commit/f399b9290e42726e30333f261d8d7f6abc4768cc
Paranthesis error in if
if (binding instanceof AbstractSymmetricAsymmetricBinding && (ProtectionOrder.EncryptBeforeSigning == ((AbstractSymmetricAsymmetricBinding)binding).getProtectionOrder()) || ((AbstractSymmetricAsymmetricBinding)binding).isProtectTokens())
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)