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


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.

Reply via email to