AndroidWebServiceManager
AndroidWebServiceManager copied to clipboard
Exception thrown upon setting up trustManager upon initialization
Partial stack trace:
java.lang.ExceptionInInitializerError
...
Caused by: java.lang.NullPointerException
at com.raizlabs.net.webservicemanager.WebServiceManager.setTrustManager(WebServiceManager.java:284)
... 13 more
@dylanrjames Looks like sslSocketFactory.getSSLContext() is null during setTrustManager() for some reason; I'm going to leave this to you to figure out if something bad is happening or if we just need a null check. Thanks!
That's bizzarre. If we don't have a context, we can't set the trust settings, so we'd need a more intelligent solution than just a null check here.