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 117:
Line 118:      <!-- Blog Post -->
Line 119:	<% if ( Session["notID1"].ToString() != "0" ) { %>
Line 120:      <div class="card mb-4">
Line 121:        <div class="card-body">

Source File: c:\inetpub\wwwroot\lbc.org.br\paginaNoticias.aspx    Line: 119

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.paginanoticias_aspx.__Render__control2(HtmlTextWriter __w, Control parameterContainer) in c:\inetpub\wwwroot\lbc.org.br\paginaNoticias.aspx:119
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +275
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +168
   System.Web.UI.UpdatePanel.RenderChildren(HtmlTextWriter writer) +331
   System.Web.UI.UpdatePanel.Render(HtmlTextWriter writer) +59
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +168
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +11661638
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +46
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +52
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +168
   System.Web.UI.Page.Render(HtmlTextWriter writer) +39
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4238


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