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,7 +632,12 @@ public class PresentsClient
data.clientOid = _clobj.getOid();
// fill in the list of bootstrap services
data.services = PresentsServer.invmgr.getBootstrapServices(_areq.getBootGroups());
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());
}
}
/**