org.apache.poi.hssf.record.CRNCountRecord cannot be cast to org.apache.poi.hssf.record.CRNRecord . Getting this error while I'm trying to create a new HSSFWorkbook from an .xls file saved using aspose api. A fix would be really helpul for this

org.apache.poi.hssf.record.CRNCountRecord cannot be cast to org.apache.poi.hssf.record.CRNRecord . Getting this error while I’m trying to create a new HSSFWorkbook from an .xls file saved using aspose api. A fix would be really helpul for this

@sid1808,

We are not sure if the issue is related to Aspose.Cells API. The error itself denotes and the issue might be on Apachi POI end. For confirmation, please save the Excel file to disk by Aspose.Cells and then open the file into MS Excel manually. If MS Excel opens it fine, then the issue may not be on Aspose.Cells end.

@sid1808
Could you post your template file and generated .xls file by Aspose here. We will check it ASAP.