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 16:58:15 UTC

[jira] Resolved: (CXF-642) StaxUtil should test for null NamespaceContext in getUniquePrefix

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

Daniel Kulp resolved CXF-642.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.0

Patch applied.  Thanks!


> StaxUtil should test for null NamespaceContext in getUniquePrefix
> -----------------------------------------------------------------
>
>                 Key: CXF-642
>                 URL: https://issues.apache.org/jira/browse/CXF-642
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0
>            Reporter: Jeff Genender
>         Assigned To: Daniel Kulp
>             Fix For: 2.0
>
>         Attachments: CXF-642.jgenender.patch
>
>
> StaxUtil.getUniquePrefix() makes a call to writer.getNamespaceContext().getNamespaceURI(nsPrefix)  and if the NamespaceContext is null, it will NPE.
> Patch attached.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.