Hi,
I am currently trying to set up Smith cart on my dev server and getting Object Reference error when I click on Submit Order on the confirmation page (step 4). Currently using the following
Smith Cart Version: 04.67.00
DNN Version: 5.4.4
SQL Server : 2008 R2
The error is in Smith.DNN.Modules.BuyNow.Confirm.GetItemTaxTotal() function. I had got a prior error on Smith.DNN.Modules.BuyNow.Confirm.GetItemTotal(), which is not coming right now, after I did few changes to the product custom shipping methods. Please check the attached screenshot for the custom shipping method.
Any help or pointer to check on this would be appreciated. Thanks.
AssemblyVersion: 5.4.4
PortalID: 2
PortalName: 9Lenses
UserID: -1
UserName:
ActiveTabID: 161
ActiveTabName: OnlineStore
RawURL: /OnlineStore/tabid/161/ctl/Confirm/mid/697/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://MyWebServer/OnlineStore/tabid/161/ctl/Confirm/mid/697/Default.aspx
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 2af56a87-1fb9-4657-b4f3-bbcc7ab68f5b
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.Confirm.GetItemTaxTotal
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.Confirm.GetItemTaxTotal() at Smith.DNN.Modules.BuyNow.Confirm.GetTax() at Smith.DNN.Modules.BuyNow.Confirm.GetTotalAfterTax() at Smith.DNN.Modules.BuyNow.Confirm.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---