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 143:
Line 144:	templateBuilder.Append("\r\n<div class=\"banner_box pr\"><img src=\"");
Line 145:	templateBuilder.Append(banner.ToString());
Line 146:
Line 147:	templateBuilder.Append("\">\r\n<!--<div class=\"banner_text\"><div class=\"banner_tit alc f48 strong cf\">FTBCI News</div>\r\n<p class=\"py-30 f18 strong alc cf\">Bus Stories for Bus People</p>\r\n</div>-->\r\n</div>\r\n<div class=\"sub_nav\">\r\n  <div class=\"container\">\r\n    <h3>News</h3>\r\n    <div class=\"sub-header-nav ml-auto\">");

Source File: d:\1\v3093303\wwwroot\aspx\main\news_list.aspx    Line: 145

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.aspx_main_news_list_aspx.OnInit(EventArgs e) in d:\1\v3093303\wwwroot\aspx\main\news_list.aspx:145
   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.1040