Welcome to the WinForms feedback portal. We’re happy you’re here! If you have feedback on how to improve the WinForms, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Null reference exception thrown when opening an old doc file. Example attached. 

As a workaround, the file can be opened in word and using the Doc compatibility mode converter and then this works, but since this file used to be readable with an older version of DocIO, it would be nice to still be handled.

Error information:

System.NullReferenceException

  HResult=0x80004003

  Message=Object reference not set to an instance of an object.

  Source=Syncfusion.DocIO.Base

  StackTrace:

   at Syncfusion.DocIO.DLS.WordDocument.ParagraphItemRevision(ParagraphItem item, RevisionType revisionType, String revAuthorName, DateTime revDateTime, String name, Boolean isNestedRevision, Revision moveRevision, Revision contentRevision, Stack`1 m_trackchangeRevisionDetails)

   at Syncfusion.DocIO.DLS.DocReaderAdapterBase.CheckTrackChanges(ParagraphItem item, WordReaderBase reader)

   at Syncfusion.DocIO.DLS.DocReaderAdapterBase.ReadImage(WordReaderBase reader)

   at Syncfusion.DocIO.DLS.DocReaderAdapterBase.ProcessChunk(WordReaderBase reader, HeaderFooter headerFooter)

   at Syncfusion.DocIO.DLS.DocReaderAdapterBase.ReadTextBody(WordReaderBase reader, WTextBody textBody)

   at Syncfusion.DocIO.DLS.DocReaderAdapter.Read(WordReader reader, WordDocument wordDoc)

   at Syncfusion.DocIO.DLS.WordDocument.OpenInternal(Stream stream, FormatType formatType, String password)

   at Syncfusion.DocIO.DLS.WordDocument..ctor(Stream stream)