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 17: 	StringBuilder templateBuilder = new StringBuilder(220000);
Line 18: 	templateBuilder.Append("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n    <title>");
Line 19: 	templateBuilder.Append(Utils.ObjectToStr(model_channel.title));
Line 20: 	templateBuilder.Append(" - ");
Line 21: 	templateBuilder.Append(Utils.ObjectToStr(config.webname));

Source File: d:\ToHi.EIP\aspx\tohi\tohi_news_list.aspx    Line: 19

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.aspx_tohi_tohi_news_list_aspx.OnInit(EventArgs e) in d:\ToHi.EIP\aspx\tohi\tohi_news_list.aspx:19
   System.Web.UI.Control.InitRecursive(Control namingContainer) +140
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480


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