Free Support Forum - aspose.com

Exception when loading rtf

I get the following exception when loading the attached file with “new Document(filename);” with Aspose.Words 11.5.0.0.
I can open the file in MSWord, though. What can I do to load the file correctly?

Aspose.Words.FileCorruptedException occurred
Message=The document appears to be corrupted and cannot be loaded.
Source=Aspose.Words
StackTrace:
bei Aspose.Words.Document.x5d4db34d48fb3129(Stream xcf18e5243f8d5fd3, LoadOptions x27aceb70372bde46)
InnerException: System.ArgumentException
Message=Incorrect array length.
Source=Aspose.Words
StackTrace:
bei Aspose.Words.Fonts.FontInfo.set_Panose(Byte[] value)
bei x2182451cabb5c30d.xd94e350e15f3b071.xbd6083b329527c4e(x03f56b37a0050a82 x153c99a852375422)
bei x2182451cabb5c30d.x66a12b1255ab95ec.xa339c5b92e70ca48()
bei x2182451cabb5c30d.x66a12b1255ab95ec.xd75ccb1b8e728140()
bei x2182451cabb5c30d.x66a12b1255ab95ec.x06b0e25aa6ad68a9()
bei Aspose.Words.Document.x5d4db34d48fb3129(Stream xcf18e5243f8d5fd3, LoadOptions x27aceb70372bde46)
InnerException:


Hi Peter,


Thanks for your inquiry. While using the latest version of Aspose.Words i.e. 11.9.0, I managed to reproduce this exception on my side. I have logged this issue in our bug tracking system. The issue ID is WORDSNET-7388. Your request has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

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


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