Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Wed Feb 26, 2025 6:19 am

Hello,

when I do this on attached file:
Code: Select all
  Workbook workbook = new Workbook();
        workbook.loadFromStream(file);


I got this:

Code: Select all
Caused by: java.lang.NullPointerException: Cannot read field "spr┄" because "ze" is null
   at com.spire.xls.packages.sprryi.spr┥┵(Unknown Source)
   at com.spire.xls.packages.sprsbl.spr╗╇(Unknown Source)
   at com.spire.xls.packages.sprsbl.spr⌮╗(Unknown Source)
   at com.spire.xls.packages.sprsbl.spr┆╇(Unknown Source)
   at com.spire.xls.packages.sprsbl.spr┶╗(Unknown Source)
   at com.spire.xls.packages.sprsbl.spr⁂(Unknown Source)
   at com.spire.xls.packages.sproil.spr⅜╇(Unknown Source)
   at com.spire.xls.packages.sprwqh.spr∯┤(Unknown Source)
   at com.spire.xls.packages.sprwqh.<init>(Unknown Source)
   at com.spire.xls.core.spreadsheet.XlsWorkbook.<init>(Unknown Source)
   at com.spire.xls.Workbook.spr╆╽(Unknown Source)
   at com.spire.xls.Workbook.loadFromStream(Unknown Source)


Spire.office 10.1.0, JDK Amazon Corretto 21.

Is there a workaround? Am I doing something wrong?

Thanks, Jan.
Attachments
1001169.XLSX.zip
(6.22 KiB) Downloaded 716 times

jan.zanda
 
Posts: 30
Joined: Wed Mar 06, 2024 11:30 am

Wed Feb 26, 2025 7:22 am

Hi Jan,

Thanks for your feedback.
I have reproduced your issue and logged it into our bug tracking system with the issue ID: SPIREXLS-5720. Our dev team will investigate and fix it, once it is resolved or there is any progress, I will notify you immediately. Apologize for the inconvenience caused.

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1378
Joined: Tue Sep 27, 2016 1:06 am

Tue Mar 18, 2025 8:41 am

Hi Jan,

Thanks for your patient waiting.
Glad to inform you that the reported issue SPIREXLS-5720 has been resolved and the new version (Spire.XLS for Java Version:15.3.1) is available. Please download it from the following link.
https://www.e-iceblue.com/Download/xls-for-java.html

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1378
Joined: Tue Sep 27, 2016 1:06 am

Return to Spire.XLS

cron