Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 38691 invoked from network); 9 Sep 2008 17:22:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Sep 2008 17:22:38 -0000 Received: (qmail 16652 invoked by uid 500); 9 Sep 2008 17:22:33 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 16510 invoked by uid 500); 9 Sep 2008 17:22:33 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 16394 invoked by uid 99); 9 Sep 2008 17:22:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Sep 2008 10:22:32 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Sep 2008 17:21:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 80BFC234C1D1 for ; Tue, 9 Sep 2008 10:21:44 -0700 (PDT) Message-ID: <527736152.1220980904526.JavaMail.jira@brutus> Date: Tue, 9 Sep 2008 10:21:44 -0700 (PDT) From: "Dave Rushall (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Created: (GERONIMO-4290) pop3s: java.lang.IllegalArgumentException: hostname can't be null MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org pop3s: java.lang.IllegalArgumentException: hostname can't be null ----------------------------------------------------------------- Key: GERONIMO-4290 URL: https://issues.apache.org/jira/browse/GERONIMO-4290 Project: Geronimo Issue Type: Bug Security Level: public (Regular issues) Components: mail Environment: geronimo-javamail_1.4_mail-1.4.jar IBM JRE 6 SR 1 Windows XP Reporter: Dave Rushall Priority: Minor When calling connect() for a "pop3s" store with mail.debug enabled, I see... DEBUG: getProvider() returning provider protocol=pop3s; type=javax.mail.Provider$Type@48864886; class=org.apache.geronimo.javamail.store.pop3.POP3SSLStore; vendor=Apache Software Foundation;version=1.0 pop3s DEBUG: Attempting SSL socket connection to server null:0 pop3s DEBUG: Creating SSL socket using factory javax.net.ssl.SSLSocketFactory pop3s DEBUG: Received exception -> Failure creating SSL socket pop3s DEBUG: Exception message -> hostname can't be null java.lang.IllegalArgumentException: hostname can't be null at java.net.InetSocketAddress.(InetSocketAddress.java:135) at com.ibm.jsse2.jc.(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) ... However, the implementation does seem to recover from this as the debug trace continues to show that the POP3 connection over SSL is established. I do not see this exception when using a plain "pop3" store. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.