<!-- Those are examples of built in Coveo computed fields. Use them to compute an image URL or alt from an image field. -->
<!--
<field fieldName="imageUrl" sourceField="Image">Coveo.SearchProvider.ComputedFields.ImageUrlComputedField, Coveo.SearchProviderBase</field>
<field fieldName="imageAlt" sourceField="Image">Coveo.SearchProvider.ComputedFields.ImageAltComputedField, Coveo.SearchProviderBase</field>
-->
Try to build Coveo Indexes
Actual Result: Index was built
Expected Result: Index build was failed
Relevant logs
ManagedPoolThread #0 12:32:34 Coveo.SearchProvider.Documents.AbstractDocumentFactory.TryBuildDocument(:0) ERROR An exception occurred while trying to process the item {DAE3864B-0222-4291-95A7-2472E32AC111}: Value cannot be null.
Parameter name: httpContext
Exception: System.ArgumentNullException
Message: Value cannot be null.
Parameter name: httpContext
Source: System.Web
at System.Web.HttpContextWrapper..ctor(HttpContext httpContext)
at .......SitecoreExtensions.Media.MediaProvider.GetMediaUrl(MediaItem item, String url) in ....
at Dianoga.NextGenFormats.MediaProvider.GetMediaUrl(MediaItem item, MediaUrlBuilderOptions options)
at ......SitecoreExtensions.Media.MediaProvider.GetMediaUrl(MediaItem item, MediaUrlBuilderOptions options) in ....\Foundation\SitecoreExtensions\website\Media\MediaProvider.cs:line 24
at Coveo.Framework.Utils.UrlUtilities.GetMediaUrl(IItem p_Item)
at Coveo.SearchProvider.ComputedFields.ImageUrlComputedField.ComputeFieldValue(IItem p_Item)
at Coveo.SearchProvider.Documents.AbstractDocumentBuilder.AddComputedFields()
at Coveo.SearchProvider.Documents.DocumentFactory.<>c__DisplayClass3_0.<CreateIndexableItem>b__3()
at Coveo.SearchProvider.Documents.AbstractDocumentFactory.TryBuildDocument(Action p_Action, IIndexable p_Indexable)
Dianoga 6.1.0
Environment description
Sitecore 10.3 + Coveo
What configs you have enabled
Default Dianoga Setup
Reproducible steps
Relevant logs