[MacPorts] #35214: PDFtk fails for "cat output"

MacPorts noreply at macports.org
Mon Jul 16 18:35:31 PDT 2012


#35214: PDFtk fails for "cat output"
--------------------------------------+-------------------------------------
 Reporter:  ineiti@…                  |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  2.1.1                                
 Keywords:                            |        Port:  pdftk                                
--------------------------------------+-------------------------------------
Changes (by ryandesign@…):

 * cc: ineiti@… (removed)
  * priority:  High => Normal
  * port:  => pdftk


Old description:

> 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)

New description:

 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)
 }}}

--

Comment:

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

-- 
Ticket URL: <https://trac.macports.org/ticket/35214#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list