You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jim Ma (JIRA)" <ji...@apache.org> on 2012/07/06 07:23:33 UTC

[jira] [Created] (CXF-4408) NPE in DOMUtils when soap header contains null namespace element

Jim Ma created CXF-4408:
---------------------------

             Summary: 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


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

        

[jira] [Updated] (CXF-4408) NPE in DOMUtils when soap header contains null namespace element

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

Alessio Soldano updated CXF-4408:
---------------------------------

    Fix Version/s: 2.7.0

http://svn.apache.org/viewvc?view=revision&revision=1358045
                
> 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.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

        

[jira] [Resolved] (CXF-4408) NPE in DOMUtils when soap header contains null namespace element

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

Jim Ma resolved CXF-4408.
-------------------------

    Resolution: Fixed
      Assignee: Jim Ma
    
> 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
>
> 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

        

[jira] [Updated] (CXF-4408) NPE in DOMUtils when soap header contains null namespace element

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