|
|
|
|
Joined: 12/15/2010
Posts: 147
|
|
|
I had this issue that has been ongoing for a while... Some people that use the store will get the braod error of "Object reference not set to an instance of an object." - This occurs when being sent from our gateway back to the store - I never get this error myself persoanly when I test - but it happens for most customers.
When this does happen - no emails are sent and there is no notification of purchase. Making it very difficult to know when orders are placed.
Also, the error you see listed below occurs still even after disabling tax.. I have it set to "No Tax" in the cart settings.
Looking at this error. Can you see any reason why this error should be coming up. Any help is appreciated. This is cart version 4.84
AssemblyVersion: 6.1.2
PortalID: 0
PortalName: Ty Cobb - Museum
UserID: -1
UserName:
ActiveTabID: 79
ActiveTabName: Gift Shop
RawURL: /GiftShop/tabid/79/ctl/Confirm/mid/424/Default.aspx?id=2ca9eeec-e95d-4daf-b0ba-bce2a36257d4
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 4fd9cb0f-468a-484c-90e3-a1e39552450f
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.Confirm.GetItemTaxTotal
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.GetItemTaxTotal() at Smith.DNN.Modules.BuyNow.Confirm.GetTax() at Smith.DNN.Modules.BuyNow.Confirm.GetTotalAfterTax() 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
|
|
|
|
| |
|
|
|
|
Joined: 12/15/2010
Posts: 147
|
|
|
Any thoughts on this? All my efforts to get rid of this error are going nowhere. One thing I have not tried is the tax list... if I wanted to setup a CSV file for taxes and only have one entry for the entire state of GA for 7% sales tax... what would it look like?
This may be a work around. Can anyone offer assitace with this? Thanks.
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Hello,
The following is the correct CSV import format to import the your Tax Tables:
-
City
-
County
-
State
-
Zip
-
TaxRate
Check the following event viewers on your server for errors and post back if you see any errors around the same time the your customers are processing a transaction:
- Windows Event Viewer
- SQL Server Event Viewer
Are there any similarities between the customer's orders which are experiencing this issue? Such as product ordered, Shipping Address, Discounts applied, customer being logged in or not etc.? There must be some difference between the transactions which are producing this issue and the ones you are running personally.
Thanks,
|
|
|
|
| |
|
|
|
|
Joined: 12/18/2009
Posts: 174
|
|
|
I get these errors as well with v4.93. Login as Host, and click Host|SQL and paste this into the textbox and click Execute.
SELECT LogGUID,LogCreateDate,LogPortalName,LogEventID
FROM {databaseOwner}{objectQualifier}EventLog
where LogProperties like '%GetTax%'
Each entry listed is a failed order, there is no record of the order or the details in SmithCart.
From the customer side, they see the error, lose their order and have an empty cart. One item is no big deal, 20+ line items yields nasty phone calls.
Because the error message contains nothing specific it is extremely difficult to reproduce.
I have yet to determine the cause but it definately is a high priority problem.
|
|
|
|
| |
|
|
|
|
Joined: 12/15/2010
Posts: 147
|
|
|
Now that we have some evidence that this is still occuring and is in fact an issue can we please get this looked at - it has been an issue for quite some time and is causing a lot of problems with my client. Thanks.
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Hi Guys,
We have been testing all combinations of module configurations and product configurations attempting to produce the error your customers are receiving.
We have tried entering different addresses on the various checkout screens during the same transaction as well as various Shipping configurations but unfortunately we have been unable to produce these same issues.
Can you verify which orders which were processed in your store that produced the error or if there are any similarities between the orders that produced the errors such as coupons, discounts, address, the browser, and version of the browser being used?
Can you post a screenshot of your Cart Settings and Product Setup screens?
Thanks,
|
|
|
|
| |
|
|
|
|
Joined: 12/18/2009
Posts: 174
|
|
|
Forgive me for being blunt, but this is just another example of how difficult it is to deal with because the order is stored in the session on the customer's computer. If the data was stored in the database this issue would be very easy to repro and fix. Otherwise it is nearly impossible to diagnose and/or reproduce customer session problems. All we get is that an error occurred and nothing to determine what actually happened.
Add the complexity with combinations of configuration settings and it becomes a nightmare to debug for everyone.
In my case, I find orphaned payments. I understand it is major undertaking from a design perspective, but I do have a two simple workarounds.
One is to add a debugging configuration option to save the session to the database and/or an XML file (order, details, payment history) before any logic is performed. This way we can at least recover order information that would otherwise be lost, and most importantly we can use the information to help repro the problem.
Step two is to add an export and import of the entire configuration setup to an XML file. When this is in place, we can email the config setup to support, and you can instantly reproduce and debug specific errors yourself without all the forum posts for clarity.
If I can get my hands on the current codebase I'll even write the code for you.
Thanks for listening,
Dwayne
|
|
|
|
| |
|
|
|
|
Joined: 12/15/2010
Posts: 147
|
|
|
Can we bump this to a high priority so I can get my clients site fixed?
|
|
|
|
| |
|
|
|
|
Joined: 3/11/2010
Posts: 1979
|
|
|
The contents of customer shopping carts are saved in the SQL table titled "Smith_ShoppingCart". We have spent alot of hours trying to reproduce this error and have not been able to. The error may be data driven or based on a specific server/hosting environment conditions or even a user running a really old version of ie with javascript/cookies turned off and security cranked to the highest level. Unless we can reproduce the bug we obviously cannot fix it. If you have any other info to help us reproduce the issue please send asap. We will continue to test on our end to reproduce the issue you reported.
Scott Kelly
Project Manager
|
|
|
|
| |
|
|
|
|
Joined: 12/15/2010
Posts: 147
|
|
|
Dwayne or Anyone else experienceing this issue can you please provide any new information you have on this error. I have a client that I have rebuilt the site from scratch multiple times. I have now tried DNN 6.2.0 and Cart 5.0 with no luck on getting rid of this error.
Even though you guys can reproduce it... can you explain what this error even means?
AssemblyVersion: 6.2.0
PortalID: 0
UserID: -1
UserName:
ActiveTabID: 91
ActiveTabName: Gift Shop
RawURL: /GiftShop/tabid/91/ctl/Confirm/mid/416/Default.aspx?id=b95451de-90d8-4d2d-a2bc-1ce336eec5b5
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: a80860f9-f25c-4e6d-9758-76a560b51e07
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.Confirm.GetItemTaxTotal
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.GetItemTaxTotal() at Smith.DNN.Modules.BuyNow.Confirm.GetTax() at Smith.DNN.Modules.BuyNow.Confirm.GetTotalAfterTax() 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:
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Hi Cboss,
Is this issue present on a clean installation of DNN without any content and before migrating your skin, content, and any other 3rd party modules? Or does this issue only occur after everything has been moved over?
Thanks,
|
|
|
|
| |
|
|
|
|
Joined: 12/15/2010
Posts: 147
|
|
|
I have done this on a clean install as well. I can tell you that there are no other 3rd party modules installed expect the cart software. This site couldnt be any more basic. There is an issue with the tax calculation and some combinations of items, settings or some other issue. Dwayne said he has some thoughts on pin pointing this issue, but is still working on this. Based on What I was told:
"I know this a settings/configuration issue, but I have yet to resolve the precise problem. It is nearly impossible to recreate or debug because the failure prevents logging of the real problem. Because the order is stored client side until checkout, I do not have a clue what the order was to recreate and demonstrate it. I have written routines to import and export cart settings so Smith can try and see exactly what happens. IMO this is the biggest problem, the order should be saved to the database _before_ calculating, emailing or processing the transaction. That way we can recreate (or resubmit) the order and fix any bugs. As it is, any bugs prevent the order from being saved and we have no idea what happened"
Dwayne is right... it does not happen all the time... but often enough to cause for concern.
|
|
|
|