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.
Sun Nov 17, 2019 5:29 pm
Hi Spire Support,
I'm working on a project that involves extracting an XML attachment from a PDF file and I tested your FreeSpire.PDF product version 5.10.0 installed via NuGet.
I get the error:
'pdf.Attachments' threw an exception of type 'System.NullReferenceException'
The stacktrace is as follows:
in Spire.Pdf.Attachments.PdfAttachmentCollection..ctor (spr A_0, spr ៝ A_1)
in spr ⠇. ᜉ ()
in Spire.Pdf.PdfDocument.get_Attachments ()
Using Spire.PDF version 5.11.2 installed via NuGet the error does not occur.
Is there a FreeSpire.Net update that solves the problem?
Thank you,
Angelo
-

angelo.celoni
-
- Posts: 1
- Joined: Sun Nov 17, 2019 9:45 am
Mon Nov 18, 2019 6:26 am
Hi Angelo,
Thanks for your inquiry.
Note we update free version irregularly. As for your issue, we suggest you use the commercial version, and our sales team has sent you a one-month free license of Spire.PDF via email to help you remove the warning information, and you could have a better evaluation on our product. Here is the guide for applying the license:
https://www.e-iceblue.com/Tutorials/Lic ... nsing.htmlSincerely,
Betsy
E-iceblue support team
-


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