diff --git a/indra/llmessage/llavatarnamecache.cpp b/indra/llmessage/llavatarnamecache.cpp index 60d1ba184a..5143963cd6 100644 --- a/indra/llmessage/llavatarnamecache.cpp +++ b/indra/llmessage/llavatarnamecache.cpp @@ -278,6 +278,15 @@ void LLAvatarNameCache::handleAgentError(const LLUUID& agent_id) std::map::iterator existing = sCache.find(agent_id); if (existing == sCache.end()) { + // Don't re-request names for agents with null uuid. + if (agent_id.isNull()) + { + LL_WARNS("AvNameCache") << "LLAvatarNameCache handling error for agent with null uuid" << LL_ENDL; + sPendingQueue.erase(agent_id); + return; + } + // + // there is no existing cache entry, so make a temporary name from legacy LL_WARNS("AvNameCache") << "LLAvatarNameCache get legacy for agent " << agent_id << LL_ENDL;