Aki Yoshida created CXF-4922:
--------------------------------
Summary: 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
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