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 16: <asp:Content ID="Content2" ContentPlaceHolderID="cphMain" runat="server">
Line 17:     <div class="leadBox1" style="display: inline; float: right; width: 735px; background: #545449; padding: 3px 10px 6px; color: #CCC">
Line 18:         <%= Core._I._T("You Are Here") %>: <%= AIArticles._MapLinkGenerator._CreateMapForArticle(Page.RouteData.Values["ID"]??-1, " <span class='hpSep'>&gt;</span> ", "", true, false) %> 
Line 19:     </div>
Line 20:     <div class="BMitra" style="display: inline; float: right; width: 100%; height: 30px; font-size: 22px; line-height: 30px; text-align: center; background: #7B7B69; color: #E8F2E0; padding: 5px 0 11px; overflow: hidden;">

Source File: c:\Users\Administrator\documents\noorfatemah.org\Pages\BookView.aspx    Line: 18

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   AIArticles._MapLinkGenerator._CreateMapForArticle(Int32 _ArticleID, String _Seperator, String _Classes, Boolean _WithCategory, Boolean _WithType, Boolean _LinkSelf) +166
   AIArticles._MapLinkGenerator._CreateMapForArticle(Object _ArticleID, String _Seperator, String _Classes, Boolean _WithCategory, Boolean _WithType, Boolean _LinkSelf) +144
   ASP.pages_bookview_aspx.__RenderContent2(HtmlTextWriter __w, Control parameterContainer) in c:\Users\Administrator\documents\noorfatemah.org\Pages\BookView.aspx:18
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +116
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +78
   ASP.theme_default_master.__Renderform1(HtmlTextWriter __w, Control parameterContainer) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\06b29339\93347f14\App_Web_fpae3oms.1.cs:0
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +116
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +11830128
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +46
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +78
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +49
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +249
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +78
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +249
   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.3429.0