[
https://issues.apache.org/jira/browse/CXF-4408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp updated CXF-4408:
-----------------------------
Fix Version/s: 2.6.2
2.5.5
2.4.9
> NPE in DOMUtils when soap header contains null namespace element
> ----------------------------------------------------------------
>
> Key: CXF-4408
> URL: https://issues.apache.org/jira/browse/CXF-4408
> Project: CXF
> Issue Type: Bug
> Reporter: Jim Ma
> Assignee: Jim Ma
> Fix For: 2.4.9, 2.5.5, 2.6.2, 2.7.0
>
>
> When ReadHeaderInterceptor process the follow inbound soap message , DOMUtils
> throws NPE for the null namespace "Header" element:
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:foo="http://cxf.apache.org/foo"
> xmlns:bar="http://cxf.apache.org/bar">
> <soapenv:Header>
> <foo:myheader>
> <Header>
> <bar:type>mytype</head:type>
> </Header>
> </foo:myheader>
> </soapenv:Header>
> A NPE guard is needed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira