java.net.SocketException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • java.net.SocketException: java.security.NoSuchAlgorithmException: SSLContext Default implementation not found: at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:726) at javax.mail.Service.connect(Service.java:364) at javax.mail.Service.connect(Service.java:245) at com.abs.ReadingEmail.main(ReadingEmail.java:25) Caused by: java.net.SocketException: java.security.NoSuchAlgorithmException: SSLContext Default implementation not found: at javax.net.ssl.DefaultSSLSocketFactory.a(SSLSocketFactory.java:4) at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:2) at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:340) at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:236) at com.sun.mail.iap.Protocol.<init>(Protocol.java:117) at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:121) at com.sun.mail.imap.IMAPStore.newIMAPProtocol(IMAPStore.java:746) at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:689) ... 3 more Caused by: java.security.NoSuchAlgorithmException: SSLContext Default implementation not found: at java.security.Provider$Service.newInstance(Provider.java:968) at sun.security.jca.GetInstance.getInstance(GetInstance.java:279) at sun.security.jca.GetInstance.getInstance(GetInstance.java:217) at javax.net.ssl.SSLContext.getInstance(SSLContext.java:27) at javax.net.ssl.SSLContext.getDefault(SSLContext.java:28) at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:16) at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:339) ... 8 more Caused by: java.lang.Exception: Truststore file does not exist: \path\to\jssecacerts at com.ibm.jsse2.ed.a(ed.java:65) at com.ibm.jsse2.tc.f(tc.java:19) at com.ibm.jsse2.tc.<init>(tc.java:25) at java.lang.J9VMInternals.newInstanceImpl(Native Method) at java.lang.Class.newInstance(Class.java:1549) at java.security.Provider$Service.newInstance(Provider.java:954) ... 14 more
    No Bugmate found.