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 22:         <div class="visible-lg-block visible-md-block visible-sm-block kj_nct">
Line 23:             <i class="iconfont icon-home"></i>
Line 24:             <span><%=nav.position(" > ").Replace("Product&Service","Products") %></span>
Line 25:         </div>
Line 26: 

Source File: c:\websites\www_amadischem_com\fenglin2019\content\xtheme\fenglin\product.aspx    Line: 24

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   fn.nav.getposition(String splitstr, String def) in E:\TFS\960CloudWebSql\DevV3Branch\Fenglin2019\Web960Tmp\nav.cs:111
   ASP.content_xtheme_fenglin_product_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\websites\www_amadischem_com\fenglin2019\content\xtheme\fenglin\product.aspx:24
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +116
   System.Web.UI.Page.Render(HtmlTextWriter writer) +38
   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