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 Jun 12, 2019 2:09 pm

Attempting the create a page template with PdfPageBase CreateTemplate().Draw(...) throws the following exception with Spire.Pdf 5.6.2:

System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=Spire.Pdf
StackTrace:
at Spire.Pdf.PdfPageBase.ᜂ(spr᝛ A_0)
at Spire.Pdf.PdfPageBase.ᜀ(PdfCanvas A_0)
at Spire.Pdf.PdfPageBase.CreateTemplate()

mscotto511
 
Posts: 13
Joined: Fri Sep 21, 2018 3:45 pm

Thu Jun 13, 2019 3:15 am

Hi,

Thanks for your inquiry.
Please offer us your input file and complete code for further investigation.

Sincerely,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Tue Jun 18, 2019 10:02 am

Hi,

Thanks for your information via email.
I have reproduced the issue and logged it into our bug tracking system.
If there is any update, we will let you know. Sorry for the inconvenience caused.

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Tue Jul 02, 2019 10:32 am

Hi Scotto,

Thanks for your patient waiting.
Glad to tell you that the reported issue has been fixed. Please download the latest hotfix Spire.PDF Pack Version:5.7 from the following link.
Website link: https://www.e-iceblue.com/Download/download-pdf-for-net-now.html
Nuget link: https://www.nuget.org/packages/Spire.PDF/5.7.0
And we will greatly appreciate it if you could give us some feedback after testing.

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Tue Jul 09, 2019 1:59 am

Hi Scotto,

Greetings from E-iceblue support team.
Have you tried the latest Spire.PDF Pack Version:5.7? Does it resolve your issue?
Could you please give us some feedback at your convenience?

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Wed Aug 14, 2019 5:19 am

Yes. The latest Spire.PDF Pack Version:5.7 fixes the issue.

mscotto511
 
Posts: 13
Joined: Fri Sep 21, 2018 3:45 pm

Wed Aug 14, 2019 6:51 am

Hi,

Thanks for your feedback and glad to hear that the exception issue has been resolved.
Any question, welcome to contact us.

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Return to Spire.PDF