Opened 12 years ago

Last modified 12 years ago

#35214 closed defect

PDFtk fails for "cat output" — at Version 2

Reported by: ineiti@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: pdftk

Description (last modified by ryandesign (Ryan Carsten Schmidt))

On MacOSX 10.7.4, ports 2.1.1, when I try to do

pdftk test_in.pdf cat output test_out.pdf

on the attached file, it aborts with "Trap 6". On other pdf-files I get other errors:

Unhandled Java Exception:
java.lang.NullPointerException
   at java.lang.Class.isAssignableFrom(libgcj.11.dylib)
   at java.lang.System.arraycopy(libgcj.11.dylib)
   at java.util.ArrayList.toArray(libgcj.11.dylib)
   at java.util.regex.Pattern.split(libgcj.11.dylib)
   at java.lang.String.split(libgcj.11.dylib)
   at java.text.DateFormatSymbols.getZoneStrings(libgcj.11.dylib)
   at java.text.DateFormatSymbols.<init>(libgcj.11.dylib)
   at java.text.SimpleDateFormat.<init>(libgcj.11.dylib)
   at java.text.SimpleDateFormat.<init>(libgcj.11.dylib)
   at com.lowagie.text.Document.addCreationDate(pdftk)
   at com.lowagie.text.pdf.PdfDocument.<init>(pdftk)
   at com.lowagie.text.pdf.PdfCopy.<init>(pdftk)

or

Unhandled Java Exception:
java.lang.NullPointerException
   at java.text.DateFormatSymbols.getZoneStrings(libgcj.11.dylib)
   at java.text.DateFormatSymbols.<init>(libgcj.11.dylib)
   at java.text.SimpleDateFormat.<init>(libgcj.11.dylib)
   at java.text.SimpleDateFormat.<init>(libgcj.11.dylib)
   at com.lowagie.text.Document.addCreationDate(pdftk)
   at com.lowagie.text.pdf.PdfDocument.<init>(pdftk)
   at com.lowagie.text.pdf.PdfCopy.<init>(pdftk)

Change History (3)

Changed 12 years ago by ineiti@…

Attachment: test_in.pdf added

Input-pdf file that fails

comment:1 Changed 12 years ago by ineiti@…

Cc: ineiti@… added

Cc Me!

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ineiti@… removed
Description: modified (diff)
Port: pdftk added
Priority: HighNormal

Sorry, I don't know what to do about this. Please try contacting the developer of pdftk.

Note: See TracTickets for help on using tickets.