提供者不受支持,或输入不正确

Provider is not supported, or was incorrectly entered

我已经在本地主机上安装了 gerrit 服务器设置。成功连接后,Web UI 已启动。我已经在 "Sign in with a Launchpad ID" 选项中用我的 gmail id 注册了。
它早些时候工作,但现在它在我尝试登录时显示错误 "Provider is not supported, or was incorrectly entered."。我搜索了很多,找到了一些关于系统中安装的 java 安全问题的解决方案。我的系统中有 Oracle Jdk8 而不是 OpenJdk。所以我应该切换到 Open Jdk。这是我来自日志文件的错误日志消息。

Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:90)
    at sun.security.validator.Validator.getInstance(Validator.java:179)
    at sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:312)
    at sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:171)
    at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:184)
    at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
    at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491)
    at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
    at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
    at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
    ... 66 more
Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:200)
    at java.security.cert.PKIXParameters.<init>(PKIXParameters.java:120)
    at java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters.java:104)
    at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:88)
    ... 78 more

问题已解决!

因为我一直在使用 Oracle Java 8,所以我已经使用以下命令安装了 Open Jdk 7。

sudo apt-get install ca-certificates-java

但只有当我更改 gerrit.config 文件中的 java 主变量时问题才得到解决。

javaHome = /usr/lib/jvm/java-7-openjdk-amd64/jre 

现在我的问题已经解决了..