Solved: Umbraco Commerce 14.1.1: PollyExecutionStr...
# help-with-umbraco
a
having a sudden issue with Umbraco Commerce this morning. Doing anything in he Umbraco Commerce backoffice or front end is failing with a server error: System.NullReferenceException: Object reference not set to an instance of an object. at Umbraco.Commerce.Infrastructure.Resiliency.PollyExecutionStrategyBase.ExecuteAsync[TResult](Func`2 operation, Func`2 verifySucceeded, CancellationToken cancellationToken) at Umbraco.Commerce.Core.UmbracoCommerceUnitOfWorkProvider.ExecuteAsync[T](IUnitOfWorkOptions options, Func`3 action, CancellationToken cancellationToken) As for what has changed recently, I have only added a new payment provider class, and it was working yesterday after the payment provider was built. Note: just tested upgrading to Umbraco Commerce 14.1.1, same issue https://cdn.discordapp.com/attachments/1293579292936241152/1293582071758848101/image.png?ex=6707e5af&is=6706942f&hm=9291704961c344c8418a2f465b52725da660322153c56a1c875a058c61890f03&
maybe there is some cache that needs clearing? I cleared all existing orders from the db, removed the new payment provider class, removed the order from payment providers table, no luck.
If it helps, initially this same error was returned when I was getting the cart var order = _commerceApi.GetCurrentOrder(new Guid(store)); but now this error isnt thrown, but whenever I attempt to make any db modifications via the api, I get this error. @User any insights?
To update: I think this is the same issue noted here: https://github.com/umbraco/Umbraco.Commerce.Issues/issues/565 I thought I had broken something, good to hear that I did not.
this is fixed with the latest version, issue is closed.
51 Views