System.ArgumentNullException: Value cannot be null. (Parameter 'image') at Grand.Services.Media.PictureService.ApplyResize(SKBitmap image, SKEncodedImageFormat format, Int32 targetSize) in C:\Users\Masem\source\repos\FantomGrandNode\Grand.Services\Media\PictureService.cs:line 802 at Grand.Services.Media.PictureService.GetPictureUrl(Picture picture, Int32 targetSize, Boolean showDefaultPicture, String storeLocation, PictureType defaultPictureType) in C:\Users\Masem\source\repos\FantomGrandNode\Grand.Services\Media\PictureService.cs:line 477 at Grand.Services.Media.PictureService.<>c__DisplayClass23_0.<b__0>d.MoveNext() in C:\Users\Masem\source\repos\FantomGrandNode\Grand.Services\Media\PictureService.cs:line 382 --- End of stack trace from previous location where exception was thrown --- at Grand.Core.Caching.CacheExtensions.GetAsync[T](ICacheManager cacheManager, String key, Int32 cacheTime, Func`1 acquire) in C:\Users\Masem\source\repos\FantomGrandNode\Grand.Core\Caching\CacheExtensions.cs:line 48 at Grand.Services.Media.PictureService.GetPictureUrl(String pictureId, Int32 targetSize, Boolean showDefaultPicture, String storeLocation, PictureType defaultPictureType) in C:\Users\Masem\source\repos\FantomGrandNode\Grand.Services\Media\PictureService.cs:line 383 at Grand.Web.Services.ProductViewModelService.PrepareProductAttributeModel(Product product, Int32 defaultPictureSize, ShoppingCartItem updatecartitem) in C:\Users\Masem\source\repos\FantomGrandNode\Grand.Web\Services\ProductViewModelService.cs:line 1261 at Grand.Web.Services.ProductViewModelService.PrepareProductDetailsPage(Product product, ShoppingCartItem updatecartitem, Boolean isAssociatedProduct) in C:\Users\Masem\source\repos\FantomGrandNode\Grand.Web\Services\ProductViewModelService.cs:line 785 at Grand.Web.Controllers.ProductController.ProductDetails(String productId, String updatecartitemid) in C:\Users\Masem\source\repos\FantomGrandNode\Grand.Web\Controllers\ProductController.cs:line 185 at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|24_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|19_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.Builder.RouterMiddleware.Invoke(HttpContext httpContext) at Grand.Framework.Middleware.WorkContextMiddleware.Invoke(HttpContext context, IWorkContext workContext) in C:\Users\Masem\source\repos\FantomGrandNode\Grand.Framework\Middleware\WorkContextMiddleware.cs:line 73 at Grand.Framework.Middleware.StoreContextMiddleware.Invoke(HttpContext context, IStoreContext storeContext) in C:\Users\Masem\source\repos\FantomGrandNode\Grand.Framework\Middleware\StoreContextMiddleware.cs:line 44 at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Grand.Framework.Middleware.PoweredByMiddleware.InvokeAsync(HttpContext context, IPoweredByMiddlewareOptions options) in C:\Users\Masem\source\repos\FantomGrandNode\Grand.Framework\Middleware\PoweredByMiddleware.cs:line 27 at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Grand.Framework.Middleware.InstallUrlMiddleware.InvokeAsync(HttpContext context, IWebHelper webHelper) in C:\Users\Masem\source\repos\FantomGrandNode\Grand.Framework\Middleware\InstallUrlMiddleware.cs:line 50 at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware.Invoke(HttpContext context) 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: */* Host: ddody.azurewebsites.net Max-Forwards: 10 User-Agent: claudebot X-ARR-LOG-ID: 74703881-cab9-4f2b-97c3-bc8d59ba8996 CLIENT-IP: 52.55.55.239:56206 DISGUISED-HOST: ddody.azurewebsites.net X-SITE-DEPLOYMENT-ID: ddody WAS-DEFAULT-HOSTNAME: ddody.azurewebsites.net X-Forwarded-Proto: https X-AppService-Proto: https X-ARR-SSL: 2048|256|CN=Microsoft Azure RSA TLS Issuing CA 08, O=Microsoft Corporation, C=US|CN=*.azurewebsites.net, O=Microsoft Corporation, L=Redmond, S=WA, C=US X-Forwarded-TlsVersion: 1.3 X-Forwarded-For: 52.55.55.239:56206 X-Original-URL: /pajama-42 X-WAWS-Unencoded-URL: /pajama-42