Exception of type 'System.Web.HttpUnhandledException'

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
tequestafarian
Ensign (ENS)
Ensign (ENS)
Posts: 3
Joined: Mon Oct 05, 2015 5:11 pm

Exception of type 'System.Web.HttpUnhandledException'

Post by tequestafarian » Tue Oct 06, 2015 5:34 am

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)

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Exception of type 'System.Web.HttpUnhandledException'

Post by Katie » Wed Oct 07, 2015 4:13 am

CommerceBuilder.Marketing.Coupon.AppliesToShipment
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?

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

tequestafarian
Ensign (ENS)
Ensign (ENS)
Posts: 3
Joined: Mon Oct 05, 2015 5:11 pm

Re: Exception of type 'System.Web.HttpUnhandledException'

Post by tequestafarian » Fri Oct 09, 2015 4:55 am

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.

Post Reply