HomeHome Product Discus... Product Discus...SmithCartSmithCartCritical error on order confirmationCritical error on order confirmation
Previous
 
Next
New Post
2/9/2011 5:30 PM
 
Hi I'm using cart 3.97 and DNN 5.5.1

A customer just placed an order, paid, hit the confirm button, and got a criticial exception. I think it was caused by the email sending, because the email confirmation wasn't sent.

A critical error has occurred.
Object reference not set to an instance of an object.

It's going to be too hard to replicate on the www7 test portal. Do you have any ideas? I have not changed anything, and this has not happened before.

A few clues:
In the manager customers screen, the customer has a Contact=False field. I don't know what that means.
Also in the manager customers screen, the customer has a DNNLogin field (jsmith), but in admin user accounts the portal does not have this customer as a registered user.


Here is the event viewer:

AssemblyVersion: 5.5.1
PortalID: 0
PortalName: My Name
UserID: -1
UserName:
ActiveTabID: 61
ActiveTabName: Online Store
RawURL: /Online-Store/ctl/Confirm/mid/460.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: https://www.mydomain.com.au/Online-Store/ctl/Confirm/mid/460.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 64302fa5-a028-4a23-a673-1bb57d2980b4
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.Confirm.SendEmail
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.SendEmail(CustomerInfo customer, UserInfo objUserInfo) at Smith.DNN.Modules.BuyNow.Confirm.ProcessStatus(PaymentStatusInfo status) at Smith.DNN.Modules.BuyNow.Confirm.Submit() at Smith.DNN.Modules.BuyNow.Confirm.btnSubmit_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.ImageButton.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 ---
 
New Post
2/9/2011 9:40 PM
 

I will check this out, however it seems like something in your cart or dnn install has gotten out of sync. I would recommend upgrading to the latest versoin of the cart and doing a fresh install.


Thanks,
Christian

 
New Post
2/10/2011 2:38 PM
 
Hi Christian,

Oh no, not the dreaded "out of sync, fresh install" answer. I feel like crying when I see that. Also, I didn't actually accept that answer, and I wish to unaccept your accepted answer. ;-)

Anyway I doubt anything has gotten out of sync because it was a fresh install at the time, it's otherwise been working fine, and I haven't changed anything. And anyway it's not a viable option unfortunately.

So is there any chance that it is a bug? If I may say so, I'm pretty careful with my forum posts and I've almost always ended up proving bugs that get reported to programming. Is it possible that something is unhandled at present, related to those clues I mentioned above?

Thanks.
Daniel.
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartCritical error on order confirmationCritical error on order confirmation