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 19:         base.ShowSale();
Line 20: 
Line 21:         if (_sale.Comments.Length > 0) {
Line 22: 
Line 23:             thName.Visible = true;

Source File: c:\wwwroot\cms40.goodwood\_cmsControls\SaleList.ascx    Line: 21

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP._cmscontrols_salelist_ascx.ShowSale() in c:\wwwroot\cms40.goodwood\_cmsControls\SaleList.ascx:21
   cms._cmsControls.SaleList.Bind(Boolean needBind) +202
   cms._cmsControls.SaleList.Page_Load(Object sender, EventArgs e) +62
   System.Web.UI.Control.LoadRecursive() +70
   System.Web.UI.Control.LoadRecursive() +189
   System.Web.UI.Control.LoadRecursive() +189
   System.Web.UI.Control.LoadRecursive() +189
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3177


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