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 2012/04/24 19:43:34 UTC

[jira] [Created] (CXF-4265) Potential NPE when Soap fault has no role

Daniel Kulp created CXF-4265:
--------------------------------

             Summary: Potential NPE when Soap fault has no role
                 Key: CXF-4265
                 URL: https://issues.apache.org/jira/browse/CXF-4265
             Project: CXF
          Issue Type: Bug
          Components: JAX-WS Runtime
    Affects Versions: 2.6, 2.5.3, 2.4.7, 2.3.10
            Reporter: Daniel Kulp
            Assignee: Daniel Kulp
             Fix For: 2.6.1, 2.5.4, 2.4.8, 2.3.11



If a SoapFault does not have a "role" or "actor" defined, the JAX-WS frontend will NPE when converting that to a SOAPFault.

{code}
Exception in thread "main" java.lang.NullPointerException
        at
com.sun.xml.messaging.saaj.soap.impl.ElementImpl.addTextNode(ElementImpl.java:454)
        at
com.sun.xml.messaging.saaj.soap.ver1_2.Fault1_2Impl.setFaultRole(Fault1_2Impl.java:338)
        at
com.sun.xml.messaging.saaj.soap.ver1_2.Fault1_2Impl.setFaultActor(Fault1_2Impl.java:574)
        at
org.apache.cxf.jaxws.JaxWsClientProxy.createSoapFault(JaxWsClientProxy.java:219)
{code}

--
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-4265) Potential NPE when Soap fault has no role

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

Daniel Kulp resolved CXF-4265.
------------------------------

    Resolution: Fixed
    
> Potential NPE when Soap fault has no role
> -----------------------------------------
>
>                 Key: CXF-4265
>                 URL: https://issues.apache.org/jira/browse/CXF-4265
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.3.10, 2.4.7, 2.5.3, 2.6
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>             Fix For: 2.6.1, 2.5.4, 2.4.8, 2.3.11
>
>
> If a SoapFault does not have a "role" or "actor" defined, the JAX-WS frontend will NPE when converting that to a SOAPFault.
> {code}
> Exception in thread "main" java.lang.NullPointerException
>         at
> com.sun.xml.messaging.saaj.soap.impl.ElementImpl.addTextNode(ElementImpl.java:454)
>         at
> com.sun.xml.messaging.saaj.soap.ver1_2.Fault1_2Impl.setFaultRole(Fault1_2Impl.java:338)
>         at
> com.sun.xml.messaging.saaj.soap.ver1_2.Fault1_2Impl.setFaultActor(Fault1_2Impl.java:574)
>         at
> org.apache.cxf.jaxws.JaxWsClientProxy.createSoapFault(JaxWsClientProxy.java:219)
> {code}

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