Configure provider with no network NullPointer
When attempting to configure a provider (preseeded or manual) without a network connection, the app runs into a NullPointerException.
@ProviderAPI.validCertificate(String cert_string)@ gets called with the string '@{ "errors" : "Server is down." }@'
This results in @X509Certificate certCert@ being @null@, which results in a NullPointerException in line 454 of ProviderAPI.java: @Base64.encodeToString( certCert.getEncoded(), Base64.DEFAULT);@
(from redmine: created on 2013-12-10, closed on 2013-12-12)
- Relations:
- parent #3361 (closed)