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.

Sat Feb 02, 2019 6:31 pm

I have been experiencing a hard to track issue in my software, but I have managed to reduce it to its bare basics.

There seems to be an issue with the files E.xlsx and I.xlsx, they load fine individually but when they are loaded one after another with other files the software aborts with a System.NullReferenceException: 'Object reference not set to an instance of an object.'

Please see the attached code and files.

Any help or advice would be really appreciated,

Darren
Attachments
Program.cs.zip
The source code
(1.14 KiB) Downloaded 169 times
Screenshot.png
Screenshot showing the console and the crash details.
Screenshot.png (93.43 KiB) Viewed 713 times
CrashTest.zip
Sample excel files
(1.04 MiB) Downloaded 240 times

DarrenWray
 
Posts: 8
Joined: Mon May 07, 2018 1:40 pm

Sun Feb 03, 2019 1:53 am

Dear Darren,

Thank for your contact us.
I have reproduced your issue that the four files (A.xlsx/D.xlsx/E.xlsx/I.xlsx) threw exception when loading. The issue has been logged into our bug tracking system. If it is fixed or there is any update, we will let you know. 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

Thu Feb 28, 2019 8:09 am

Hi

Thanks for your patient waiting.
Your issue has been fixed. Welcome to download the hotfix from the following link.
Website link: Spire.Office Platinum (DLL Only) Version:4.2.0
Nuget link: https://www.nuget.org/packages/Spire.Office/4.2.0

Sincerely,
Nina
E-iceblue support team
User avatar

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

Fri Mar 08, 2019 2:41 am

Hi,

Greetings from E-iceblue.
Has your issue been resolved?
Your feedback will be highly appreciated.

Sincerely,
Nina
E-iceblue support team
User avatar

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

Return to Spire.XLS

cron