HomeHome Product Discus... Product Discus...SmithCartSmithCartBrand New Setup - Object reference not set to an instance of an object.Brand New Setup - Object reference not set to an instance of an object.
Previous
 
Next
New Post
7/28/2011 6:51 AM
 

I have been having issues with a site using this software. So instead of backing everything up. I started from a clean slate. I completely removed the cart software and started from the begining. My concern is that halfway through adding the products back in I tested it. Worked fine... I then added the rest of the products and I get the following error in the cart upon returning from the payment gateway:

Any thoughts here... this is from a brand new install.

 

7/28/2011 9:41:11 AM   Page Load Exception       AssemblyVersion: 5.6.3; PortalID: 0; PortalName< ...

AssemblyVersion: 5.6.3
PortalID: 0

UserID: -1
UserName:
ActiveTabID: 75
ActiveTabName: Gift Store
RawURL: /GiftStore/tabid/75/ctl/Confirm/mid/414/Default.aspx?id=310c172a-2572-4735-b70f-dc410c11b9bb
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.0
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 0c443e33-1f0d-4bc1-aba1-86657f843bf1
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.Confirm.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.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.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: WEBSERV01

  7/28/2011 9:40:19 AM   Admin Alert    Stacktrace: : at Smith.DNN.Modules.BuyNow.Confirm.RedirectCBOSSHo ...

Stacktrace: : at Smith.DNN.Modules.BuyNow.Confirm.RedirectCBOSSHosted() 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)
Server Name: WEBSERV01

 
New Post
7/28/2011 7:12 AM
 

I have found that a corrput image file on a certain product was the issue. I resaved my image file and deleted and recreated the product and this fixed the problem.

 
New Post
7/28/2011 4:40 PM
 
Thanks for posting back with an update! Glad to hear you found the solution.

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartBrand New Setup - Object reference not set to an instance of an object.Brand New Setup - Object reference not set to an instance of an object.