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 156:
Line 157:<div id="subhead-unidades">
Line 158:    <div class="subhead-titulo">@pagina.BreveDescricao.Replace("@qtdUnidades", totalUnidades.ToString())</div>
Line 159:</div>
Line 160:

Source File: A:\C_\inetpub_clientes\fleming-lab.com.br\Web2020\atendimento-unidades-de-atendimento.cshtml    Line: 158

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP._Page_atendimento_unidades_de_atendimento_cshtml.Execute() in A:\C_\inetpub_clientes\fleming-lab.com.br\Web2020\atendimento-unidades-de-atendimento.cshtml:158
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +219
   System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +96
   System.Web.WebPages.WebPage.ExecutePageHierarchy() +105
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +106
   System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext) +131


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