Hello -- I am getting the following intermittent error when customers goto the Cart or try to CreateOrder. Below is what I see in the error log. Any help would be appreciated. Thanks.
AbleCommerce for ASP.NET
VERSION: 7.0.88.7345
Release Label: GoldR8
An error has occured at http://www.website.com/Basket.aspx
Exception: Exception of type 'System.Web.HttpUnhandledException' was thrown. Stack Trace: at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.basket_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) Inner Exception: Object reference not set to an instance of an object. Inner Exception Stack Trace: at CommerceBuilder.Marketing.Coupon.AppliesToShipment(Basket basket, BasketShipment shipment) at NHibernate.Proxy.DefaultLazyInitializer.Intercept(InvocationInfo info) at CouponProxy.AppliesToShipment(Basket , BasketShipment ) at CommerceBuilder.Services.Checkout.BasketService.ProcessShippingCoupon(Basket basket, Coupon coupon) at CommerceBuilder.Services.Checkout.BasketService.ProcessCoupon(Basket basket, Coupon coupon) at CommerceBuilder.Services.Checkout.BasketService.ProcessCoupons(Basket basket, Boolean removeZeroValueCoupons) at CommerceBuilder.Services.Checkout.BasketService.Recalculate(Basket basket) at AbleCommerce.BasketPage.Page_PreRender(Object sender, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
The error also happens here:
An error has occured at https://www.website.com/Admin/Orders/Cr ... UID=823214
Exception: Exception of type 'System.Web.HttpUnhandledException' was thrown. Stack Trace: at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.admin_orders_create_createorder2_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) Inner Exception: Object reference not set to an instance of an object. Inner Exception Stack Trace: at CommerceBuilder.Marketing.Coupon.AppliesToShipment(Basket basket, BasketShipment shipment) at NHibernate.Proxy.DefaultLazyInitializer.Intercept(InvocationInfo info) at CouponProxy.AppliesToShipment(Basket , BasketShipment ) at CommerceBuilder.Services.Checkout.BasketService.ProcessShippingCoupon(Basket basket, Coupon coupon) at CommerceBuilder.Services.Checkout.BasketService.ProcessCoupon(Basket basket, Coupon coupon) at CommerceBuilder.Services.Checkout.BasketService.ProcessCoupons(Basket basket, Boolean removeZeroValueCoupons) at CommerceBuilder.Services.Checkout.BasketService.Recalculate(Basket basket) at AbleCommerce.Admin.Orders.Create.CreateOrder2.Page_PreRender(Object sender, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Exception of type 'System.Web.HttpUnhandledException'
-
- Ensign (ENS)
- Posts: 3
- Joined: Mon Oct 05, 2015 5:11 pm
Re: Exception of type 'System.Web.HttpUnhandledException'
It looks like some kind of coupon issue. Does this happen to every customer, including new registered users? Have you made any customizations to your store - specifically with coupons?CommerceBuilder.Marketing.Coupon.AppliesToShipment
It's not normal to be seeing these kinds of errors. If this just started happening, trying to identify any recent changes.
Thanks
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
-
- Ensign (ENS)
- Posts: 3
- Joined: Mon Oct 05, 2015 5:11 pm
Re: Exception of type 'System.Web.HttpUnhandledException'
Hi Katie - Thanks for the info. I recently created a coupon code and since removing it, the site has not had any errors. It seems there was a conflict with the coupon created and the existing Discounts.