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 239:			className = "Default";
Line 240:			vs.cms.Page pg = new vs.cms.Page(this.topPageID);
Line 241:			altText = pg.CurrentPageInfo.Title;
Line 242:		}
Line 243:		

Source File: d:\WWW\jccstl.com\wwwroot\site.master.cs    Line: 241

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   site.SetLeftNavHeadAndBodyColors() in d:\WWW\jccstl.com\wwwroot\site.master.cs:241
   site.Page_Load(Object sender, EventArgs e) in d:\WWW\jccstl.com\wwwroot\site.master.cs:53
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +13
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +43
   System.Web.UI.Control.OnLoad(EventArgs e) +98
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Control.LoadRecursive() +154
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4295


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433