java.security.InvalidAlgorithmParameterException

the trustAnchors parameter must be non-empty 3 [InvalidAlgorithmParameterException]the trustAnchors parameter must be non-empty

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web403

  • via JBoss Issue Tracker by ying ma, 9 months ago
    the trustAnchors parameter must be non-empty 3 [InvalidAlgorithmParameterException]the trustAnchors parameter must be non-empty
  • the trustAnchors parameter must be non-empty 3 the trustAnchors parameter must be non-empty
  • via juddi-user by Alex O'Ree, 1 year ago
    the trustAnchors parameter must be non-empty
  • Stack trace

    • java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty 3 [InvalidAlgorithmParameterException]the trustAnchors parameter must be non-empty at org.teiid.net.socket.SocketServerConnection.selectServerInstance(SocketServerConnection.java:161)[teiid-client-7.7.0.Final.jar:7.7.0.Final] at org.teiid.net.socket.SocketServerConnection.<init>(SocketServerConnection.java:95)[teiid-client-7.7.0.Final.jar:7.7.0.Final] at org.teiid.net.socket.SocketServerConnectionFactory.getConnection(SocketServerConnectionFactory.java:320)[teiid-client-7.7.0.Final.jar:7.7.0.Final] at org.teiid.jdbc.SocketProfile.connect(SocketProfile.java:54)[teiid-client-7.7.0.Final.jar:7.7.0.Final] Caused by: 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(Alerts.java:208)[jsse.jar:1.7.0_25] at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1886)[jsse.jar:1.7.0_25] at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1844)[jsse.jar:1.7.0_25] at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1827)[jsse.jar:1.7.0_25] at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1753)[jsse.jar:1.7.0_25] at sun.security.ssl.AppInputStream.read(AppInputStream.java:113)[jsse.jar:1.7.0_25] at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)[rt.jar:1.7.0_25] at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)[rt.jar:1.7.0_25] at java.io.BufferedInputStream.read(BufferedInputStream.java:334)[rt.jar:1.7.0_25] at java.io.DataInputStream.read(DataInputStream.java:149)[rt.jar:1.7.0_25] at org.teiid.netty.handler.codec.serialization.ObjectDecoderInputStream.fillBuffer(ObjectDecoderInputStream.java:164)[teiid-client-7.7.0.Final.jar:7.7.0.Final] at org.teiid.netty.handler.codec.serialization.ObjectDecoderInputStream.findLength(ObjectDecoderInputStream.java:147)[teiid-client-7.7.0.Final.jar:7.7.0.Final] at org.teiid.netty.handler.codec.serialization.ObjectDecoderInputStream.readObjectOverride(ObjectDecoderInputStream.java:81)[teiid-client-7.7.0.Final.jar:7.7.0.Final] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:364)[rt.jar:1.7.0_25] at org.teiid.net.socket.OioOjbectChannelFactory$OioObjectChannel.read(OioOjbectChannelFactory.java:114)[teiid-client-7.7.0.Final.jar:7.7.0.Final] at org.teiid.net.socket.SocketServerInstanceImpl.doHandshake(SocketServerInstanceImpl.java:113)[teiid-client-7.7.0.Final.jar:7.7.0.Final] at org.teiid.net.socket.SocketServerInstanceImpl.connect(SocketServerInstanceImpl.java:94)[teiid-client-7.7.0.Final.jar:7.7.0.Final] at org.teiid.net.socket.SocketServerConnectionFactory.getServerInstance(SocketServerConnectionFactory.java:279)[teiid-client-7.7.0.Final.jar:7.7.0.Final] at org.teiid.net.socket.SocketServerConnection.connect(SocketServerConnection.java:199)[teiid-client-7.7.0.Final.jar:7.7.0.Final] at org.teiid.net.socket.SocketServerConnection.selectServerInstance(SocketServerConnection.java:125)[teiid-client-7.7.0.Final.jar:7.7.0.Final] ... 4 more 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)[rt.jar:1.7.0_25] at sun.security.validator.Validator.getInstance(Validator.java:179)[rt.jar:1.7.0_25] at sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:314)[jsse.jar:1.7.0_25] at sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:173)[jsse.jar:1.7.0_25] at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:186)[jsse.jar:1.7.0_25] at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:126)[jsse.jar:1.7.0_25] at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1323)[jsse.jar:1.7.0_25] at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:153)[jsse.jar:1.7.0_25] at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)[jsse.jar:1.7.0_25] at sun.security.ssl.Handshaker.process_record(Handshaker.java:804)[jsse.jar:1.7.0_25] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016)[jsse.jar:1.7.0_25] at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)[jsse.jar:1.7.0_25] at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:882)[jsse.jar:1.7.0_25] at sun.security.ssl.AppInputStream.read(AppInputStream.java:102)[jsse.jar:1.7.0_25] ... 24 more Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:200)[rt.jar:1.7.0_25] at java.security.cert.PKIXParameters.<init>(PKIXParameters.java:120)[rt.jar:1.7.0_25] at java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters.java:104)[rt.jar:1.7.0_25] at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:88)[rt.jar:1.7.0_25] ... 37 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 2 years ago
    Unknown user
    Once, 9 months ago
    5 more bugmates