HomeHome Product Discus... Product Discus...SmithCartSmithCartShow stopper when customer is logged in: Object reference not set to an instance of an objectShow stopper when customer is logged in: Object reference not set to an instance of an object
Previous
 
Next
New Post
7/5/2011 8:07 PM
 
I've upgraded to DNN 5.6.2, and still using Smith Cart 4.21. I can't upgrade Smith Cart until a number of other issues are resolved.

However I have a problem with my current install:

When a user attempts to make a purchase, and they are logged in, they get a critical error going from step 1 to step 2.

This does not happen if the user is not logged in.

This is a show-stopper.



Here is the event viewer:

AssemblyVersion: 5.6.2
PortalID: 0
PortalName: MyPortal
UserID: 2
UserName: danielt
ActiveTabID: 61
ActiveTabName: Online Store
RawURL: /Online-Store/ctl/step1/mid/460.aspx
AbsoluteURL: /Default.aspx
UserAgent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.112 Safari/534.30
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 0bb453a8-b87d-40bc-8b4e-9ef88057cdbf
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.Step1.GetItemTotal
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.Step1.GetItemTotal() at Smith.DNN.Modules.BuyNow.Step1.GetTax() at Smith.DNN.Modules.BuyNow.Step1.GetTotalAfterTax() at Smith.DNN.Modules.BuyNow.Step1.ibNext_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.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 ---
Source:
 
New Post
7/5/2011 9:53 PM
 

Hi Daniel,

I have sent you an email regarding this issue.

For anyone else reading this post, we have not been able replicate this issue as we do not maintain source code further than 3 versions back so the furthest I can go back is v.4.32. To determine if the issue is with the latest version of the cart or an issue with your specific dnn portal/cart install. You can login to our test site www9.smith-consulting.com and try to replicate the error.

Please send an email to kevin@smith-consulting.com if you need a login.

Thanks

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartShow stopper when customer is logged in: Object reference not set to an instance of an objectShow stopper when customer is logged in: Object reference not set to an instance of an object