aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-09-19 01:11:40 +0000
committerTeravus Ovares2008-09-19 01:11:40 +0000
commit610313ea6499f252e488f46d39f781b6e853dab7 (patch)
tree6f6ff154fda25e51bdea57867e434d7b0366cd54 /OpenSim/Region/Environment/Scenes/Scene.cs
parent* Switches content type from application/xml+llsd to application/llsd+xml on ... (diff)
downloadopensim-SC-610313ea6499f252e488f46d39f781b6e853dab7.zip
opensim-SC-610313ea6499f252e488f46d39f781b6e853dab7.tar.gz
opensim-SC-610313ea6499f252e488f46d39f781b6e853dab7.tar.bz2
opensim-SC-610313ea6499f252e488f46d39f781b6e853dab7.tar.xz
* Added null exception handler where we couldn't locate a user data record in the cache for the user
* More OGP tweaks to make it play nice in an error condition. * Still Experimental.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 88f2928..210b6c6 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -2620,7 +2620,14 @@ namespace OpenSim.Region.Environment.Scenes
2620 m_authenticateHandler.AddNewCircuit(agent.circuitcode, agent); 2620 m_authenticateHandler.AddNewCircuit(agent.circuitcode, agent);
2621 // rewrite session_id 2621 // rewrite session_id
2622 CachedUserInfo userinfo = CommsManager.UserProfileCacheService.GetUserDetails(agent.AgentID); 2622 CachedUserInfo userinfo = CommsManager.UserProfileCacheService.GetUserDetails(agent.AgentID);
2623 userinfo.SessionID = agent.SessionID; 2623 if (userinfo != null)
2624 {
2625 userinfo.SessionID = agent.SessionID;
2626 }
2627 else
2628 {
2629 m_log.WarnFormat("[USERINFO CACHE]: We couldn't find a User Info record for {0}. This is usually an indication that the UUID we're looking up is invalid", agent.AgentID);
2630 }
2624 } 2631 }
2625 else 2632 else
2626 { 2633 {