Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 621:            };
Line 622:            reader.Close();
Line 623:            if(allStudies.k>0) svg += string.Format("<line x1='{0:F0}' y1='{1:F0}' x2='{0:F0}' y2='{2:F0}' style='stroke:red; stroke-width:1' />", x2px(allStudies.RR), y2 + 4, oldY2);
Line 624:
Line 625:

Source File: c:\inetpub\wwwroot\viewUmbrellaG.aspx    Line: 623

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.viewumbrellag_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\inetpub\wwwroot\viewUmbrellaG.aspx:623
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +275
   System.Web.UI.Page.Render(HtmlTextWriter writer) +39
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4238


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4676.0