System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') at System.Collections.Generic.List`1.RemoveAt(Int32 index) at Revo.ProEnergetic.Providers.RPartnerRegisterDiscountAmountProvider.DiscountAmount(Discount discount, Customer customer, Product product, Double amount) at Grand.Business.Catalog.Services.Discounts.DiscountService.GetDiscountAmountProvider(Discount discount, Customer customer, Product product, Double amount) in C:\Users\Public\source\Repos\proenergy-grandnode\src\Business\Grand.Business.Catalog\Services\Discounts\DiscountService.cs:line 807 at Grand.Business.Catalog.Services.Discounts.DiscountService.GetDiscountAmount(Discount discount, Customer customer, Currency currency, Product product, Double amount) in C:\Users\Public\source\Repos\proenergy-grandnode\src\Business\Grand.Business.Catalog\Services\Discounts\DiscountService.cs:line 718 at Grand.Business.Catalog.Services.Discounts.DiscountService.GetPreferredDiscount(IList`1 discounts, Customer customer, Currency currency, Product product, Double amount) in C:\Users\Public\source\Repos\proenergy-grandnode\src\Business\Grand.Business.Catalog\Services\Discounts\DiscountService.cs:line 763 at Grand.Business.Catalog.Services.Prices.PricingService.GetDiscountAmount(Product product, Customer customer, Currency currency, Double productPriceWithoutDiscount) in C:\Users\Public\source\Repos\proenergy-grandnode\src\Business\Grand.Business.Catalog\Services\Prices\PricingService.cs:line 389 at Grand.Business.Catalog.Services.Prices.PricingService.<>c__DisplayClass22_0.<g__PrepareModel|0>d.MoveNext() in C:\Users\Public\source\Repos\proenergy-grandnode\src\Business\Grand.Business.Catalog\Services\Prices\PricingService.cs:line 516 --- End of stack trace from previous location --- at Grand.Business.Catalog.Services.Prices.PricingService.GetFinalPrice(Product product, Customer customer, Currency currency, Double additionalCharge, Boolean includeDiscounts, Int32 quantity, Nullable`1 rentalStartDate, Nullable`1 rentalEndDate) in C:\Users\Public\source\Repos\proenergy-grandnode\src\Business\Grand.Business.Catalog\Services\Prices\PricingService.cs:line 530 at Grand.Business.Catalog.Services.Prices.PricingService.GetFinalPrice(Product product, Customer customer, Currency currency, Double additionalCharge, Boolean includeDiscounts, Int32 quantity) in C:\Users\Public\source\Repos\proenergy-grandnode\src\Business\Grand.Business.Catalog\Services\Prices\PricingService.cs:line 415 at Grand.Web.Features.Handlers.Products.GetProductOverviewHandler.PreparePriceModel(Product product, Dictionary`2 res, Boolean forceRedirectionAfterAddingToCart, Boolean enableShoppingCart, Boolean displayPrices, Boolean enableWishlist, Boolean priceIncludesTax) in C:\Users\Public\source\Repos\proenergy-grandnode\src\Web\Grand.Web\Features\Handlers\Products\GetProductOverviewHandler.cs:line 337 at Grand.Web.Features.Handlers.Products.GetProductOverviewHandler.GetProductOverviewModel(Product product, GetProductOverview request, Boolean displayPrices, Boolean enableShoppingCart, Boolean enableWishlist, Int32 pictureSize, Boolean priceIncludesTax, Dictionary`2 res) in C:\Users\Public\source\Repos\proenergy-grandnode\src\Web\Grand.Web\Features\Handlers\Products\GetProductOverviewHandler.cs:line 139 at Grand.Web.Features.Handlers.Products.GetProductOverviewHandler.Handle(GetProductOverview request, CancellationToken cancellationToken) in C:\Users\Public\source\Repos\proenergy-grandnode\src\Web\Grand.Web\Features\Handlers\Products\GetProductOverviewHandler.cs:line 102 at MediatR.Pipeline.RequestExceptionProcessorBehavior`2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate`1 next) at MediatR.Pipeline.RequestExceptionProcessorBehavior`2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate`1 next) at MediatR.Pipeline.RequestExceptionActionProcessorBehavior`2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate`1 next) at MediatR.Pipeline.RequestExceptionActionProcessorBehavior`2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate`1 next) at MediatR.Pipeline.RequestPostProcessorBehavior`2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate`1 next) at MediatR.Pipeline.RequestPreProcessorBehavior`2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate`1 next) at Grand.Web.Components.HomePageProductsViewComponent.InvokeAsync(Nullable`1 productThumbPictureSize) in C:\Users\Public\source\Repos\proenergy-grandnode\src\Web\Grand.Web\Components\HomePageProducts.cs:line 64 at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsyncCore(ObjectMethodExecutor executor, Object component, ViewComponentContext context) at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context) at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context) at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper.InvokeCoreAsync(ViewComponentDescriptor descriptor, Object arguments) at AspNetCore._Themes_Froggy_Views_Home_Index.ExecuteAsync() in C:\inetpub\wwwroot\Themes\Froggy\Views\Home\Index.cshtml:line 68 at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context) at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode) at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode) at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ActionContext actionContext, IView view, ViewDataDictionary viewData, ITempDataDictionary tempData, String contentType, Nullable`1 statusCode) at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor.ExecuteAsync(ActionContext context, ViewResult result) at Microsoft.AspNetCore.Mvc.ViewResult.ExecuteResultAsync(ActionContext context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|30_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|28_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Grand.Web.Common.Middleware.WorkContextMiddleware.Invoke(HttpContext context, IWorkContext workContext) in C:\Users\Public\source\Repos\proenergy-grandnode\src\Web\Grand.Web.Common\Middleware\WorkContextMiddleware.cs:line 69 at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Grand.Web.Common.Middleware.PoweredByMiddleware.InvokeAsync(HttpContext context, IPoweredByMiddlewareOptions options) in C:\Users\Public\source\Repos\proenergy-grandnode\src\Web\Grand.Web.Common\Middleware\PoweredByMiddleware.cs:line 26 at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Grand.Web.Common.Middleware.InstallUrlMiddleware.InvokeAsync(HttpContext context) in C:\Users\Public\source\Repos\proenergy-grandnode\src\Web\Grand.Web.Common\Middleware\InstallUrlMiddleware.cs:line 48 at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) at Microsoft.AspNetCore.OData.Query.ODataQueryRequestMiddleware.Invoke(HttpContext context) at Grand.Web.Common.Middleware.DbVersionCheckMiddleware.Invoke(HttpContext context, ICacheBase cacheBase, IRepository`1 repository) in C:\Users\Public\source\Repos\proenergy-grandnode\src\Web\Grand.Web.Common\Middleware\DbVersionCheckMiddleware.cs:line 47 at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.HandleException(HttpContext context, ExceptionDispatchInfo edi) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context) HEADERS ======= Accept: */* Connection: close Host: shop.proenergetic.com Referer: https://www.proenergetic.com/produkt-kategorie/schutz-vor-e-smog/ User-Agent: claudebot