For a given document, a StackOverflowError occurs in the constructor of the Document class.
String fileName = "/tmp/textreader/tr-work/obj 1775.rtf";
try (InputStream istream = new FileInputStream(fileName)) {
Document doc = new Document(istream);
}
Exception in thread "main" java.lang.StackOverflowError
at com.aspose.words.zzZ63.zzYUM(Unknown Source)
at com.aspose.words.internal.zzXZQ.get(Unknown Source)
at com.aspose.words.zzZ63.zzYyk(Unknown Source)
at com.aspose.words.Style.zzZdp(Unknown Source)
at com.aspose.words.Style.zzZJ2(Unknown Source)
at com.aspose.words.Style.zzZdp(Unknown Source)
at com.aspose.words.Style.zzZJ2(Unknown Source)
at com.aspose.words.Style.zzZdp(Unknown Source)
at com.aspose.words.Style.zzZJ2(Unknown Source)
at com.aspose.words.Style.zzZdp(Unknown Source)
I can provide the document per mail if required.