cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-4265) Potential NPE when Soap fault has no role
Date Tue, 24 Apr 2012 19:07:33 GMT

     [ 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

        

Mime
View raw message