diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 23dd8b61ba..ca77f2b7cc 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs @@ -1712,7 +1712,7 @@ namespace OpenSim.Region.Environment.Scenes CachedUserInfo userInfo = CommsManager.UserProfileCacheService.GetUserDetails(agentID); - if (userInfo != null) + if (userInfo != null && userInfo.RootFolder != null) { Queue searchfolders = new Queue(); searchfolders.Enqueue(userInfo.RootFolder);