cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Genender (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-643) Soap11FaultOutInterceptor creates NPE due to call on writer w/o starting element
Date Thu, 10 May 2007 22:19:15 GMT

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

Jeff Genender updated CXF-643:
------------------------------

    Attachment: CXF-643.jgenender.patch

> 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
>         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.


Mime
View raw message