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

Aki Yoshida resolved CXF-4922.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.6.7
                   2.7.4
                   2.8.0
    
> NPE is thrown at EP creation when no service class is specified and the wsdl 
> cannot be loaded
> ---------------------------------------------------------------------------------------------
>
>                 Key: CXF-4922
>                 URL: https://issues.apache.org/jira/browse/CXF-4922
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.7.3
>            Reporter: Aki Yoshida
>            Assignee: Aki Yoshida
>            Priority: Minor
>             Fix For: 2.8.0, 2.7.4, 2.6.7
>
>
> ReflectionServiceFactoryBean is falling back to use the service class to 
> initialize the endpoint when the provided wsdl cannot be loaded (e.g., not 
> found). This can lead to an NPE, as the service class can be null.
> This patch adds a check to verify this condition and throws an appropriate 
> unchecked exception (ServiceConstructionException) instead.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to