Log a warning rather than NPEing.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4847 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2007-10-18 18:49:52 +00:00
parent 8c4776a3f0
commit a2af35fcfd
@@ -632,8 +632,13 @@ public class PresentsClient
data.clientOid = _clobj.getOid(); data.clientOid = _clobj.getOid();
// fill in the list of bootstrap services // fill in the list of bootstrap services
if (_areq.getBootGroups() == null) {
Log.warning("Client provided no invocation service boot groups? " + this);
data.services = new StreamableArrayList<InvocationMarshaller>();
} else {
data.services = PresentsServer.invmgr.getBootstrapServices(_areq.getBootGroups()); data.services = PresentsServer.invmgr.getBootstrapServices(_areq.getBootGroups());
} }
}
/** /**
* Called by the connection manager when this client's connection is unmapped. That may be * Called by the connection manager when this client's connection is unmapped. That may be