We are evaluating Aspose.Words (v18.5.0). We are using .NET Core 2.0 docker image.
We are trying to convert .docx file into .pdf using Aspose.Words.dll using v18.3.0 as well as v18.5.0. We faced following issue related with SkiaSharp.dll on Linux environment. On windows envt, .docx to .pdf conversion worked fine.
Issue Details:
Unhandled Exception: System.ArgumentNullException: Value cannot be null.
at System.Threading.Monitor.ReliableEnter(Object obj, Boolean& lockTaken)
at SkiaSharp.SKObject.Dispose(Boolean disposing)
at SkiaSharp.SKPath.Dispose(Boolean disposing)
at SkiaSharp.SKNativeObject.Finalize()
After investigating on this issue, found that this issue is with SkiaSharp.dll. Please refer following link,
As per our understanding, above mentioned issue has been resolved in SkiaSharp.dll v1.60.1 but latest version (i.e. 18.5.0) of Aspose.Words.dll still refers to (SkiaSharp.dll v1.59.1).
When I added package reference of SkiaSharp.dll v1.60.1 into my project then PDF Generation works as expected on Linux as well.
Please let us know that above findings are correct. If yes, are you planning to include this fix into latest version of Aspose.Words.dll?