Page 1 of 1

Editing unprocessed payment generates exception

Posted: Fri Nov 23, 2007 6:45 am
by AbleMods
Any thoughts on this one?

All I did would pull up an order with a payment status of unprocessed, clicked the payments button on the left and then chose edit payment from the pulldown. Payment method was credit card of AmEx.



Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 11/23/2007
Time: 8:38:27 AM
User: N/A
Computer: SOL01
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 11/23/2007 8:38:27 AM
Event time (UTC): 11/23/2007 1:38:27 PM
Event ID: 387d6a8125244af08972a46a4c0867be
Event sequence: 2070
Event occurrence: 8
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1838475879/Root-1-128402711115757500
Trust level: Full
Application Virtual Path: /
Application Path: C:\Web Sites\Solunar Store\
Machine name: SOL01

Process information:
Process ID: 4320
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.

Request information:
Request URL: https://www.solunar.com/Admin/Orders/Pa ... ymentId=16
Request path: /Admin/Orders/Payments/EditPayment.aspx
User host address: 76.125.2.102
User: jhpayne@solunar.com
Is authenticated: True
Authentication Type: Forms
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 5
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at ASP.admin_orders_payments_editpayment_aspx.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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Posted: Mon Nov 26, 2007 11:28 am
by sohaib
This was not reproduced.
Refer to bug
http://bugs.ablecommerce.com/show_bug.cgi?id=6079

Posted: Mon Nov 26, 2007 12:22 pm
by Logan Rhodehamel
By chance did you delete that payment method? Seems to be the trick to reproducing.

Posted: Mon Nov 26, 2007 1:57 pm
by AbleMods
Yes! I had deleted both the payment gateway and the associated methods. Recreated them to test something unrelated I think :oops:

Posted: Mon Nov 26, 2007 1:58 pm
by Logan Rhodehamel
SolunarServices wrote:Yes! I had deleted both the payment gateway and the associated methods. Recreated them to test something unrelated I think :oops:
NP... that just confirms it! We must fix the page so it works even if you delete the method.

Posted: Sat Jan 19, 2008 2:11 am
by compunerdy
I have seen this bug still in RC2..just a FYI