diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index d8a6dafdc1..a2cddec26f 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs @@ -206,7 +206,7 @@ namespace OpenSim.Region.Communications.OGS1 // Hashtable griddatahash = GridRespData; // Process Response - if (GridRespData.ContainsKey("error")) + if (GridRespData != null && GridRespData.ContainsKey("error")) { string errorstring = (string)GridRespData["error"]; m_log.Error("Unable to connect to grid: " + errorstring);