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 14: 
Line 15: <!-- KTFF SOL TARAF-->
Line 16: <% if (Model.haber.HABER_TURU == 1 || Model.haber.HABER_TURU == 25 || (Model.haber.HABER_TURU > 4 && Model.haber.HABER_TURU < 16))
Line 17:    {%>
Line 18:      <table class="SolMenuBG" style="height: 190px" border="0" cellpadding="0" cellspacing="0" width="100%">

Source File: c:\KTFF\Views\HaberinDetayi\Index.aspx    Line: 16

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.views_haberindetayi_index_aspx.__RenderContent4(HtmlTextWriter __w, Control parameterContainer) in c:\KTFF\Views\HaberinDetayi\Index.aspx:16
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +116
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +78
   ASP.views_shared_bos_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\b3a2dc25\1126e4f6\App_Web_bos.master.639c3968.bhyh9noi.0.cs:0
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +116
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +78
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +249
   System.Web.Mvc.ViewPage.Render(HtmlTextWriter writer) +74
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +78
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8752


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