java.lang.IllegalArgumentException

hostname can't be null

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 web11558

  • via Apache's JIRA Issue Tracker by Dave Rushall, 11 months ago
    hostname can't be null
  • hostname can't be null
  • via Google Groups by Martin René Mortensen, 1 year ago
    hostname can't be null
  • Stack trace

    • java.lang.IllegalArgumentException: hostname can't be null at java.net.InetSocketAddress.<init>(InetSocketAddress.java:135) at com.ibm.jsse2.jc.<init>(jc.java:340) at com.ibm.jsse2.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:7) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.apache.geronimo.javamail.util.MailConnection.getConnectedSSLSocket(MailConnection.java:432) at org.apache.geronimo.javamail.util.MailConnection.getConnection(MailConnection.java:249) at org.apache.geronimo.javamail.store.pop3.connection.POP3Connection.getConnection(POP3Connection.java:152) at org.apache.geronimo.javamail.store.pop3.connection.POP3Connection.protocolConnect(POP3Connection.java:121) at org.apache.geronimo.javamail.store.pop3.connection.POP3ConnectionPool.createPoolConnection(POP3ConnectionPool.java:155) at org.apache.geronimo.javamail.store.pop3.connection.POP3ConnectionPool.getConnection(POP3ConnectionPool.java:184) at org.apache.geronimo.javamail.store.pop3.POP3Store.getConnection(POP3Store.java:181) at org.apache.geronimo.javamail.store.pop3.POP3Store.isConnected(POP3Store.java:266) at javax.mail.Service.connect(Service.java:123)

    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

    2 times, 1 month ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    2 times, 1 year ago
    Unknown user
    Once, 1 year ago
    1 more bugmates