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.
Unfortunately, activation email could not send to your email. Please try again.

NullReferenceException while converting a DOCX

Thread ID:

Created:

Updated:

Platform:

Replies:

127453 Nov 16,2016 08:51 AM Nov 17,2016 06:10 AM ASP.NET Web Forms 1
loading
Tags: DocIO
Sergey Zubkov
Asked On November 16, 2016 08:51 AM

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

Vijay Ramachandran [Syncfusion]
Replied On November 17, 2016 06:10 AM

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
 


CONFIRMATION

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.

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.

;