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.

Wed Jul 07, 2021 9:01 pm

getting error "Object reference not set to an instance of an object."

using (PdfDocument PDF = new PdfDocument())
{
PDF.AppendPage(new PdfDocument(File.ReadAllBytes("d:\\42965.pdf")));
}


file sending separately for your email

sserra
 
Posts: 76
Joined: Tue Jun 13, 2017 4:03 pm

Thu Jul 08, 2021 2:09 am

Hello,

Thanks for your sharing.
I did an initial test with your PDF file and did reproduce the issue you mentioned. This issue has been logged in our bug tracking system with the ticket SPIREPDF-4448. If there is any update, I will inform you in time. Apologize for the inconvenience caused.
Sincerely,
Andy
E-iceblue support team
User avatar

Andy.Zhou
 
Posts: 483
Joined: Mon Mar 29, 2021 3:03 am

Fri Aug 20, 2021 7:46 am

Hello,

Thanks for your patience.
Glad to inform you that we just released Spire.Office (Hot Fix) Version: 6.8.2 which fixes your issue SPIREPDF-4448. Please download the fix version from the following links to test.
Website link:
https://www.e-iceblue.com/Download/down ... t-now.html
Nuget link:
https://www.nuget.org/packages/Spire.Office/6.8.2
https://www.nuget.org/packages/Spire.Of ... Core/6.8.2
Sincerely,
Andy
E-iceblue support team
User avatar

Andy.Zhou
 
Posts: 483
Joined: Mon Mar 29, 2021 3:03 am

Return to Spire.PDF

cron