We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

NullReferenceException while converting a DOCX

Hello

I'm getting a 'NullReferenceException' when I'm trying to convert a .docx file.

Stack trace:

System.NullReferenceException: Object reference not set to an instance of an object.
   at Syncfusion.DocIO.DLS.Convertors.DocxParser.GetImageName(String imageId, Boolean isHeaderFooter, Boolean isPicBullet)
   at Syncfusion.DocIO.DLS.Convertors.DocxParser.LoadImage(WPicture picture, String id, Boolean isHeaderFooter, Boolean isPicBullet)
   at Syncfusion.DocIO.DLS.Convertors.DocxParser.ParsePictureWatermark(MemoryStream shapeStream)
   at Syncfusion.DocIO.DLS.Convertors.DocxParser.ParseWatermark(MemoryStream shapeStream, ParagraphItemCollection paraItems)
   at Syncfusion.DocIO.DLS.Convertors.DocxParser.ParseShape(XmlReader reader, ParagraphItemCollection paraItems, MemoryStream drawingStream, MemoryStream shapeStream)
   at Syncfusion.DocIO.DLS.Convertors.DocxParser.ParseRun(XmlReader reader, ParagraphItemCollection paraItems)
   at Syncfusion.DocIO.DLS.Convertors.DocxParser.ParseParagraphItems(XmlReader reader, ParagraphItemCollection paraItems)
   at Syncfusion.DocIO.DLS.Convertors.DocxParser.ParseBody(XmlReader reader, IEntity entity)
   at Syncfusion.DocIO.DLS.Convertors.DocxParser.ParseDocument(Stream stream)
   at Syncfusion.DocIO.DLS.Convertors.DocxParser.ParseDocument(Package package)
   at Syncfusion.DocIO.DLS.Convertors.DocxParser.Read(String fileName, WordDocument document)
   at Syncfusion.DocIO.DLS.WordDocument.OpenDocx(String fileName)
   at Syncfusion.DocIO.DLS.WordDocument.OpenInternal(String fileName, FormatType formatType, String password)

Attachment: DDPS_V3__Delivery_Guide_for_Consultants_rus.docx_bbaf65a6.zip

1 Reply

VR Vijay Ramachandran Syncfusion Team November 17, 2016 11:10 AM UTC

Hi Sergey,

Thank you for using Syncfusion products.

A support incident to track the status of your query has been created under your account. Please log on to our support website to check for further updates,

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Please let us know if you have any concern.

Regards,
Vijay R
 


Loader.
Up arrow icon