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-5872) JAXB Dispatch clients try to create a JAX-WS exception and NPE
Date Fri, 11 Jul 2014 19:15:06 GMT

     [ https://issues.apache.org/jira/browse/CXF-5872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp resolved CXF-5872.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.1
                   2.7.12
                   2.6.15

> JAXB Dispatch clients try to create a JAX-WS exception and NPE
> --------------------------------------------------------------
>
>                 Key: CXF-5872
>                 URL: https://issues.apache.org/jira/browse/CXF-5872
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.7.11, 3.0.0
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>             Fix For: 2.6.15, 2.7.12, 3.0.1
>
>
> JAX-WS Dispatch clients using a JAXB Context will use the context to parse returned faults
into a JAXB object.  However, the next step in the ClientFaultConverter is to try and create
an Exception object that is throwable from that.  Since Dispatch objects don't have the generated
exceptions, this results in a null class and the cls.getConstructor calls will NPE.   Should
just allow the default SOAPFaultException for dispatch clients.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message