Sometimes when there is an image inside a table in a docx document, a call to document.Save in order to convert to PDF fails with a NullReferenceException. It seems to be related to the page layout since there is a call to Aspose.Words.Document.UpdatePageLayout() in the call stack.
I’ve attached a zip file containing a docx file with which the issue occurs and a notebook (.ipynb file) containing instructions and C# code to reproduce the issue.
@bNobo
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): WORDSNET-27686
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
@bNobo Thank you for the additional information. The issue has already been resolved in the current codebase, and the fix will be included in the upcoming Aspose.Words 25.3 release. We will notify you once it is published.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.