I deleted the vendr cookie and it all went pear shaped. .GetOrCreateCurrentOrder() produces the error below. I've removed all orders from the database, removed all cookies, restarted pc, tried other browsers, no joy.
Any ideas?
Thanks
System.NullReferenceException: Object reference not set to an instance of an object.
at Vendr.Infrastructure.Resiliency.PollyExecutionStrategyBase.Execute[TResult](Func1 operation, Func1 verifySucceeded)
at Vendr.Core.VendrUnitOfWorkProvider.Execute[T](IUnitOfWorkOptions options, Func2 action)
at Vendr.Core.VendrUnitOfWorkProvider.Execute[T](Func2 action)
at Vendr.Core.Session.SessionManager.GetOrCreateCurrentOrder(Guid storeId, String customerReference)
at Vendr.Core.Api.CoreVendrApi.GetOrCreateCurrentOrder(Guid storeId, String customerReference)
at Prestige.Web.ViewComponents.HeaderCartIconViewComponent.InvokeAsync() in D:\Work\Projects\Prestige.Web\ViewComponents\HeaderCartIconViewComponent.cs:line 42
Anyone seen this Vendr error before?
Hi
I deleted the vendr cookie and it all went pear shaped. .GetOrCreateCurrentOrder() produces the error below. I've removed all orders from the database, removed all cookies, restarted pc, tried other browsers, no joy.
Any ideas?
Thanks
System.NullReferenceException: Object reference not set to an instance of an object. at Vendr.Infrastructure.Resiliency.PollyExecutionStrategyBase.Execute[TResult](Func
1 operation, Func
1 verifySucceeded) at Vendr.Core.VendrUnitOfWorkProvider.Execute[T](IUnitOfWorkOptions options, Func2 action) at Vendr.Core.VendrUnitOfWorkProvider.Execute[T](Func
2 action) at Vendr.Core.Session.SessionManager.GetOrCreateCurrentOrder(Guid storeId, String customerReference) at Vendr.Core.Api.CoreVendrApi.GetOrCreateCurrentOrder(Guid storeId, String customerReference) at Prestige.Web.ViewComponents.HeaderCartIconViewComponent.InvokeAsync() in D:\Work\Projects\Prestige.Web\ViewComponents\HeaderCartIconViewComponent.cs:line 42is working on a reply...