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 Oct 04, 2019 10:07 am

I am running into an issue when i want to load the Excel sheet
my error message is showing:
Object reference not set to an instance of an object in this line workbook.LoadFromFile(file);

StackTrace:
at spr᠉.ᜀ(XmlReader A_0, spr᡾ A_1)
at spr᠉.ᜲ(XmlReader A_0)
at spr។.ᜊ(String A_0)
at spr។.ᜥ()
at spr។.ᜁ(List`1& A_0)
at Spire.Xls.Core.Spreadsheet.XlsWorkbook.ᜀ(Stream A_0, String A_1)
at Spire.Xls.Core.Spreadsheet.XlsWorkbook.ᜀ(Stream A_0, String A_1, ExcelVersion A_2, ExcelParseOptions A_3)
at Spire.Xls.Core.Spreadsheet.XlsWorkbook.ᜀ(String A_0, String A_1, ExcelVersion A_2, ExcelParseOptions A_3)
at Spire.Xls.Core.Spreadsheet.XlsWorkbook..ctor(sprឌ A_0, Object A_1, String A_2, ExcelParseOptions A_3, Boolean A_4, String A_5, ExcelVersion A_6)
at sprឹ.ᜀ(Object A_0, String A_1, ExcelParseOptions A_2, Boolean A_3, String A_4, ExcelVersion A_5)
at sprᢅ.ᜀ(String A_0, ExcelParseOptions A_1, Boolean A_2, String A_3, ExcelVersion A_4)
at Spire.Xls.Workbook.LoadFromFile(String fileName, ExcelVersion version)
at Spire.Xls.Workbook.LoadFromFile(String fileName)

I already attached the problem file together.. Please help
Attachments
303.rar
Problem File
(6.41 KiB) Downloaded 196 times

xiao0207
 
Posts: 43
Joined: Thu Dec 13, 2018 9:50 am

Mon Oct 07, 2019 1:15 am

HI,

Thank you for contacting us.
I have reproduced your issue and logged it into our bug tracking system. If it is resolved or there is any update, I will inform you. Apologize for the inconvenience caused.

Sincerely,
Nina
E-iceblue support team
User avatar

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

Fri Oct 11, 2019 11:07 am

Hello,

Thanks for your patience.
Glad to inform that we just released Spire.XLS Pack(Hotfix) Version:9.10.4 which fixes your issue. Welcome to download it from the following link.
Our Website: https://www.e-iceblue.com/Download/download-excel-for-net-now.html
Nuget: https://www.nuget.org/packages/Spire.XLS/9.10.4

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Return to Spire.XLS