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

Samebug tips

  1. ,
    Expert tip

    If you're using wiremock, configure your code to accept wiremock self-signed certificate or create a keystore and certificate that are trusted by your HTTP client and configure wiremock to use that

  2. ,
    via Stack Overflow by carlos

    Set the mail.smtp.ssl.trust system property to an smtp host, like smtp.gmail.com.

Solutions on the web

via com.br by Unknown author, 1 year ago
Connection has been shutdown: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
via wordpress.com by Unknown author, 2 years ago
Connection has been shutdown: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
via com.br by Unknown author, 2 years ago
Connection has been shutdown: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
via com.br by Unknown author, 2 years ago
Connection has been shutdown: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
via com.br by Unknown author, 2 years ago
Connection has been shutdown: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed
via com.br by Unknown author, 2 years ago
Connection has been shutdown: javax.net.ssl.SSLException: Unsupported record version Unknown-84.84
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target	at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)	at java.security.cert.CertPathBuilder.build(Unknown Source)	at sun.security.validator.PKIXValidator.doBuild(Unknown Source)	at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)	at sun.security.validator.Validator.validate(Unknown Source)	at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)	at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)	at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)	at sun.security.ssl.Handshaker.processLoop(Unknown Source)	at sun.security.ssl.Handshaker.process_record(Unknown Source)	at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)	at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)	at sun.security.ssl.AppOutputStream.write(Unknown Source)	at java.io.BufferedOutputStream.flushBuffer(Unknown Source)	at java.io.BufferedOutputStream.write(Unknown Source)	at org.apache.commons.httpclient.WireLogOutputStream.write(WireLogOutputStream.java:68)	at org.apache.commons.httpclient.ChunkedOutputStream.flushCacheWithAppend(ChunkedOutputStream.java:121)	at org.apache.commons.httpclient.ChunkedOutputStream.write(ChunkedOutputStream.java:179)	at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)	at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source)	at sun.nio.cs.StreamEncoder.implFlush(Unknown Source)	at sun.nio.cs.StreamEncoder.flush(Unknown Source)	at java.io.OutputStreamWriter.flush(Unknown Source)	at java.io.PrintWriter.flush(Unknown Source)	at java.io.BufferedWriter.flush(Unknown Source)	at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:270)	at org.apache.axis.Message.writeTo(Message.java:539)	at org.apache.axis.transport.http.CommonsHTTPSender$MessageRequestEntity.writeRequest(CommonsHTTPSender.java:841)	at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)	at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2110)	at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1088)	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)	at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:196)	at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)	at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)	at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)	at org.apache.axis.client.Call.invokeEngine(Call.java:2784)	at org.apache.axis.client.Call.invoke(Call.java:2767)	at org.apache.axis.client.Call.invoke(Call.java:2443)	at org.apache.axis.client.Call.invoke(Call.java:2366)	at org.apache.axis.client.Call.invoke(Call.java:1812)	at br.gov.sp.fazenda.dsnp.ws.arquivo.ArquivoNF_Mod1Soap12_BindingStub.enviar(ArquivoNF_Mod1Soap12_BindingStub.java:125)	at br.gov.sp.fazenda.dsnp.model.business.WSBusiness.enviar(WSBusiness.java:43)	at br.gov.sp.fazenda.dsnp.model.business.ArquivoBusiness.transmitirArquivo(ArquivoBusiness.java:85)	at br.gov.sp.fazenda.dsnp.model.business.ArquivoBusiness$$EnhancerByCGLIB$$aee3ac4.CGLIB$transmitirArquivo$4()	at br.gov.sp.fazenda.dsnp.model.business.ArquivoBusiness$$EnhancerByCGLIB$$aee3ac4$$FastClassByCGLIB$$bd1db0df.invoke()	at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)	at br.gov.sp.fazenda.dsge.model.dao.util.DSGEDAOInterceptorHelper.intercept(DSGEDAOInterceptorHelper.java:55)	at br.gov.sp.fazenda.dsnp.model.business.ArquivoBusiness$$EnhancerByCGLIB$$aee3ac4.transmitirArquivo()	at br.gov.sp.fazenda.dsnp.model.facade.ArquivoFacade.transmitirArquivo(ArquivoFacade.java:67)	at br.gov.sp.fazenda.dsnp.controller.EnviarConsultarProgressController$1.doInBackground(EnviarConsultarProgressController.java:86)	at javax.swing.SwingWorker$1.call(Unknown Source)	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)	at java.util.concurrent.FutureTask.run(Unknown Source)	at javax.swing.SwingWorker.run(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)	at java.lang.Thread.run(Unknown Source)