Thanks for your posting and using Aspose.Cells.
We were able to observe this issue using the latest version: Aspose.Cells for Java (Latest Version) with the following sample code and your sample file. Password protected excel file is throwing exception on loading.
We have logged this issue in our database for investigation. We will look into it and fix this issue. Once, the issue is resolved or we have some other update for you, we will let you know asap.
This issue has been logged as
- CELLSJAVA-42166 - Password protected excel file is throwing exception on loading
LoadOptions opts = new LoadOptions();
Workbook wb = new Workbook(dirPath + “encryptTest_1234.xlsx”, opts);
wb.save(dirPath + “oj.pdf”);
Exception in thread “main” com.aspose.cells.CellsException: unkown excel content!
at com.aspose.cells.zub.b(Unknown Source)
at com.aspose.cells.zti.a(Unknown Source)
at com.aspose.cells.zcam.a(Unknown Source)
at com.aspose.cells.Workbook.(Unknown Source)
Thanks for using Aspose.Cells.
Please download and try the following latest fix: Aspose.Cells for Java (Latest Version) and let us know your feedback.