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

Free Support Forum - aspose.com

Bug Report ( : Object reference not set to an instance of an object

The file loads fine however when you save it as RTF you get a null referance exception. Please find a sample document attached.

Thank you

at ⠕.⡬.࿶(⠬ ৃ, Border ᄴ)
at ⠕.⡹.࿶(୍ ᡩ)
at ⠕.⠔.VisitSectionStart(Section section)
at Aspose.Words.Section.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.਎(DocumentVisitor ࢆ)
at Aspose.Words.Document.Accept(DocumentVisitor visitor)
at ⠕.⠔.⒭(⒎ ⒍)
at Aspose.Words.Document.৵(Stream Ԭ, String ԣ, SaveFormat ৶)
at Aspose.Words.Document.Save(String fileName, SaveFormat fileFormat)


Thanks for you’re reporting this problem. I have reproduced this bug and logged it to our defect base as issue # 3620. We will try to fix it as soon as possible. A notification will be posted here in this thread as soon as it will be done.

Best regards.

We have released a new version of Aspose.Words that contains a fix for your issue.

issue #3620 - “System.NullReferenceException” occurs during saving DOC as RTF

The new version of Aspose.Words is available for download from here.

Best regards.