You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In SoapV1.2 when service provider return a soap fault without faultactor element SOAPUtil will NPE when converting that to a SOAPFault. There was a similar bug in Apache CXF before. Apache CXF issue link
Caused by: java.lang.NullPointerException
at com.sun.xml.messaging.saaj.soap.impl.ElementImpl.addTextNode(ElementImpl.java:455)
at com.sun.xml.messaging.saaj.soap.ver1_2.Fault1_2Impl.setFaultRole(Fault1_2Impl.java:338)
at com.sun.xml.messaging.saaj.soap.ver1_2.Fault1_2Impl.setFaultActor(Fault1_2Impl.java:574)
at org.switchyard.component.soap.util.SOAPUtil.generateFault(SOAPUtil.java:470) [switchyard-component-soap-1.1.1-p5-redhat-1.jar:1.1.1-p5-redhat-1]
at org.switchyard.component.soap.util.SOAPUtil.generateSOAP12Fault(SOAPUtil.java:453) [switchyard-component-soap-1.1.1-p5-redhat-1.jar:1.1.1-p5-redhat-1]
at org.switchyard.component.soap.util.SOAPUtil.generateFault(SOAPUtil.java:426) [switchyard-component-soap-1.1.1-p5-redhat-1.jar:1.1.1-p5-redhat-1]
at org.switchyard.component.soap.OutboundHandler.invokeService(OutboundHandler.java:332) [switchyard-component-soap-1.1.1-p5-redhat-1.jar:1.1.1-p5-redhat-1]
at org.switchyard.component.soap.OutboundHandler.handleMessage(OutboundHandler.java:273) [switchyard-component-soap-1.1.1-p5-redhat-1.jar:1.1.1-p5-redhat-1]
at org.switchyard.bus.camel.processors.ProviderProcessor.process(ProviderProcessor.java:29) [switchyard-bus-camel-1.1.1-p5-redhat-1.jar:1.1.1-p5-redhat-1]
at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) [camel-core-2.10.0.redhat-60024.jar:2.10.0.redhat-60024]
The text was updated successfully, but these errors were encountered:
luozengbin
changed the title
NPE when SoapV12 fault has no faultactor
[SWITCHYARD-2053]NPE when SoapV12 fault has no faultactor
Apr 24, 2014
In SoapV1.2 when service provider return a soap fault without faultactor element SOAPUtil will NPE when converting that to a SOAPFault. There was a similar bug in Apache CXF before. Apache CXF issue link
The text was updated successfully, but these errors were encountered: