Open Source Software Forum

Getting java.lang.ClassCastException if a DocVariable value is ")))"

Hi we are using Aspose for java to generate Word document but get this error if a DocVaribale value is “)))”

java.lang.ClassCastException: com.aspose.words.zzZ93 incompatible with com.aspose.words.zzZT1
at com.aspose.words.zz50.zzZ(Unknown Source) ~[aspose-words-15.5.0-jdk16.jar:]

The exception is triggered inside Document doc.updateFields() . Any help will be appreciated.

This topic has been moved to the related forum: