HomeHome Product Discus... Product Discus...SmithCartSmithCart2.84: Checkout with creating a new user generates Object Reference error2.84: Checkout with creating a new user generates Object Reference error
Previous
 
Next
New Post
5/10/2010 12:46 PM
 

When I check out and enter a login/password to be remembered, the charge goes through (using the 411111111111111) visa card but when it's done I get"Object reference not set to an instance of an object." error.

This is what the Event Viewer has to say about it:

AssemblyVersion: 5.2.3
PortalID: 0
PortalName: Irrigator Nasal Spray
UserID: -1
UserName:
ActiveTabID: 40
ActiveTabName: Home
RawURL: /Home/tabid/40/ctl/Confirm/mid/389/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: https://www.irrigatornasalspray.com/Home/tabid/40/ctl/Confirm/mid/389/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 4982e30e-35ed-44a3-ac19-6e3ad1a904c6
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.Confirm.ProcessStatus
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.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.ImageClickEventHandler.Invoke(Object sender, ImageClickEventArgs 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 ---

Of course it also creates the order but does not empty out the users cart so I expect that I will be getting some multiple orders...

If I don't enter the new userid and password, it works fine.

 
New Post
5/10/2010 2:23 PM
 

There are 2 pages where you can enter a userid and password, the sign in screen that is displayed right after the cart page and the confirm page. Which page are you entering the userid and password to?


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
5/10/2010 2:34 PM
 

I don't have any sign-in page after the cart page, only the confirm page.

https://www.irrigatornasalspray.com/H...

So it's the Confirm control.

 
New Post
5/10/2010 9:52 PM
 

I just tested this and entered a new userid and password on the confirm screen and didnt get an error. The transaction was approved and it took me to the confirmstatus page all looked good. Can you provide more details on how I can replicate it. Did you use a coupon? I purchased the nasel spray with the default option 1 @ $9.95 plus $6.95 shipping and handling


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
5/12/2010 9:26 AM
 

I will double check it again after I upgrade to 2.86.

 
New Post
5/12/2010 6:54 PM
 

After the 2.86 upgrade it works fine now as long as the user isn't already logged in as Admin or Host.

 
New Post
5/12/2010 8:25 PM
 

I had the same bug. It seems to happen the first time you use the userid after registration. If you login a second time the issue went away. I look forward to 2.86 if that gets the problem to go away.

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCart2.84: Checkout with creating a new user generates Object Reference error2.84: Checkout with creating a new user generates Object Reference error