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 234:	templateBuilder.Append("/templates/main");
Line 235:	templateBuilder.Append("/images/");
Line 236:	templateBuilder.Append(Utils.ObjectToStr(channelModel.name));
Line 237:	templateBuilder.Append(".png\" /></div>\r\n    <div class=\"sub_l_con\">\r\n        <div class=\"sub_nav\">\r\n            <ul>\r\n                ");
Line 238:	DataTable leftCat = get_category_child_list(channelModel.name, 0);

Source File: d:\NNHD-WEB\hdgl20171010\aspx\main\WorkingDynamic_list.aspx    Line: 236

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.aspx_main_workingdynamic_list_aspx.OnInit(EventArgs e) in d:\NNHD-WEB\hdgl20171010\aspx\main\WorkingDynamic_list.aspx:236
   System.Web.UI.Control.InitRecursive(Control namingContainer) +507
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1650


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