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 125:			Else
Line 126:				'litShopFilters.Text &= String.Format("SELECT ID FROM catalogue_groups WHERE ParentGroupID = {0} AND CatalogueID = {1} AND ProductsBelow > 0 ORDER BY OrderID ASC", {ParentGroupID, CatalogueID})
Line 127:				litShopFilters.Text &= String.Format("<li class=""catalogue-group-parent"" data-filter=""{5}""><a class=""catalogue-group"" data-sub-category=""{6}"" data-category=""{4}"" data-groupid=""{3}"" data-chc=""{2}"">{0} <i class=""fa""></i> <span class=""item-count"">({1})</span></a>	</li>", {AttemptStringTrim(Group.Name, 20), Group.ProductsBelow, Group.HasChildren, Group.GroupID, Page.RouteData.Values("CATEGORY"), CleanStringForURL(Group.Name.ToLower), Group.Name}) 'UL IS APPENDED TO LI OBJECT
Line 128:			
Line 129:			End If

Source File: C:\inetpub\wwwroot\websites\Managed Cores\Kawasaki\Live\new-shop-products.aspx.vb    Line: 127

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   new_shop_products.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\websites\Managed Cores\Kawasaki\Live\new-shop-products.aspx.vb:127
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


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