io.netty.handler.codec.DecoderException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

GitHub | konstan | 6 months 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

    GitHub comment 2#243074688

    GitHub | 6 months ago | konstan
    io.netty.handler.codec.DecoderException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
  2. 0

    JBoss

    middlewaremagic.com | 10 months ago
    java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
  3. 0

    test connection Failure

    GitHub | 10 months ago | streamnsight
    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

    JavaBot does not log in!

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

    Mongo SSL with Java Exception sending message

    Stack Overflow | 2 years ago | Aliencc
    com.mongodb.MongoSocketWriteException: Exception sending message at com.mongodb.connection.InternalStreamConnection.translateWriteException(InternalStreamConnection.java:461) ~[mongo-java-driver-3.0.0.jar:na]

    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)
      2. java.security.cert.PKIXParameters.<init>(PKIXParameters.java:120)
      3. java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters.java:104)
      4. sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:88)
      5. sun.security.validator.Validator.getInstance(Validator.java:179)
      5 frames
    3. Java JSSE
      Handshaker$1.run
      1. sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:312)
      2. sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:171)
      3. sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:239)
      4. sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:136)
      5. sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1496)
      6. sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
      7. sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
      8. sun.security.ssl.Handshaker$1.run(Handshaker.java:919)
      9. sun.security.ssl.Handshaker$1.run(Handshaker.java:916)
      9 frames
    4. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    5. Java JSSE
      Handshaker$DelegatedTask.run
      1. sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1369)
      1 frame
    6. Netty
      DefaultThreadFactory$DefaultRunnableDecorator.run
      1. io.netty.handler.ssl.SslHandler.runDelegatedTasks(SslHandler.java:1106)
      2. io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:997)
      3. io.netty.handler.ssl.SslHandler.decode(SslHandler.java:895)
      4. io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:387)
      5. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:245)
      6. io.netty.channel.ChannelHandlerInvokerUtil.invokeChannelReadNow(ChannelHandlerInvokerUtil.java:83)
      7. io.netty.channel.DefaultChannelHandlerInvoker.invokeChannelRead(DefaultChannelHandlerInvoker.java:154)
      8. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:354)
      9. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:145)
      10. io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:1078)
      11. io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125)
      12. io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:510)
      13. io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:467)
      14. io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:381)
      15. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:353)
      16. io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742)
      17. io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
      17 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame