You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2007/05/11 00:25:15 UTC

[jira] Assigned: (CXF-643) Soap11FaultOutInterceptor creates NPE due to call on writer w/o starting element

     [ https://issues.apache.org/jira/browse/CXF-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp reassigned CXF-643:
-------------------------------

    Assignee: Daniel Kulp

> 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
>         Assigned To: Daniel Kulp
>         Attachments: CXF-643.jgenender.patch, CXF-643.jgenender.patch
>
>
> 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.