BINGO, there are SEPERATE THREADS, and the each one has to shutdown and close it socket, in no particular order, meanwhile the keepalive logic is still active while you are shuttdown and your code could even be trying to maintain the state of the socket after you have issued the shutdown :)
-----Original Message----- From: Brian Dobby [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 7:17 AM To: [EMAIL PROTECTED] Subject: RE: NullPointerException on server close Hi. > Try just doing the myserver.shutdown() and don't remove the handlers. I tried that, but had the same problem. It's odd that the message "Closing XML-RPC server socket" occurs twice; there is only one instance of it in the source, and that's in the 'finally' clause. I suppose the messages could be from separate threads. Regards Brian
