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

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

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.


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

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-643.
-----------------------------

    Resolution: Fixed

Patch applied.   Thanks!


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


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

Posted by "Jeff Genender (JIRA)" <ji...@apache.org>.
     [ 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

Whoops...needed to give the license.

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


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

Posted by "Jeff Genender (JIRA)" <ji...@apache.org>.
     [ 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.