From: Ryan D. Cuprak

When I go to shutdown the xml-rpc webserver I get the following exception:
Closing XML-RPC server socket.
Exception in XML-RPC listener loop (java.net.SocketException: Socket
closed).
Closing XML-RPC server socket.
java.lang.NullPointerException
     at org.apache.xmlrpc.WebServer.run(WebServer.java)
     at java.lang.Thread.run(Thread.java:484)

Code to start the server (interface thread)
mServer = new WebServer(mClientPort);
mServer.addHandler("partylineclient",new RPCHandler() );
Thread thrd = new Thread(mServer);
 thrd.start();

Code to shutdown the server (interface thread)
mServer.shutdown();

Any idea why I am getting this exception?

Thanks,
-Ryan



Reply via email to