java.security.InvalidAlgorithmParameterException: the trustAnchors > parameter must be non-empty at > sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:90) at > sun.security.validator.Validator.getInstance(Validator.java:179) at > sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:312) at > sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:171) at > sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:184) at > sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) at > sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1488) at > sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Auro, 1 year ago
the trustAnchors > parameter must be non-empty at > sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:90) at > sun.security.validator.Validator.getInstance(Validator.java:179) at
java.security.InvalidAlgorithmParameterException: the trustAnchors > parameter must be non-empty at > sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:90) at > sun.security.validator.Validator.getInstance(Validator.java:179) at > sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:312) at > sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:171) at > sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:184) at > sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) at > sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1488) at > sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.