Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 68: PurchaseOrder purchaseOrder = basket.PurchaseOrder;
Line 69:
Line 70: purchaseOrder.AddProduct(catalog, product, 1, true); Line 71:
Line 72: // Exec basket pipeline to update totals
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
UCommerce.EntitiesV2.PurchaseOrder.AddProduct(ProductCatalog catalog, Product product, Int32 quantity, Boolean addToExistingLine) +206
Whitebox.WebSiteCard.usercontrols.ProductsCatalog.btnBuySmall_Click(Object sender, EventArgs e) in c:\work\Angner Marten\WhiteBox\trunk\WebSiteCard\usercontrols\ProductsCatalog.ascx.cs:70
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +152
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3803
System.NullReferenceException
Hi,
I can't create simple order.
purchaseOrder.AddProduct(catalog, product, 1, true);
Hi Alex,
Could you post the exception you're seeing?
Doh. Just noticed the topic :)
Which version are you using?
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 68: PurchaseOrder purchaseOrder = basket.PurchaseOrder; Line 69: Line 70: purchaseOrder.AddProduct(catalog, product, 1, true); Line 71: Line 72: // Exec basket pipeline to update totals
Stack Trace:
umbraco v 4.7.2
uCommerce 2.6.1.0
Please, help I'm at a dead end. )
Object Customer allways is null.
Could you zip up the site + DB and send it to me so I can take a closer look?
ssl AT ucommerce DOT dk
Thanks.
Hi Soren,
We solve problem with crash, now we have worked PayPal payment. But,
Orders doesn't appears in ucommerce admin part,
Code of order creation :
Please help us ))
Thanks,
Alexandr
Do you have the Checkout pipeline configured on the PayPal payment method?
Is the server the store is running on accessible from the internet (PayPal needs this to perform callback when the payment is approved).
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.