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

Ask Ubuntu | ashermaster | 2 years 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

    java - Minecraft with OpenJDK 7, I get "the trustAnchors parameter must be non-empty" - Ask Ubuntu

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

    Minecraft with OpenJDK 7, I get "the trustAnchors parameter must be non-empty"

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

    Fatal exception from Java when building from source

    GitHub | 1 year ago | michaeljhopkins
    java.lang.RuntimeException: 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

    GitHub comment 71#34295135

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

    GitHub comment 71#33336263

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

    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:200)[?:1.8.0_45-internal]
      2. java.security.cert.PKIXParameters.<init>(PKIXParameters.java:120)[?:1.8.0_45-internal]
      3. java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters.java:104)[?:1.8.0_45-internal]
      4. sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:88)[?:1.8.0_45-internal]
      5. sun.security.validator.Validator.getInstance(Validator.java:179)[?:1.8.0_45-internal]
      5 frames
    3. Java JSSE
      SSLSocketImpl.startHandshake
      1. sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:312)[?:1.8.0_45-internal]
      2. sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:171)[?:1.8.0_45-internal]
      3. sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:184)[?:1.8.0_45-internal]
      4. sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)[?:1.8.0_45-internal]
      5. sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1460)[?:1.8.0_45-internal]
      6. sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212)[?:1.8.0_45-internal]
      7. sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)[?:1.8.0_45-internal]
      8. sun.security.ssl.Handshaker.process_record(Handshaker.java:914)[?:1.8.0_45-internal]
      9. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1050)[?:1.8.0_45-internal]
      10. sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363)[?:1.8.0_45-internal]
      11. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1391)[?:1.8.0_45-internal]
      12. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1375)[?:1.8.0_45-internal]
      12 frames
    4. Java RT
      HttpsURLConnectionImpl.getInputStream
      1. sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)[?:1.8.0_45-internal]
      2. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)[?:1.8.0_45-internal]
      3. sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512)[?:1.8.0_45-internal]
      4. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)[?:1.8.0_45-internal]
      5. sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)[?:1.8.0_45-internal]
      5 frames
    5. com.mojang.launcher
      Http.performGet
      1. com.mojang.launcher.Http.performGet(Http.java:54)[launcher.jar:1.6.11]
      1 frame
    6. net.minecraft.launcher
      Launcher$2.run
      1. net.minecraft.launcher.updater.RemoteVersionList.getContent(RemoteVersionList.java:27)[launcher.jar:1.6.11]
      2. net.minecraft.launcher.updater.VersionList.refreshVersions(VersionList.java:85)[launcher.jar:1.6.11]
      3. net.minecraft.launcher.updater.MinecraftVersionManager.refreshVersions(MinecraftVersionManager.java:60)[launcher.jar:1.6.11]
      4. net.minecraft.launcher.Launcher$2.run(Launcher.java:132)[launcher.jar:1.6.11]
      4 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[?:1.8.0_45-internal]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_45-internal]
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_45-internal]
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_45-internal]
      5. java.lang.Thread.run(Thread.java:745)[?:1.8.0_45-internal]
      5 frames