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.

Fri Nov 15, 2024 12:26 pm

Hello,

I have problem with attached file.

Code: Select all
 
Workbook workbook = new Workbook();
workbook.loadFromStream(fileInputStream);


results into
Code: Select all
Caused by: java.lang.NullPointerException
   at com.spire.xls.packages.sprvvj.spr⅓┽(Unknown Source)
   at com.spire.xls.packages.sprhij.spr┉┾(Unknown Source)
   at com.spire.xls.packages.sprhij.spr¬(Unknown Source)
   at com.spire.xls.packages.sprbqj.spr⑫┾(Unknown Source)
   at com.spire.xls.packages.sprrng.spr┱┏(Unknown Source)
   at com.spire.xls.packages.sprrng.<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)


Is there a workaround?

Thanks

Jan
Attachments
unable_to_load.xlsx.zip
(26.72 KiB) Downloaded 8 times

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

Mon Nov 18, 2024 3:18 am

Hi,

Thank you for bringing this issue to our attention.
I have logged it into our bug tracking system with reference number SPIREXLS-5575, our dev team will investigate and fix it. Once it's resolved, we will inform you immediately. Sorry for any inconvenience caused.

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 409
Joined: Mon Nov 07, 2022 8:10 am

Return to Spire.XLS