we're using Spire.Doc for .Net 5.3.46. We're trying to load a word document including form fields.
- Code: Select all
var doc = new Document(inputStream);
So we get the following exception on this:
System.NullReferenceException
System.NullReferenceException: Object reference not set to an instance of an object.
at spr?.?(XmlReader A_0, FormField A_1)
at spr?.?(XmlReader A_0, ParagraphItemCollection A_1)
at spr?.?(XmlReader A_0, ParagraphItemCollection A_1)
at spr?.?(XmlReader A_0, ParagraphItemCollection A_1)
at spr?.?(XmlReader A_0, TableCell A_1)
at spr?.?(XmlReader A_0, TableRow A_1)
at spr?.?(XmlReader A_0, Table A_1)
at spr?.?(XmlReader A_0, IDocumentObject A_1)
at spr?.?(Stream A_0)
at spr?.?(spr? A_0)
at spr?.?(Document A_0)
at spr?.?(Stream A_0, Document A_1)
at Spire.Doc.Document.?(Stream A_0)
at Spire.Doc.Document.LoadFromStream(Stream stream, FileFormat fileFormat, String password)
Is there any Problem on loading word documents (docx) with form fields?