Null object reference error when converting Word to PDF


When I attempt to convert the attached document from Word to PDF, I get an “Object reference not set to instance of an object” error on the pdf.Save(filename) command. Is there something about this document that is causing it to fail?

My code is:

doc.Save(“C:\testpdf.xml”, SaveFormat.FormatAsposePdf)
pdf.BindXML(“C:\testpdf.xml”, Nothing)
pdf.IsImagesInXmlDeleteNeeded = True


Here’s the document.


Dear dereka,

Thank you for considering Aspose.

This problem has been fixed in the latest hotfix. Please download it.