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:12:15 UTC
[jira] Updated: (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 ]
Jeff Genender updated CXF-642:
------------------------------
Attachment: CXF-642.jgenender.patch
> 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
> 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.