How to reproduce:
- unpack attached zip file and put Document.doc, Aspose.Words.dll (11.1.0.0, md5: ca50bd9b5a34fcfa04414bcbdf218bb7) and Aspose.Words.lic into the same directory
- build with NAnt 0.91 with Microsoft .NET Framework 4.0 installed
- launch the following command: test_word_releaser.exe Document.doc DocumentNew.doc.
Expected result: DocumentNew.doc is generated.
Actual result:
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at xfbd1009a0cbb9842.x6d232feca81d2281.xecadba242733f924(Style x44ecfea61c937b8e, xe2ab94acf964af40 x0b7246f0bf2a3e3a)
at xfbd1009a0cbb9842.x6d232feca81d2281.xecadba242733f924(Style x44ecfea61c937b8e)
at xfbd1009a0cbb9842.x6d232feca81d2281.xe1ed215e30022fa4(Paragraph x31e6518f5e08db6c)
at xfbd1009a0cbb9842.x6d232feca81d2281.x250990cab00959fa(Paragraph x31e6518f5e08db6c)
at xfbd1009a0cbb9842.x6d232feca81d2281.VisitParagraphStart(Paragraph paragraph)
at Aspose.Words.Paragraph.x2449520719b1e37e(DocumentVisitor x672ff13faf031f3d)
at Aspose.Words.CompositeNode.xf7ae36cd24e0b11c(DocumentVisitor x672ff13faf031f3d)
at Aspose.Words.Paragraph.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.x464d2134480a7bf2(DocumentVisitor x672ff13faf031f3d)
at Aspose.Words.CompositeNode.xf7ae36cd24e0b11c(DocumentVisitor x672ff13faf031f3d)
at Aspose.Words.Body.Accept(DocumentVisitor visitor)
at xfbd1009a0cbb9842.x6d232feca81d2281.xae29c9998cc24c8a()
at xfbd1009a0cbb9842.x6d232feca81d2281.xae29c9998cc24c8a(x1552b3704ef89039 xe01ae93d9fe5a880)
at xfbd1009a0cbb9842.x1552b3704ef89039.x83bcdf1790545fdb()
at Aspose.Words.Fields.Field.x42a25ae95099edb8(x5e36356bc92c609b x0f7b23d1c393aed9)
at Aspose.Words.Fields.Field.x295cb4a1df7a5add(x5e36356bc92c609b x0f7b23d1c393aed9)
at xfbd1009a0cbb9842.xfedf115fd9c03862.x4e3cfc222c92cda7(Field xe01ae93d9fe5a880, x5e36356bc92c609b x0f7b23d1c393aed9)
at xfbd1009a0cbb9842.xbf9ddf72e1283af9.x18dfca7c5fd2402f()
at xfbd1009a0cbb9842.xfedf115fd9c03862.xdd6cf0348a23f220(xcf417e2db4fe9ed3 xe00c282e1a49fcfb)
at xfbd1009a0cbb9842.xfedf115fd9c03862.x384c03e4298b53bf()
at Aspose.Words.Range.UpdateFields()
at WordReleaser.Process(String destinationPath, Stream wordStream)
at Program.Main(String[] args)
Segmentation fault
Notes:
- My workstation is running Windows XP Pro SP3.
- This issue was also reproduced with Aspose.Words 10.2.0.0.
More details upon request. Thanks for your time.