Editing unprocessed payment generates exception

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Editing unprocessed payment generates exception

Post by AbleMods » Fri Nov 23, 2007 6:45 am

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.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
sohaib
Developer
Developer
Posts: 1079
Joined: Fri Jan 23, 2004 1:38 am

Post by sohaib » Mon Nov 26, 2007 11:28 am

This was not reproduced.
Refer to bug
http://bugs.ablecommerce.com/show_bug.cgi?id=6079

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Post by Logan Rhodehamel » Mon Nov 26, 2007 12:22 pm

By chance did you delete that payment method? Seems to be the trick to reproducing.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Post by AbleMods » Mon Nov 26, 2007 1:57 pm

Yes! I had deleted both the payment gateway and the associated methods. Recreated them to test something unrelated I think :oops:
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Post by Logan Rhodehamel » Mon Nov 26, 2007 1:58 pm

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.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Post by compunerdy » Sat Jan 19, 2008 2:11 am

I have seen this bug still in RC2..just a FYI

Post Reply