We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert Save As Word DOCX Document to PDF C# .NET | Nested REF Field inside Ref Field followed by Referenced Bookmark

Hi,
I have a Word document (inputFile.docx) and I want to save it as PDF.

There is an error while saving as PDF, because of a bookmark in the footer section. The document “WHERE_IS_THE_BOOKMARK.docx” show you the bookmark.
If you delete this bookmark it works.

Thank

AsposeWords version 19.10.0.0

All the file in the zip.
Files.zip (471.8 KB)

@julien.mevel.isilog,

We tested the scenario and have managed to reproduce the System.NullReferenceException on our end during converting your DOCX to PDF. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-19495. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-19495) have been fixed in this Aspose.Words for .NET 20.1 update and this Aspose.Words for Java 20.1 update.

Hi,

I confirm that this issue has been fixed by version 20.1.0.0

Thanks.