check if xmlrpc server exists before trying to add handler

This commit is contained in:
hns 2001-03-05 17:12:51 +00:00
parent 904a446611
commit e383beaa08

View file

@ -157,7 +157,8 @@ public class Application extends UnicastRemoteObject implements IRemoteApp, Runn
worker.start (); worker.start ();
logEvent ("session cleanup and scheduler thread started"); logEvent ("session cleanup and scheduler thread started");
xmlrpc.addHandler (this.name, new XmlRpcInvoker (this)); if (xmlrpc != null)
xmlrpc.addHandler (this.name, new XmlRpcInvoker (this));
typemgr.start (); typemgr.start ();
} }