Hi,
I'm trying to open a docx document from a file on Ubuntu and getting the following error:
System.ArgumentNullException:
at at Spire.Doc.Fields.DocPicture.ᜉ(Image A_0)
at at Spire.Doc.Fields.DocPicture.ReplaceImage(Byte[] imageBytes, Boolean bIsKeepRation)
at at Spire.Doc.Fields.DocPicture.ᜃ(Byte[] A_0)
at at spr.ᜀ(ShapeObject A_0, sprᭇ A_1)
at at spr.ᜀ(sprᭇ A_0, ShapeBase A_1, Boolean A_2)
at at spr.ᜀ(sprᭇ A_0, Boolean A_1)
at at spr.ᜁ(sprᭇ A_0)
at at spr᷂.ᜂ(sprᶷ A_0)
at at spr᷂.ᜃ(sprᶷ A_0)
at at sprᶷ.ᜅ()
at at spr᷀.ᜀ()
at at spr᷀.ᜃ()
at at spr᷀.ᜀ(Stream A_0, Document A_1, spr᰻ A_2)
at at spr᷀.ᜀ(String A_0, Document A_1, spr᰻ A_2)
at at Spire.Doc.Document.(String A_0)
at at Spire.Doc.Document.LoadFromFile(String fileName, FileFormat fileFormat, String password)
at at Spire.Doc.Document..ctor(String fileName, FileFormat type)
at ConsoleApp1.Program.Main(String[] args) in /home/developer/RiderProjects/Solution1/ConsoleApp1/Program.cs:12
The same code (with the same file) works perfectly on Windows.
Could you give advice what can be the reason or maybe any workaround?
Thank you!