ArgumentOutOfRangeException when opening a Docx previously exported from JS word editor

Hello dear people,
I found a problem when I try to open a word documentfile with DocIO (MVC) that was previously exported from the JS2 DocumentEditor.
The stack trace of the error is this:
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)"
" at System.Collections.Generic.List`1.System.Collections.IList.get_Item(Int32 index)"
" at Syncfusion.DocIO.DLS.WCellCollection.get_Item(Int32 index)"
" at Syncfusion.DocIO.DLS.WTableCell.GetVerticalMergeStartCell()"
" at Syncfusion.DocIO.DLS.WTable.GetCellWidth(WTableCell cell, Single clientWidth, Single tableWidth, Single currOffset, Single maxRowWidth, Boolean isTableGridMissMatch)"
" at Syncfusion.DocIO.DLS.WTable.UpdateTableGrid(Boolean isTableGridMissMatch)"
" at Syncfusion.DocIO.DLS.Convertors.DocxParser.ParseTableValue(XmlReader reader, WTable table)"
" at Syncfusion.DocIO.DLS.Convertors.DocxParser.ParseTable(XmlReader reader, WTable table, Boolean isAlreadyCheck, String m_localName)"
" at Syncfusion.DocIO.DLS.Convertors.DocxParser.ParseBody(XmlReader reader, IEntity entity, Boolean isRunElementTextBody, Boolean isFromDocument)"
" at Syncfusion.DocIO.DLS.Convertors.DocxParser.ParseDocument(Stream stream)"
" at Syncfusion.DocIO.DLS.Convertors.DocxParser.ParseDocument(Package wordPackage)"
" at Syncfusion.DocIO.DLS.Convertors.DocxParser.Read(WordDocument document, Boolean isFlatOPC)"
" at Syncfusion.DocIO.DLS.Convertors.DocxParser.Read(Stream docStream, WordDocument document)"
" at Syncfusion.DocIO.DLS.WordDocument.OpenDocx(Stream stream)"
" at Syncfusion.DocIO.DLS.WordDocument.OpenInternal(Stream stream, FormatType formatType, String password)"
" at Syncfusion.DocIO.DLS.WordDocument..ctor(Stream stream)"
I have 2 documents, the original (which is correctly opened with DocIO) and the exported version that raises that exception.
The exported file raises the exception even when no editing operations were made in the original document, that is: I load the .docx in the browser, export it, and then load it in the backend using DocIO MVC for parsing purposes.
I'm attaching both versions of the document, the original, and the stream that is exported from the documentEditor web component (javascript), saved as "DocIO open failed.docx".
Both files open fine in MS Word.
I'm using:
- Syncfusion.EJ2.JavaScript v18.2.0.45 in the client side.
- Syncfusion.Pdf.AspNet.MVC5 v18.2.0.45 in the server.
Thank you
Alex

Attachment: docio_failed_open_file_50b16e57.zip

8 Replies 1 reply marked as answer

AE Ajithamarlin Edward Syncfusion Team July 16, 2020 03:42 PM UTC

Hi Alejandro, 
 
We can reproduce the issue. Currently we are validating on this and get back to you with more details on or before July 20, 2020 . 
    
Regards,  
Ajithamarlin E 



HC Harini Chellappa Syncfusion Team July 20, 2020 03:31 PM UTC

Hi Alejandro, 

We need some additional timeline to check the reported scenario. Will update further details by July 22nd, 2020. 

Regards, 

Harini C 



HC Harini Chellappa Syncfusion Team July 23, 2020 01:47 AM UTC

Hi Alejandro, 

We have considered the reported scenario as bug and logged defect report. Fix will be included in our upcoming EJ2 patch release which is tentatively scheduled on Aug 12th, 2020. Once included, we will update you. You can also track bug fix status from below link. 


Regards, 

Harini C 



AL Alejandro July 23, 2020 07:42 PM UTC

Hello!

Thank you for your feedback, 

Have a good day!
Alex



PN Preethi Nesakkan Gnanadurai Syncfusion Team July 27, 2020 04:58 AM UTC

Hi Alex, 
  
Most welcome. 
  
Regards, 
Preethi 



HC Harini Chellappa Syncfusion Team August 12, 2020 02:11 PM UTC

Hi Alejandro, 

We're sorry to not make it possible to include the fix for the below promised issue in our 2020 Vol2 SP1 release. will include this in our upcoming EJ2 patch release which is tentatively scheduled on Aug 19th, 2020. We will update the status of the feedback link, once it is taken for implementation. You can track the status from below link. 


Regards, 

Harini C 



HC Harini Chellappa Syncfusion Team August 21, 2020 01:14 PM UTC

Hi Alejandro,  

We're sorry to not make it possible to include the fix for this issue in latest patch release v18.2.54. will include this in our upcoming EJ2 patch release which is tentatively scheduled on Aug 26th, 2020. You can track the fix status from below link. 


We deeply regret for the inconvenience caused. 

Regards, 

Harini C 



HC Harini Chellappa Syncfusion Team August 26, 2020 04:01 PM UTC

Hi Alejandro, 

We are glad to announce that our EJ2 patch release v18.2.55 has been rolled out successfully and included fix for the reported scenario. 

kindly upgrade your source to latest version 18.2.55 to resolve the reported scenario. 

Latest version CDN links 



kindly check it and let us know if you have any questions. 


Regards, 

Harini C 


Marked as answer
Loader.
Up arrow icon