Error: System.ArgumentNullException: Value cannot be null
Hi,
When I save an image I receive the following error message:
System.ArgumentNullException: Value cannot be null.
Parameter name: httpContext
Stacktrace:
at System.Web.HttpContextWrapper..ctor(HttpContext httpContext)
at Umbraco.Web.SingletonHttpContextAccessor.get_Value()
at Umbraco.Web.RequestLifespanMessagesFactory.Get()
at Umbraco.Core.Services.MediaService.Umbraco.Core.Services.IMediaServiceOperations.Save(IMedia media, Int32 userId, Boolean raiseEvents)
at Umbraco.Core.Services.MediaService.Save(IMedia media, Int32 userId, Boolean raiseEvents)
at Tinifier.Core.Repository.Image.TImageRepository.Update(Int32 id, Int32 actualSize)
at Tinifier.Core.Services.Media.ImageService.UpdateImageAfterSuccessfullRequest(TinyResponse tinyResponse, TImage image, IFileSystem fs)
at Tinifier.Core.Services.Media.ImageService.<OptimizeImageAsync>d__13.MoveNext()
I'm using the latest version of TInifier and Umbraco v. 7.5.9.
Error: System.ArgumentNullException: Value cannot be null
Hi,
When I save an image I receive the following error message:
Stacktrace:
I'm using the latest version of TInifier and Umbraco v. 7.5.9.
Thanks, we will check it.
Hi, Wesley.
Your issue fixed. Please, update your Tinifier version to 1.4.1 and check it. If everything OK, please, write here.
Thanks for your topic.
BackendDevs
Hi,
It works fine now.
Thanks for the quick fix!
Best Regards, Wesley
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.