Free Support Forum - groupdocs.com

Null reference exception when converting certain DOCX to PDF in .NET

Concerting the attached DOCX to PDF results in the following error:

Object reference not set to an instance of an object.

We were using GroupDocs.Conversion 20.11.0 without any special options.
OPP-1234567 - Scope of Work.zip (102.1 KB)

The file seems to work fine with GroupDocs.Viewer and HTML conversion.

1 Like

@Clemens_Pestuka

This issue is reproduced at our end. Hence, it’s been logged in our internal issue tracking system with ID CONVERSIONNET-4317. You’ll be notified as there’s any update.

1 Like

The issues you have found earlier (filed as CONVERSIONNET-4317) have been fixed in this update. This message was posted using Bugs notification tool by Atir_Tahir

@Atir_Tahir

Thank you for notifying me regarding the bugfix.
I just tested it with the latest version and can confirm that the exception is gone.

However the table of contents is not rendered when converting the file to PDF.
Instead of the table of contents, there is only

No table of contents entries found.

image.png (37.0 KB)

1 Like

@Clemens_Pestuka

We are investigating this issue with ID CONVERSIONNET-4373. You’ll be notified in case of any update.

1 Like