Hello,
we noticed an issue converting a document to pdf.
I have attached the reduced document to reproduce the error.
Code to reproduce the issue:
using Aspose.Words;
var lic = new License();
lic.SetLicense(@"S:\Aspose.Total.Net.lic");
var doc = new Document(@"S:\tmp\in.docx");
doc.Save(@"S:\tmp\out.pdf");
Error Message:
Object reference not set to an instance of an object.
StackTrace:
at Jv.d(Single d)
at Jv.v(RectangleF d, Border v, Border c, Border t, Border n)
at Jv.d(RectangleF d, Border v, Border c, Border t, Border n)
at vP.g(zUZ d)
at vP.v(zUZ d, Boolean v)
at vP.n()
at vP.d(SUZ d)
at id.rViFd(SUZ d)
at SUZ.jUZiFd(rV d)
at iUZ.d(rV d, hUY v)
at iUZ.jUZiFd(rV d)
at HUZ.jUZiFd(rV d)
at jUZ.d(rV d, gUh v)
at pUZ.jUZiFd(rV d)
at id.d(pUZ d)
at id.rViFv(pUZ d)
at pUZ.jUZiFd(rV d)
at wUZ.jUZiFd(rV d)
at JUZ.jUZiFd(rV d)
at jUZ.d(rV d, gUh v)
at sUZ.jUZiFd(rV d)
at AUZ.jUZiFd(rV d)
at QUZ.jUZiFd(rV d)
at id.d(QUZ d)
at id.d(QUZ d, YUZ v)
at Aspose.Words.Document.d(Int32 d, id v)
at zUz.v(oCK d, id v)
at zUz.pUciFd(oCK d)
at sUQ.sUQiFd(oCK d)
at Aspose.Words.Document.d(oCK d)
at Aspose.Words.Document.d(Stream d, String v, SaveOptions c)
at Aspose.Words.Document.Save(String fileName, SaveOptions saveOptions)
at Aspose.Words.Document.Save(String fileName)
at Program.<Main>$(String[] args) in S:\tmp\Example\Program.cs:line 7
Thank you for your help.
Attached File for in.docx
Example.zip (32.8 KB)