Error: DocumentTemplateProcessorManager:ProcessDocumentTemplateAsync -- The type initializer for 'SkiaSharp.SKObject' threw an exception.   at SkiaSharp.SKObject..ctor(IntPtr handle, Boolean owns)
   at SkiaSharp.SKBitmap..ctor(IntPtr handle, Boolean owns)
   at SkiaSharp.SKBitmap..ctor()
   at SkiaSharp.SKBitmap..ctor(SKImageInfo info, Int32 rowBytes)
   at SkiaSharp.SKBitmap..ctor(SKImageInfo info)
   at SkiaSharp.SKBitmap..ctor(Int32 width, Int32 height, SKColorType colorType, SKAlphaType alphaType)
   at Syncfusion.Drawing.SkiaSharpHelper.Image..ctor(Int32 width, Int32 height)
   at Syncfusion.Drawing.SkiaSharpHelper.Bitmap..ctor(Int32 width, Int32 height)
   at Syncfusion.DocIORenderer.RenderHelper.GetBitmap(Int32 width, Int32 height)
   at Syncfusion.DocIO.Rendering.DrawingContext.CreateBitmap(Int32 width, Int32 height)
   at Syncfusion.DocIO.Rendering.DrawingContext..ctor()
   at Syncfusion.DocIORenderer.DocIORenderer.ConvertToPDF(WordDocument wordDocument)
   at Voyager.DocumentTemplateProcessor.Business.Util.ProcessTemplateUtil.CovertPdfStreamToBase64(WordDocument document) in /src/Voyager.DocumentTemplateProcessor.Business/Util/ProcessTemplateUtil.cs:line 71
   at Voyager.DocumentTemplateProcessor.Business.Util.ProcessTemplateUtil.GetTemplateDataByFileType(String inputType, WordDocument document) in /src/Voyager.DocumentTemplateProcessor.Business/Util/ProcessTemplateUtil.cs:line 34
   at Voyager.DocumentTemplateProcessor.Business.Implementation.DocumentTemplateProcessorManager.ProcessDocumentTemplateAsync(ProcessDocumentTemplateRequestModel documentTemplateRequestModel) in /src/Voyager.DocumentTemplateProcessor.Business/Implementation/DocumentTemplateProcessorManager.cs:line 1346/2/2022 10:58:17 AM

All required NuGet packages also installed as per article.


I have migrated to 20.10.57 from 19.2.0.62.

Thanks and regards,

Ramesh