Very strange error in UpdateChunkType()...

Hi...

I have an error trying to open a file with the method DocIO.Open(file, FormatType.Doc);...

=======================================

this is the stack trace:

System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.DocIO.ReaderWriter.WordReaderBase.UpdateChunkType()
at Syncfusion.DocIO.ReaderWriter.WordReaderBase.ReadChunk()
at Syncfusion.DocIO.WordRWAdapterBase.ReadHFBody(IWordReader reader)
at Syncfusion.DocIO.DLS.DLSWordRWAdapter.ReadChunkBefore(IWordReaderBase reader)
at Syncfusion.DocIO.WordRWAdapterBase.ReadBody(IWordReader reader)
at Syncfusion.DocIO.DLS.DLSWordRWAdapter.ReadBody(IWordReader reader)
at Syncfusion.DocIO.WordRWAdapterBase.Read(IWordReader reader)
at Syncfusion.DocIO.DLS.WordDocument.Open(String fileName)
at Syncfusion.DocIO.DLS.WordDocument.Open(String fileName, FormatType formatType)

==============================================

But, if I delete the last row of the document, all works perfect.

any ideas?

1 Reply

AD Administrator Syncfusion Team September 5, 2006 10:48 PM UTC

Hi carlos,

Thank you for your interest in Essential DocIO.

I was not able to reproduce this issue. Could you please create a Direct – Trac incident and send us your copy of template document [ It should be more confidential ]. So that we able to find the issue from the template document.

Sorry for the inconvenience.

Kind regards,
Prabhu

Loader.
Up arrow icon