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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

NullReferenceException while converting a DOCX

Thread ID:





127453 Nov 16,2016 01:51 PM UTC Nov 17,2016 11:10 AM UTC ASP.NET Web Forms 1
Tags: DocIO
Sergey Zubkov
Asked On November 16, 2016 01:51 PM UTC


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

Vijay Ramachandran [Syncfusion]
Replied On 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,


Please let us know if you have any concern.

Vijay R


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon