Aspose 19.2 error NodeCollection

Hi,
I’m using Aspose Word 19.2 and and when I export to word document, I have some issue with NodeCollection.
here is error code
Capture.PNG (1.9 KB)
Here is my code
var _section = new w.Section(doc);
doc.Sections.Add(_section);
_section.AppendChild(new w.Body(doc));
Please check for me.
Thank and regard.

@DungLT

Thanks for your inquiry. To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please create a standalone console application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.