Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu Sep 06, 2018 1:00 am

Hi Support,
We are using latest version of spire.pdf.dll and spire.pdf.wpf.dll and we are getting system.nullReference Exception when we merge the splitted documents.
steps we are using are
1. Split the pdf document using following code.
Code: Select all
string pattern = Path.Combine(outputPath, Path.GetFileNameWithoutExtension(doc) + "_{0}.pdf");
                   Doc.Split(pattern, 1);

2. Merging the same splitted documents using following code.
Code: Select all
var doc2 = PdfDocument.MergeFiles(Directory.GetFiles(outputPath));
           doc2.Save(outputFile, FileFormat.PDF);

I have send you an e-mail containing the original document in which we are facing this specific issue.

jperkinsSC
 
Posts: 93
Joined: Thu Oct 30, 2014 10:01 pm

Thu Sep 06, 2018 7:26 am

Hello Mubasher,

Thanks for your letter.
I did notice that there is an error in the second splitted result, this caused the exception when merging. I already logged it into our bug tracking system for fixing, if there is any update, I will let you know immediately. Sorry for the inconvenience caused.

Sincerely,
Lisa
E-iceblue support team
User avatar

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

Thu Sep 27, 2018 4:10 pm

Hi Lisa - is there any update to this request? It has now been several weeks since your last note.

Thanks!

jperkinsSC
 
Posts: 93
Joined: Thu Oct 30, 2014 10:01 pm

Fri Sep 28, 2018 1:20 am

Dear Mubasher,

Thanks for your patience and understanding.
I got the news from our Dev team that your issue has been resolved and it is in the testing phase, once the tests pass, we will prepare a hotfix for you ASAP.

Sincerely,
Lisa
E-iceblue support team
User avatar

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

Thu Oct 11, 2018 6:13 pm

Hi Lisa - has testing completed? Thanks for your updates.

jperkinsSC
 
Posts: 93
Joined: Thu Oct 30, 2014 10:01 pm

Fri Oct 12, 2018 3:25 am

Dear Mubasher,

Thank you for following up.
I regret that the previous test failed. Our Dev and Test team are making effort to do analyses now, and I have given the highest priority to your case. Once there is any good news, we will let you know. Thanks for your understanding.

Sincerely,
Lisa
E-iceblue support team
User avatar

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

Wed Oct 24, 2018 3:27 pm

Good Morning - Thanks for your last update, can you please let us know the current status? We are on hold with several projects until we can get this resolved.

jperkinsSC
 
Posts: 93
Joined: Thu Oct 30, 2014 10:01 pm

Thu Oct 25, 2018 6:13 am

Dear Mubasher,

With the unremitting effort of our Dev and Test team, they found the specific reason that caused the first test failed and fixed it. Now they are testing again, once there is any good news, I will notify you immediately.

Sincerely,
Lisa
E-iceblue support team
User avatar

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

Thu Oct 25, 2018 4:22 pm

Excellent news! Thank you Lisa!

jperkinsSC
 
Posts: 93
Joined: Thu Oct 30, 2014 10:01 pm

Fri Nov 02, 2018 1:32 am

Dear Mubasher,

Thanks for your patient waiting.
Glad to inform you that the reported issue has been fixed in Spire.PDF Pack(Hot Fix) Version:4.11.0. Welcome to test it and any feedback will be greatly appreciated.

Sincerely,
Lisa
E-iceblue support team
User avatar

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

Wed Dec 12, 2018 11:42 pm

Hi Support,
we are facing the same system.nullReference issue on the latest spire dll in some of the documents, but this time it is showing Exception while we are splitting the document. we are using spire 4.11.2040 (hot fix) and same code for splitting

Code: Select all
string pattern = Path.Combine(outputPath, Path.GetFileNameWithoutExtension(doc) + "_{0}.pdf");
Doc.Split(pattern, 1);



we have send the original document via email in which we are getting error.

jperkinsSC
 
Posts: 93
Joined: Thu Oct 30, 2014 10:01 pm

Thu Dec 13, 2018 1:48 am

Hi,

Thanks for your letter.
I have reproduced the issue and logged it in our bug tracking system. Once there is any update, we will let you know. Sorry for the inconvenience caused.
Sincerely,
Mike
E-iceblue support team
User avatar

Mike.Zhang
 
Posts: 93
Joined: Thu Sep 27, 2018 7:11 am

Fri Dec 21, 2018 6:29 am

Hi,

Glad to inform you that the issue is solved, please download the hotfix from following line:
http://e-iceblue.com/downloads/TempVers ... .12.11.zip

Best wishes,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Tue Dec 25, 2018 6:04 am

Hi,

Hope you are doing well.
Do you use the hotfix? Has your issue been resolved?

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Wed Jan 02, 2019 8:41 am

Hi,

Glad to inform you we officially release Spire.PDF Pack(Hot Fix) Version:5.1.0 which includes the fix of your issue.
And you could also download it via NuGet: https://www.nuget.org/packages/Spire.PDF

Best wishes,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.PDF