Hi Aspose support,
I get an error when loading the attached RTF file using Aspose Java version 18.6. files.zip (688.8 KB)
I also joined the test program.
The stack trace is:
java.lang.ClassCastException: com.aspose.words.Shape cannot be cast to com.aspose.words.Table
at com.aspose.words.Row.getParentTable(Unknown Source)
at com.aspose.words.zzZ2O.zzZpp(Unknown Source)
at com.aspose.words.zzZ1R.zzX(Unknown Source)
at com.aspose.words.zzZ3V.zzU(Unknown Source)
at com.aspose.words.zzZ3K.zzU(Unknown Source)
at com.aspose.words.zzZ2B.read(Unknown Source)
at com.aspose.words.Document.zzY(Unknown Source)
at com.aspose.words.Document.zzZ(Unknown Source)
at com.aspose.words.Document.<init>(Unknown Source)
at com.aspose.words.Document.<init>(Unknown Source)
at com.aspose.words.Document.<init>(Unknown Source)
at BugRtfTestCase.main(BugRtfTestCase.java:11)
Is there a workaround to this problem?
Thank you,
Didier