NullPointerException on PDF with input fields

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Merger for Java (v4)  /  NullPointerException on PDF with input fields

DynamicPDF Merger for Java (v4) Forum

Hi,

We recently downloaded the last version of the PDF Merger (v4.0.3 for Java Build 71206) and we have detected that a NullPointerException is launched sometimes when, trying to create the PDFDocument, the file has editable fields.

It doesn't happen always, because sometimes, the same file is proccessed smoothly, but others, it launces the following StackTrace:

 java.lang.NullPointerException
         at com.cete.dynamicpdf.merger.PdfDocument.a(Unknown Source)
         at com.cete.dynamicpdf.merger.PdfDocument.g(Unknown Source)
         at com.cete.dynamicpdf.merger.PdfDocument.<init>(Unknown Source)
         at com.cete.dynamicpdf.merger.PdfDocument.<init>(Unknown Source)

On the older version we had, it didn't happen

Thanks a lot.

Alberto Sánchez.
Posted by a ceTe Software moderator
Hello Alberto,

Please send the code that you are using to create the pdf document as well as the PDF document itself. If you are setting the values of the editable fields on an existing PDF template, send us the template as well, so we can try to recreate this error on our side. You can email all this information to support@cete.com.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 8:42 AM.