**[E.Vologodsky](https://jira.spring.io/secure/ViewProfile.jspa?name=blackbird)** opened **[SWS-566](https://jira.spring.io/browse/SWS-566?redirect=false)** and commented ```java public EndpointInvocationChain getEndpoint(MessageContext messageContext) throws Exception { EndpointInvocationChain delegateChain = delegate.getEndpoint(messageContext); return new SoapEndpointInvocationChain(delegateChain.getEndpoint(), delegateChain.getInterceptors(), actorsOrRoles, isUltimateReceiver); } ``` delegate.getEndpoint() can return null --- **Affects:** 1.5.8