Package: pdftk Version: 2.02-5 Severity: important pdftk crashes with the following error on multiple PDFs:
$ pdftk SSCS-GHC-6119072111120.pdf cat output 1.pdf Error: Unexpected Exception in open_reader() java.lang.ClassCastException: class pdftk.com.lowagie.text.pdf.PdfNull cannot be cast to class pdftk.com.lowagie.text.pdf.PdfDictionary (pdftk.com.lowagie.text.pdf.PdfNull and pdftk.com.lowagie.text.pdf.PdfDictionary are in unnamed module of loader 'app') at pdftk.com.lowagie.text.pdf.PdfReader$PageRefs.iteratePages(PdfReader.java:3420) at pdftk.com.lowagie.text.pdf.PdfReader$PageRefs.iteratePages(PdfReader.java:3449) at pdftk.com.lowagie.text.pdf.PdfReader$PageRefs.readPages(PdfReader.java:3256) at pdftk.com.lowagie.text.pdf.PdfReader$PageRefs.<init>(PdfReader.java:3226) at pdftk.com.lowagie.text.pdf.PdfReader$PageRefs.<init>(PdfReader.java:3204) at pdftk.com.lowagie.text.pdf.PdfReader.readPages(PdfReader.java:925) at pdftk.com.lowagie.text.pdf.PdfReader.readPdf(PdfReader.java:523) at pdftk.com.lowagie.text.pdf.PdfReader.<init>(PdfReader.java:172) at pdftk.com.lowagie.text.pdf.PdfReader.<init>(PdfReader.java:161) at com.gitlab.pdftk_java.TK_Session.add_reader(TK_Session.java:122) at com.gitlab.pdftk_java.TK_Session.open_input_pdf_readers(TK_Session.java:235) at com.gitlab.pdftk_java.TK_Session.<init>(TK_Session.java:971) at com.gitlab.pdftk_java.pdftk.main(pdftk.java:171) Error: Failed to open PDF file: SSCS-GHC-6119072111120.pdf Errors encountered. No output created. Done. Input errors, so no output created. The same error occurs independently of the command. For example, $ pdftk SSCS-GHC-6119072111120.pdf rotate 13south output 1.pdf has the same behaviour. -- System Information: Debian Release: bullseye/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.UTF-8), LANGUAGE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages pdftk depends on: ii pdftk-java 3.0.2-2 pdftk recommends no packages. pdftk suggests no packages. -- no debconf information -- |)|/ Ryan Kavanagh | GPG: 4E46 9519 ED67 7734 268F |\|\ https://rak.ac | BD95 8F7B F8FC 4A11 C97A
signature.asc
Description: PGP signature