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