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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   NopSolutions.NopCommerce.Web.Modules.ProductBox1Control.BindData() in C:\Users\Alex\Documents\_Projects\Alex\Themes builder\Gifts\Gifts_1.90\nopCommerce_1.90_Source\NopCommerceStore\Modules\ProductBox1.ascx.cs:120
   NopSolutions.NopCommerce.Web.Modules.ProductBox1Control.DataBind() in C:\Users\Alex\Documents\_Projects\Alex\Themes builder\Gifts\Gifts_1.90\nopCommerce_1.90_Source\NopCommerceStore\Modules\ProductBox1.ascx.cs:55
   System.Web.UI.Control.DataBindChildren() +249
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191
   System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +176
   System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) +906
   System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +88
   NopSolutions.NopCommerce.Web.Modules.RecentlyAddedProductsControl.Page_Load(Object sender, EventArgs e) in C:\Users\Alex\Documents\_Projects\Alex\Themes builder\Gifts\Gifts_1.90\nopCommerce_1.90_Source\NopCommerceStore\Modules\RecentlyAddedProducts.ascx.cs:45
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +154
   System.Web.UI.Control.LoadRecursive() +251
   System.Web.UI.Control.LoadRecursive() +251
   System.Web.UI.Control.LoadRecursive() +251
   System.Web.UI.Control.LoadRecursive() +251
   System.Web.UI.Control.LoadRecursive() +251
   System.Web.UI.Control.LoadRecursive() +251
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4082


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