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

GitHub | aditzel | 2 months ago
  1. 0

    AmazonS3Client generates "Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty"

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

    SSLException - trustAnchors parameter must be non-empty

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

    GitHub comment 23#173492253

    GitHub | 10 months ago | cyildirim
    java.io.IOException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty: https://imagessl.evidea.com/v2/st/cards/96x96_maximum.png
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Downloading yml settings file from https source

    GitHub | 10 months ago | philwinder
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
  6. 0

    Exception when authenticating to Google Drive using Java API

    Stack Overflow | 4 years ago | Marc Ortiz
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
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. javax.net.ssl.SSLException

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

    at sun.security.ssl.Alerts.getSSLException()
  2. Java JSSE
    SSLSocketImpl.startHandshake
    1. sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
    2. sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
    3. sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1906)
    4. sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1889)
    5. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1410)
    6. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
    6 frames
  3. Apache HttpClient
    PoolingHttpClientConnectionManager.connect
    1. org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:543)
    2. org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)
    3. org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
    3 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  5. AWS SDK for Java - Core
    $Proxy26.connect
    1. com.amazonaws.http.conn.ClientConnectionManagerFactory$Handler.invoke(ClientConnectionManagerFactory.java:76)
    2. com.amazonaws.http.conn.$Proxy26.connect(Unknown Source)
    2 frames
  6. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
    2. org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
    3. org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
    4. org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
    5. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
    6. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
    6 frames
  7. com.amazonaws.http
    SdkHttpClient.execute
    1. com.amazonaws.http.apache.client.impl.SdkHttpClient.execute(SdkHttpClient.java:72)
    1 frame
  8. AWS SDK for Java - Core
    AmazonHttpClient.executeOneRequest
    1. com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:897)
    1 frame