We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Cannot convert RTF to PDF

Hi,

I’m using Aspose Words for Java version 11.10.0.
I’m converting an RTF to a PDF and am getting the following exception:

com.aspose.words.FileCorruptedException: The document appears to be corrupted and cannot be loaded.
at com.aspose.words.FileFormatUtil.ëY(Unknown Source)
at com.aspose.words.Document.ëY(Unknown Source)
at com.aspose.words.Document.ëZ(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at com.aspose.words.Document.(Unknown Source)

com.aspose.words.FileCorruptedException: The document appears to be corrupted and cannot be loaded.
at com.aspose.words.FileFormatUtil.ëY(Unknown Source)
at com.aspose.words.Document.ëY(Unknown Source)
at com.aspose.words.Document.ëZ(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at com.aspose.words.Document.(Unknown Source)


The RTF file (attached) opens just fine in Word 2007 and Word 2003.
I’ve tried the same file both with and without calling acceptAllRevisions() (the RTF file does have track changes enabled).

Any help would be appreciated.

Hi Justin,


Thanks for your inquiry. While using the latest version of Aspose.Words i.e. 11.10.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-7448. Your request has 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-7448) have been fixed in this .NET update and this Java update.


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