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 102:
Line 103:            <p class="mainImg">
Line 104:                <%if (newsItems[3].Length > 0)
Line 105:                    { %>
Line 106:                <img class="img-responsive img-thumbnail" src="/fa/<%=newsItems[2]%>/<%=newsItems[3] %>" />

Source File: c:\HostingSpaces\clinic-sanaye.com\clinic-sanaye.com\wwwroot\fa\showDetails.aspx    Line: 104

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.fa_showdetails_aspx.__RenderContent4(HtmlTextWriter __w, Control parameterContainer) in c:\HostingSpaces\clinic-sanaye.com\clinic-sanaye.com\wwwroot\fa\showDetails.aspx:104
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +275
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   ASP.fa_masterpage_master.__Renderform1(HtmlTextWriter __w, Control parameterContainer) in c:\HostingSpaces\clinic-sanaye.com\clinic-sanaye.com\wwwroot\fa\MasterPage.master:152
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +275
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +11662094
   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.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   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.4676.0