Dear Debian folks,

Am Montag, den 18.03.2013, 23:34 +0100 schrieb Paul Menzel:

[…]

> with Debian Sid/unstable and PDFtk 1.44-7
> 
>         $ pdftk --version
> 
>         pdftk 1.44 a Handy Tool for Manipulating PDF Documents
>         Copyright (C) 2003-10, Sid Steward - Please Visit: www.pdftk.com
>         This is free software; see the source code for copying conditions. 
> There is
>         NO warranty, not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
> PURPOSE.
>         $ dpkg -l pdftk
>         ii  pdftk                         1.44-7 […]
> 
> and 1.45-1 from Debian experimental I get a Null pointer exception, when
> running the following command with the attached file.
> 
>         $ pdftk w7005_with_template_values.pdf dump_data_fields_utf8
>         Error: Unexpected Exception in open_reader()
>         Unhandled Java Exception:
>         java.lang.NullPointerException
>            at gnu.gcj.runtime.NameFinder.lookup(libgcj.so.12)
>            at java.lang.VMThrowable.getStackTrace(libgcj.so.12)
>            at java.lang.Throwable.getStackTrace(libgcj.so.12)
>            at java.lang.Throwable.stackTraceString(libgcj.so.12)
>            at java.lang.Throwable.printStackTrace(libgcj.so.12)
>            at java.lang.Throwable.printStackTrace(libgcj.so.12)
> 
> The attached file was filled out using Evince 3.4.0 and `pdf2ps` does
> not seem to have any problems with this. The command above works with
> the non-filled out PDF file too.

it looks like PDFtk is not able to deal with files edited by Evince.
Only editing one field or checking one box, PDFtk also crashes. As this
happens in `open_reader()` it might some header fields which Evince
sets.

Though using Evince to fill out a form seems to work fine with the PDF
form I found on the WWW [1]. Though here the fields have default texts,
which I just changed in one case.

[…]


Thanks,

Paul


[1] http://uk.iteksoft.com/download/demo/demoform1.pdf

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to