Hi,
I'm using DNN 5.6 and SC 4.38.
When I add one item to the cart then click on "clear cart", an exception is thrown. Here is the event viewer. Please advise, thanks.
AssemblyVersion: 5.6.2 PortalID: 0 PortalName: UserID: -1 UserName: ActiveTabID: 61 ActiveTabName: Online Store RawURL: /OnlineStore/tabid/61/ctl/Cart/mid/460/Default.aspx AbsoluteURL: /Default.aspx UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0) DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider ExceptionGUID: aca5a264-88ca-4e4b-a1d2-2a7d051387d8 InnerException: Object reference not set to an instance of an object. FileName: FileLineNumber: 0 FileColumnNumber: 0 Method: Smith.DNN.Modules.BuyNow.Cart.GetHandlingCharge StackTrace: Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Smith.DNN.Modules.BuyNow.Cart.GetHandlingCharge() at Smith.DNN.Modules.BuyNow.Cart.GetTotalAfterTax() at Smith.DNN.Modules.BuyNow.Cart.UpdateTotalLabel() at Smith.DNN.Modules.BuyNow.Cart.btnClearCart_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
|
|