Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 3508 invoked from network); 23 Jul 2003 19:27:45 -0000 Received: from main.gmane.org (80.91.224.249) by daedalus.apache.org with SMTP; 23 Jul 2003 19:27:45 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19fPFQ-0003IE-00 for ; Wed, 23 Jul 2003 21:26:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: commons-user@jakarta.apache.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19fPEr-0003Fi-00 for ; Wed, 23 Jul 2003 21:25:25 +0200 From: Jeff Duska Subject: [Net] Why would I get a NullPointerException in getLocalAddress? Date: Wed, 23 Jul 2003 15:26:50 -0400 Lines: 9 Message-ID: <3F1EE17A.CC559DCB@noaa.gov> References: <3F1DB6B9.3C3ECE7@noaa.gov> <85n0f56f6i.fsf@brekke.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@main.gmane.org X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I tweak the Jeffrey D. Brekke's trycatchfinallytest example. I'm now getting NullPointerException in getLocalAddress line 481 of SocketClient.java. Sometimes it work perfectly, then it just stop working. Any ideas of what might be causing this? Regards, Jeff Duska