Object reference not set to an instance of an object.

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 262:
Line 263:	templateBuilder.Append("\r\n");
Line 264:	templateBuilder.Append(Utils.ObjectToStr(catetitle.title));
Line 265:	templateBuilder.Append("        \r\n\r\n		  \r\n		  \r\n	\r\n\r\n\r\n\r\n\r\n\r\n\r\n	\r\n		  \r\n		  \r\n		  \r\n		  \r\n		  \r\n		\r\n	\r\n\r\n\r\n		  </div>\r\n          <div class=\"cates\">\r\n            <dl>\r\n			\r\n			\r\n		"); 
Line 266:	             DTcms.Model.article_category first_011=get_category_model(category_id);

Source File: f:\home\ftp\h\haitiantianxian\wwwroot\aspx\main\news_list.aspx    Line: 264

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.aspx_main_news_list_aspx.OnInit(EventArgs e) in f:\home\ftp\h\haitiantianxian\wwwroot\aspx\main\news_list.aspx:264
   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.272