XLS Report Module

0
I get the following error while using XLS REPORT module to generate an excel file.   java.lang.ClassCastException: class org.apache.poi.hssf.usermodel.HSSFSheet cannot be cast to class org.apache.poi.xssf.streaming.SXSSFSheet (org.apache.poi.hssf.usermodel.HSSFSheet and org.apache.poi.xssf.streaming.SXSSFSheet are in unnamed module of loader com.mendix.container.deployment.internal.Interpreters$ClassLoaders$$anon$1 @4982cc36)
asked
1 answers
0

Seeing the error message, I think you are trying to create a .docx instead of a .doc or the opposite...

HSSFSheet is the object for a sheet of a .doc and XSSFSheet is the object for a sheet of a .docx

Are you trying to use .docx data in .doc or the opposite? If yes, I think it is not allowed...

answered