The class AbstractFutureCallback throws a NullPointerException when the server is secured with basic authentication and the camel client fails to provide the correct credentials.
- Implement an odata server secured with basic authentication;
- Crate a camel route to access the odata server but do not specify the correct authentication credentials;
- While fetching the Edm object from the endpoint proxy, an http client request is made using the provided parameters and of course fails with a 401 error.
- The response is processed by AbstractFutureCallback but responseContentType is null hence the NPE.