javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

Oracle Community | 843811 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    trustAnchors parameter

    Oracle Community | 1 decade ago | 843811
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
  2. 0

    SSL error performing public IP lookup.

    GitHub | 3 years ago | myleshorton
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
  3. 0

    intellij - upload google application error

    Stack Overflow | 6 years ago | mihai
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    CXF異常:org.apache.cxf.interceptor.Fault: Could not send Message_IT客

    itkee.com | 1 year ago
    org.apache.cxf.interceptor.Fault: Could not send Message. at org. .cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
  6. 0

    Get the following error: {code} 16:17:59 Upload failed: org.jenkinsci.plugins.googleplayandroidpublisher.UploadException: java.security.GeneralSecurityException: Unable to retrieve an access token with the provided credentials 16:17:59 at org.jenkinsci.plugins.googleplayandroidpublisher.CredentialsHandler.getServiceAccountCredentials(CredentialsHandler.java:42) 16:17:59 at org.jenkinsci.plugins.googleplayandroidpublisher.ApkPublisher.perform(ApkPublisher.java:302) 16:17:59 at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32) 16:17:59 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) 16:17:59 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) 16:17:59 at hudson.model.Build$BuildExecution.post2(Build.java:183) 16:17:59 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) 16:17:59 at hudson.model.Run.execute(Run.java:1784) 16:17:59 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 16:17:59 at hudson.model.ResourceController.execute(ResourceController.java:89) 16:17:59 at hudson.model.Executor.run(Executor.java:240) 16:17:59 Caused by: java.security.GeneralSecurityException: Unable to retrieve an access token with the provided credentials 16:17:59 at com.google.jenkins.plugins.credentials.oauth.RemotableGoogleCredentials.<init>(RemotableGoogleCredentials.java:70) 16:17:59 at com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials.forRemote(GoogleRobotCredentials.java:204) 16:17:59 at org.jenkinsci.plugins.googleplayandroidpublisher.CredentialsHandler.getServiceAccountCredentials(CredentialsHandler.java:26) 16:17:59 ... 10 more 16:17:59 Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty 16:17:59 at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190) 16:17:59 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1731) 16:17:59 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1692) 16:17:59 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1675) 16:17:59 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1204) 16:17:59 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1181) 16:17:59 at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434) 16:17:59 at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166) 16:17:59 at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1014) 16:17:59 at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230) 16:17:59 at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:77) 16:17:59 at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:965) 16:17:59 at com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed(TokenRequest.java:283) 16:17:59 at com.google.api.client.auth.oauth2.TokenRequest.execute(TokenRequest.java:307) 16:17:59 at com.google.api.client.googleapis.auth.oauth2.GoogleCredential.executeRefreshToken(GoogleCredential.java:269) 16:17:59 at com.google.api.client.auth.oauth2.Credential.refreshToken(Credential.java:489) 16:17:59 at com.google.jenkins.plugins.credentials.oauth.RemotableGoogleCredentials.<init>(RemotableGoogleCredentials.java:64) 16:17:59 ... 12 more 16:17:59 Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty 16:17:59 at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:57) 16:17:59 at sun.security.validator.Validator.getInstance(Validator.java:161) 16:17:59 at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:108) 16:17:59 at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:204) 16:17:59 at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249) 16:17:59 at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1185) 16:17:59 at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:136) 16:17:59 at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593) 16:17:59 at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529) 16:17:59 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:925) 16:17:59 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1170) 16:17:59 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1197) 16:17:59 ... 24 more 16:17:59 Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty 16:17:59 at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:183) 16:17:59 at java.security.cert.PKIXParameters.<init>(PKIXParameters.java:103) 16:17:59 at java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters.java:87) 16:17:59 at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:55) 16:17:59 ... 35 more {code}

    Jenkins JIRA | 2 years ago | Andrew Lin
    org.jenkinsci.plugins.googleplayandroidpublisher.UploadException: java.security.GeneralSecurityException: Unable to retrieve an access token with the provided credentials

    4 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.security.InvalidAlgorithmParameterException

      the trustAnchors parameter must be non-empty

      at java.security.cert.PKIXParameters.setTrustAnchors()
    2. Java RT
      Validator.getInstance
      1. java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:183)
      2. java.security.cert.PKIXParameters.<init>(PKIXParameters.java:103)
      3. java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters.java:87)
      4. sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:54)
      5. sun.security.validator.Validator.getInstance(Validator.java:146)
      5 frames
    3. Java JSSE
      SSLSocketImpl.startHandshake
      1. com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:105)
      2. com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:167)
      3. com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320)
      4. com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:841)
      5. com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106)
      6. com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495)
      7. com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433)
      8. com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:877)
      9. com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1089)
      10. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1116)
      11. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1100)
      11 frames
    4. Axis Web Services
      Call.invoke
      1. org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)
      2. org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
      3. org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
      4. org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
      5. org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
      6. org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
      7. org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
      8. org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
      9. org.apache.axis.client.Call.invokeEngine(Call.java:2784)
      10. org.apache.axis.client.Call.invoke(Call.java:2767)
      11. org.apache.axis.client.Call.invoke(Call.java:2443)
      12. org.apache.axis.client.Call.invoke(Call.java:2366)
      13. org.apache.axis.client.Call.invoke(Call.java:1812)
      13 frames
    5. com.doosan.webservice
      PassportCustomerServiceSoap_BindingStub.getCustomerDetail
      1. com.doosan.webservice.PassportCustomerServiceSoap_BindingStub.getCustomerDetail(PassportCustomerServiceSoap_BindingStub.java:226)
      1 frame
    6. com.doosan.db
      ERPCustInfoPeer.main
      1. com.doosan.db.ERPCustInfoPeer.getCustomerData(ERPCustInfoPeer.java:34)
      2. com.doosan.db.ERPCustInfoPeer.main(ERPCustInfoPeer.java:94)
      2 frames