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 178:</asp:Content>
Line 179:<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
Line 180:    <asd:Window Apply="WebBase.Composer.ProductComposer" runat="server" CssClass="page-width">
Line 181:        <ul class="breadcrumb">
Line 182:            <li><a href="/" class="glyphicon glyphicon-home"></a></li>

Source File: d:\vhosts\mkjsc.com.vn\httpdocs\Product.aspx    Line: 180

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   WebBase.Composer.ProductComposer.OnInit() in D:\CODE\HomeSite\MKJSC\VS2015\WebBase\WebBase\Composer\ProductComposer.cs:20
   WebBase.Code.Component.Window.set_Apply(String value) in D:\CODE\HomeSite\MKJSC\VS2015\WebBase\WebBase\Code\Component\Window.cs:62
   ASP.product_aspx.__BuildControl__control2() in d:\vhosts\mkjsc.com.vn\httpdocs\Product.aspx:180
   ASP.product_aspx.__BuildControlBodyContent(Control __ctrl) in d:\vhosts\mkjsc.com.vn\httpdocs\Product.aspx:179
   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +15
   System.Web.UI.MasterPage.InstantiateInContentPlaceHolder(Control contentPlaceHolder, ITemplate template) +90
   ASP.template_site_master.__BuildControlMainContent() in d:\vhosts\mkjsc.com.vn\httpdocs\Template\Site.Master:137
   ASP.template_site_master.__BuildControlpageMain() in d:\vhosts\mkjsc.com.vn\httpdocs\Template\Site.Master:60
   ASP.template_site_master.__BuildControlTree(template_site_master __ctrl) in d:\vhosts\mkjsc.com.vn\httpdocs\Template\Site.Master:1
   ASP.template_site_master.FrameworkInitialize() in d:\vhosts\mkjsc.com.vn\tmp\root\ce7ade08\7ddc1bd6\App_Web_vz0ndkbb.0.cs:0
   System.Web.UI.UserControl.InitializeAsUserControlInternal() +37
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +697
   System.Web.UI.Page.get_Master() +56
   System.Web.UI.Page.ApplyMasterPage() +15
   System.Web.UI.Page.PerformPreInit() +54
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +302


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