message: invalid eager env_ or  env_->rendezvous_mgr.
diff: @@ -80,6 +80,9 @@ Status GetNumRetvals(tensorflow::EagerContext* context, const string& op_name,
  Status EagerServiceImpl::CreateContext(const CreateContextRequest* request,
  CreateContextResponse* response) {
  + if (env_ == nullptr || env_->rendezvous_mgr == nullptr) {
  + return errors::InvalidArgument("invalid eager env_ or env_->rendezvous_mgr.");
  + }
  tensorflow::RemoteRendezvous* r = env_->rendezvous_mgr->Find(0);
  std::vector<tensorflow::Device*> devices;
  TF_RETURN_IF_ERROR(tensorflow::DeviceFactory::AddDevices(
  