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:15.5.0.0]

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

This topic has been moved to the related forum: https://forum.aspose.com/t/getting-java-lang-classcastexception-if-a-docvariable-value-is/230810