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 13:       <ol class="breadcrumb">
Line 14:         <li><a href="home">HOME</a></li>
Line 15:         <li><a href="<%= CurrentCategory.CategoryPath%>"><%= CurrentCategory.CategoryName.ToUpper() %></a></li>
Line 16:         <li class="active"><asp:Literal ID="ProductName" runat="server" /></li>
Line 17:       </ol>

Source File: e:\inetpub\wwwroot\StockMusic.com\production\ProductInfo.aspx    Line: 15

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.productinfo_aspx.__RenderContent2(HtmlTextWriter __w, Control parameterContainer) in e:\inetpub\wwwroot\StockMusic.com\production\ProductInfo.aspx:15
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +113
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +78
   ASP.masterpage_master.__RenderaspnetForm(HtmlTextWriter __w, Control parameterContainer) in e:\inetpub\wwwroot\StockMusic.com\production\MasterPage.master:145
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +113
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +130
   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
   ASP.masterpage_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in e:\inetpub\wwwroot\StockMusic.com\production\MasterPage.master:48
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +113
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +78
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   Iteam.Trex.Web.TxPage.Render(HtmlTextWriter writer) +1440
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +78
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8816