Hi,
Steps to reproduce the bug:
Make a purchase using the PayPal standard payment gateway
Once paid on PayPal webSite, DO NOT CLICK [EDIT: the problem occurs when clicking the Return button too] on 'Return to store' button, but just enter the Store site URL manually in the browser address field
The store homepage is displayed
Click on MyAccount page (as we are still logged-in with the purchaser account) to see that the last order has effectively paid.
The error 'A critical error has occurred. An unexpected error has occurred' is displayed.
On the event log side:
AssemblyVersion: 6.0.1
PortalID: 0
PortalName: Dnn6Express2
UserID: 3
UserName: test1
ActiveTabID: 79
ActiveTabName: Smith MyAccount
RawURL: /SmithMyAccount.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://localhost:8000/
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 8e176056-ba3f-4bad-b77e-eb77aa97a4fa
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.MyAccount.MyAccountManageOrders.Page_Load
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.MyAccount.MyAccountManageOrders.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.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Smith Shopping Cart version : 4.52.0 on DNN 6.0.1