#Solved: Umbraco Commerce 14.1.1: PollyExecutionStrategyBase.ExecuteAsync is suddenly always null

1 messages · Page 1 of 1 (latest)

vagrant oyster
#

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](Func2 operation, Func2 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

vagrant oyster
vagrant oyster
#

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.

#

Umbraco Commerce 14.0.1: PollyExecutionStrategyBase.Execute is suddenly always null

vagrant oyster
#

Umbraco Commerce 14.1.1: PollyExecutionStrategyBase.ExecuteAsync is suddenly always null

vagrant oyster
#

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.

@sharp current any insights?

vagrant oyster
vagrant oyster
#

this is fixed with the latest version, issue is closed.