When attempting to append multiple PDF files together I am getting the following error.
Type:
System.NullReferenceException
Source:
ceTe.DynamicPDF.10
Stack Trace:
at zz93.i8.a(h A_0)
at zz93.d7.a(h A_0)
at zz93.d7.b(h A_0)
at ceTe.DynamicPDF.Merger.PdfPage.a()
at ceTe.DynamicPDF.Merger.AppendedPage..ctor(PdfPage A_0, eb A_1)
at zz93.eb.a(Int32 A_0, Int32 A_1)
at ceTe.DynamicPDF.Merger.MergeDocument.Append(String filePath)
I have narrowed it down to a single 3rd party PDF file as the source of the problem. If I open the original PDF up in Acrobat 7.0 and print it out as a new PDF, I am then able to append the files together.
Version: 4.0.3.10
Developer Edition Build 70312
Is there anyway to see what is causing the issue with the PDF file so that I can go back to the 3rd party and have them address the root cause?
System.NullReferenceException
Re: System.NullReferenceException
Support · Jun 13, 2007Sure, if you send the PDF over to our support team, [^a|mailto:support@cete.com|support@cete.com^] we can take a look at it. If there is an obvious issue within the PDF we can give you more details about that.
Thanks,
ceTe Software Support Team
Re: System.NullReferenceException
Forum member · Oct 7, 2008I had a similar issue with the same sympthoms. The bottom line was that a field that was not-null in one environment (test) was null in the other (production). After I added null-handling in the code that populated form fields the issue was solved. So, check if any string values can be null and pass empty string.