RiftsawBPELExchangeHandler sets the empty string to <faultstring> element in SOAP fault message maybe because BPEL define value for this element. This causes a NullPointerException in method com.sun.xml.messaging.saaj.soap.impl.ElementImp#addTextNodel. Bug is reproducible when you throw a fault in BPEL component "B" and try try to catch in BPEL component "A". You must use a composite reference to call component "B" from component "A"!
{{ 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_1.Fault1_1Impl.setFaultString(Fault1_1Impl.java:170) at org.switchyard.component.soap.util.SOAPUtil.generateFault(SOAPUtil.java:425) [switchyard-component-soap-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]}}
Problem is here.
|