java.lang.Error: Error during hash calculation at sun.security.ssl.HandshakeHash.getFinishedHash(java.base@9-ea/HandshakeHash.java:358) at sun.security.ssl.HandshakeMessage$Finished.getFinished(java.base@9-ea/HandshakeMessage.java:2331) at sun.security.ssl.HandshakeMessage$Finished.<init>(java.base@9-ea/HandshakeMessage.java:2278) at sun.security.ssl.ClientHandshaker.sendChangeCipherAndFinish(java.base@9-ea/ClientHandshaker.java:1328) at sun.security.ssl.ClientHandshaker.serverHelloDone(java.base@9-ea/ClientHandshaker.java:1240) at sun.security.ssl.ClientHandshaker.processMessage(java.base@9-ea/ClientHandshaker.java:414) at sun.security.ssl.Handshaker.processLoop(java.base@9-ea/Handshaker.java:1061) at sun.security.ssl.Handshaker.processRecord(java.base@9-ea/Handshaker.java:995) at sun.security.ssl.SSLSocketImpl.processInputRecord(java.base@9-ea/SSLSocketImpl.java:1132) at sun.security.ssl.SSLSocketImpl.readRecord(java.base@9-ea/SSLSocketImpl.java:1069) at sun.security.ssl.SSLSocketImpl.readRecord(java.base@9-ea/SSLSocketImpl.java:968) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(java.base@9-ea/SSLSocketImpl.java:1395) at sun.security.ssl.SSLSocketImpl.startHandshake(java.base@9-ea/SSLSocketImpl.java:1422) at sun.security.ssl.SSLSocketImpl.startHandshake(java.base@9-ea/SSLSocketImpl.java:1406) at sun.net.www.protocol.https.HttpsClient.afterConnect(java.base@9-ea/HttpsClient.java:558) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(java.base@9-ea/AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(java.base@9-ea/HttpURLConnection.java:1505) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(java.base@9-ea/HttpURLConnection.java:1433) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(java.base@9-ea/HttpsURLConnectionImpl.java:235)

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 JDK Bug System by Roger Calnan, 1 year ago
Error during hash calculation at sun.security.ssl.HandshakeHash.getFinishedHash(java.base@9-ea/HandshakeHash.java:358) at sun.security.ssl.HandshakeMessage$Finished.getFinished(java.base@9-ea/HandshakeMessage.java:2331) at
java.lang.Error: Error during hash calculation at sun.security.ssl.HandshakeHash.getFinishedHash(java.base@9-ea/HandshakeHash.java:358) at sun.security.ssl.HandshakeMessage$Finished.getFinished(java.base@9-ea/HandshakeMessage.java:2331) at sun.security.ssl.HandshakeMessage$Finished.<init>(java.base@9-ea/HandshakeMessage.java:2278) at sun.security.ssl.ClientHandshaker.sendChangeCipherAndFinish(java.base@9-ea/ClientHandshaker.java:1328) at sun.security.ssl.ClientHandshaker.serverHelloDone(java.base@9-ea/ClientHandshaker.java:1240) at sun.security.ssl.ClientHandshaker.processMessage(java.base@9-ea/ClientHandshaker.java:414) at sun.security.ssl.Handshaker.processLoop(java.base@9-ea/Handshaker.java:1061) at sun.security.ssl.Handshaker.processRecord(java.base@9-ea/Handshaker.java:995) at sun.security.ssl.SSLSocketImpl.processInputRecord(java.base@9-ea/SSLSocketImpl.java:1132) at sun.security.ssl.SSLSocketImpl.readRecord(java.base@9-ea/SSLSocketImpl.java:1069) at sun.security.ssl.SSLSocketImpl.readRecord(java.base@9-ea/SSLSocketImpl.java:968) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(java.base@9-ea/SSLSocketImpl.java:1395) at sun.security.ssl.SSLSocketImpl.startHandshake(java.base@9-ea/SSLSocketImpl.java:1422) at sun.security.ssl.SSLSocketImpl.startHandshake(java.base@9-ea/SSLSocketImpl.java:1406) at sun.net.www.protocol.https.HttpsClient.afterConnect(java.base@9-ea/HttpsClient.java:558) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(java.base@9-ea/AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(java.base@9-ea/HttpURLConnection.java:1505) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(java.base@9-ea/HttpURLConnection.java:1433) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(java.base@9-ea/HttpsURLConnectionImpl.java:235)
at jdk9httpconnection.JDK9httpConnection.main(JDK9httpConnection.java:36)

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.