IndexOutOfRangeException While Converting Word Document to PDF

Hi All,

I am getting an IndexOutOfRangeException while converting the attached Word document, OfferLetter__20120519485573.docx, to PDF.
The code is pretty straight forward, I have attached it as well (Program.zip contains the cs file of the console application)

Here are the exception details:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at x59d6a4fc5007b7a4.x41d6d85fbf8e3e55.get_xb4ef700f3bf2ed33()
at x59d6a4fc5007b7a4.x487cdc969fefe3d6.x4e33137198fdb9ca(Boolean xcd31b50c43a96e21)
at x59d6a4fc5007b7a4.x487cdc969fefe3d6.xdf2cafeb128b2de9()
at x59d6a4fc5007b7a4.x487cdc969fefe3d6.x47f176deff0d42e2()
at x59d6a4fc5007b7a4.x487cdc969fefe3d6.x83f07df6a659e05b()
at x59d6a4fc5007b7a4.xcde671c53995c411.xd9db07500873ae98(Document x3664041d21d73fdc, deb77ea37ad74c56 xdfde339da46db651)
at Aspose.Words.Document.UpdatePageLayout()
at Aspose.Words.Document.x410db0f4a89a6ef1(Boolean x24af0daafcd8fb8c)
at Aspose.Words.Document.get_xcde671c53995c411()
at Aspose.Words.Document.get_PageCount()
at xf989f31a236ff98c.x6c74398bceb133f8.xa2e0b7f7da663553(x8556eed81191af11 x5ac1382edb7bf2c2)
at Aspose.Words.Document.xf381a641001e6830(Stream xcf18e5243f8d5fd3, String xafe2f3653ee64ebc, SaveOptions xc27f01f21f67608c)
at Aspose.Words.Document.Save(String fileName, SaveOptions saveOptions)
at Aspose.Words.Document.Save(String fileName, SaveFormat saveFormat)
at TestingAspose.Program.ConvertToPdf(String filePath) in c:\users\shehab\documents\visual studio 2010\Projects\TestingAspose\TestingAspose\Program.cs:line 35

I am using the latest Aspose.Words DLL (11.3.0). I have tried this console application on both Windows 7 and Windows Server 2008 R2 machines and the exception is thrown on both of them.

Best regards,
Shehab.

Hi Shehab,

Thanks for your query. I have managed to reproduce the same problem at my end. I have logged this issue in our issue tracking system and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi Tahir,

I have reverted back to version 10.3 and the PDF is generated. However the document is rendered from left-to-right and the Arabic letters are disconnected.

Best regards,
Shehab.


Hi Shehab,

Thanks for sharing the documents. The Arabic letters disconnection issue exists in old version of Aspose.Words for .NET.

Our development team is working over your issue (The exception while converting docx to pdf by using latest version). I have verified the status of this issue from our issue tracking system and like to share with you that this issue is under Review. As soon as, any update is available on this issue, I will be more then happay to share that with you.

We are really appreciate your patience.

Hi Tahir,
Can you share with me the possible release date for this fix.

Best regards,
Shehab.

Hi Shehab,

I can not promise you about the exact ETA at the moment. Hopefully, this issue will be fixed by the end of next month.

We appreciate your patience.

Hi Tahir,
Can you please updates us when about the status of this issue?

We have reverted to an office Automtaion solution, which defys the reason behind buying an Aspose license, till this issue is resolved.

Best regards,
Shehab.

Hi Shehab,

I have verified the status of this issue from our issue tracking system. I like to share with you that this issue has been resolved and will be available in next release of Aspose.Words for .NET.

I really appreciate your patience.

Hi Tahir,

When is the next release date for Aspose.Words? We are really in a bad need of new DLL.

Best regards,
Shehab.

The issues you have found earlier (filed as WORDSNET-6371) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

Thanks for the update. I will test it and update you.


Best regards,
Shehab.

Hi Shehab,


Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.