Soap11FaultOutInterceptor creates NPE due to call on writer w/o starting element
--------------------------------------------------------------------------------
Key: CXF-643
URL: https://issues.apache.org/jira/browse/CXF-643
Project: CXF
Issue Type: Bug
Components: Soap Binding
Affects Versions: 2.0
Reporter: Jeff Genender
Soap11FaultOutInterceptor creates NPE due to call on writer w/o starting
element. It creates a writer, but then proceeds to call:
StaxUtils.getUniquePrefix(writer, ns, true);
This attempts to write a namespace but fails since there is no currentelement
(i.e. the writeStartElement has not been called). This causes a NPE exception
to occur in the W3CDOMStreamWriter.
Patch attached to make the calls in the appropriate order.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.