Docx2PDF Plugin Error

Hi,
We are trying to convert a docx document to a PDF using a custom plugin to get the document's 'table of contents' printed in the PDF document.

We are getting the error attached in the document. Any help appreciated.

We tried with a standalone class where it works fine, but appian plugin is throwing this error.

Thanks
Naveen

OriginalPostID-257361


err.txt

  Discussion posts and replies are publicly visible