The npe.xlsb workbook in the
npe_open_workbook.zip (10.3 KB)
attached zip file results in a NPE when attempting to open it in version 24.11.
The npe.xlsb workbook in the
npe_open_workbook.zip (10.3 KB)
attached zip file results in a NPE when attempting to open it in version 24.11.
@wscheele_sf
We can reproduce the issue by testing on the latest version v24.11 using sample file and the following sample code. Found null pointer exception when loading sample file.
The sample code as follows:
Workbook wb = new Workbook(filePath + "npe.xlsb");
The output result:
Exception in thread "main" java.lang.NullPointerException
at com.aspose.cells.WorksheetCollection.l(Unknown Source)
at com.aspose.cells.j6f.A(Unknown Source)
at com.aspose.cells.j6f.a(Unknown Source)
at com.aspose.cells.e2q.a(Unknown Source)
at com.aspose.cells.o9s.e(Unknown Source)
at com.aspose.cells.o9s.y(Unknown Source)
at com.aspose.cells.o9s.a(Unknown Source)
at com.aspose.cells.v9h.a(Unknown Source)
at com.aspose.cells.d4c.a(Unknown Source)
at com.aspose.cells.d4c.a(Unknown Source)
at com.aspose.cells.Workbook.a(Unknown Source)
at com.aspose.cells.Workbook.<init>(Unknown Source)
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): CELLSJAVA-46179
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
We are pleased to inform you that your issue has been resolved. The fix will be included in our upcoming release (Aspose.Cells for Java v24.12) that we plan to release in the first half of December 2024. You will be notified when the next version is released.