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:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user