[Bug 774052] Re: Pdftk fails on PDF annotations added from Evince
Same here on Xubuntu 14.04. 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 pdftk 2.01 I tested failed pdf files and recognized, they created by iText (by lowagie.com). > Producer: iText 1.4.8 (by lowagie.com) > Pages: 2 > Encrypted: yes (print:yes copy:no change:no addNotes:no algorithm:RC4) > Page size: 595 x 842 pts (A4) > File size: 30845 bytes > Optimized: no > PDF version:1.4 Splitting the file with pdfshuffler 0.6.0 worked. > Producer: Python PDF Library - http://pybrary.net/pyPdf/ > Pages: 1 > Encrypted: no > Page size: 595 x 842 pts (A4) > File size: 28274 bytes > Optimized: no > PDF version:1.3 Then using pdftk again on new file worked too. > Creator:pdftk 2.01 - www.pdftk.com > Producer: Python PDF Library - http://pybrary.net/pyPdf/ > Pages: 1 > Encrypted: no > Page size: 595 x 842 pts (A4) > File size: 28486 bytes > Optimized: no > PDF version:1.4 So, has it something to do with the encryption or with the library which created the original pdf file ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/774052 Title: Pdftk fails on PDF annotations added from Evince To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pdftk/+bug/774052/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 774052] Re: Pdftk fails on PDF annotations added from Evince
+1 pdftk 2.01 Linux daiquiri 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:45:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux $ pdftk A=train1.pdf B=train2.pdf C=train3.pdf cat A B C output travel.pdf Error: Unexpected Exception in open_reader() Unhandled Java Exception: java.lang.NullPointerException at gnu.gcj.runtime.NameFinder.lookup(libgcj.so.14) at java.lang.Throwable.getStackTrace(libgcj.so.14) at java.lang.Throwable.stackTraceString(libgcj.so.14) at java.lang.Throwable.printStackTrace(libgcj.so.14) at java.lang.Throwable.printStackTrace(libgcj.so.14) $ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/774052 Title: Pdftk fails on PDF annotations added from Evince To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pdftk/+bug/774052/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 774052] Re: Pdftk fails on PDF annotations added from Evince
*raises arm* Me three! On 14.04. gs sees nothing wrong with the file. Using pdftk 2.01. Offending file can be found at http://www.hellerindustries.com/supplier- partnership-benefits.pdf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/774052 Title: Pdftk fails on PDF annotations added from Evince To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pdftk/+bug/774052/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 774052] Re: Pdftk fails on PDF annotations added from Evince
Well, this is interesting. The last comment on this bug is 2012, and the bug has been "confirmed" and all, but it's now 2014 and I'm having the same problem and am getting the exact same errors on 12.04 trying to cat two pdfs. One was created by USPS, the other was created by Google. Do we have a fix for this yet? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/774052 Title: Pdftk fails on PDF annotations added from Evince To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pdftk/+bug/774052/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 774052] Re: Pdftk fails on PDF annotations added from Evince
Oh ooops! I see I missed the time date stamps on a couple of comments: One from this year, and one from 2013. So I'll just politely raise my arm and say "me too!" :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/774052 Title: Pdftk fails on PDF annotations added from Evince To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pdftk/+bug/774052/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 774052] Re: Pdftk fails on PDF annotations added from Evince
Affects me as well: erickis@erickis-K45A:~/SPR/treinamento/acidentes$ pdftk test.pdf burst Error: Unexpected Exception in open_reader() Unhandled Java Exception: java.lang.NullPointerException at gnu.gcj.runtime.NameFinder.lookup(libgcj.so.14) at java.lang.Throwable.getStackTrace(libgcj.so.14) at java.lang.Throwable.stackTraceString(libgcj.so.14) at java.lang.Throwable.printStackTrace(libgcj.so.14) at java.lang.Throwable.printStackTrace(libgcj.so.14) erickis@erickis-K45A:~/SPR/treinamento/acidentes$ erickis@erickis-K45A:~/SPR/treinamento/acidentes$slsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 13.10 Release:13.10 Codename: saucy erickis@erickis-K45A:~/SPR/treinamento/acidentes$ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/774052 Title: Pdftk fails on PDF annotations added from Evince To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pdftk/+bug/774052/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 774052] Re: Pdftk fails on PDF annotations added from Evince
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: pdftk (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/774052 Title: Pdftk fails on PDF annotations added from Evince To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pdftk/+bug/774052/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 774052] Re: Pdftk fails on PDF annotations added from Evince
Thanks, Thomas, for your report. Unfortunately, pdftk with included debug symbols seems to not give better output in this case. But the open_reader bug should have been already fixed in pdftk 1.44-5 (Natty has 1.44-1). I made a backport from the current 1.44-6 version for Natty. You can find it in my ppa: https://launchpad.net/~johfel/+archive/pdftk It would be helpful, if you could test it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/774052 Title: Pdftk fails on PDF annotations added from Evince To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pdftk/+bug/774052/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 774052] Re: Pdftk fails on PDF annotations added from Evince
I am seeing the same problem. I have installed the debugging version of pdftk as instructed and libgcj11-dbg, and still get the same stack strace: Error: Unexpected Exception in open_reader() Unhandled Java Exception: java.lang.NullPointerException at gnu.gcj.runtime.NameFinder.lookup(libgcj.so.11) at java.lang.Throwable.getStackTrace(libgcj.so.11) at java.lang.Throwable.stackTraceString(libgcj.so.11) at java.lang.Throwable.printStackTrace(libgcj.so.11) at java.lang.Throwable.printStackTrace(libgcj.so.11) I can send you the original document and the offending, evince-edited version. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/774052 Title: Pdftk fails on PDF annotations added from Evince To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pdftk/+bug/774052/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 774052] Re: Pdftk fails on PDF annotations added from Evince
Thank you for taking the time to report this bug. I made a version of pdftk containing more debugging information - the stack trace should be more usable. You can find the ppa at https://launchpad.net/~johfel/+archive/pdftk . Please install additionally the libgcj11-dbg package. Thanks! ** Changed in: pdftk (Ubuntu) Assignee: (unassigned) => Johann Felix Soden (johfel) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/774052 Title: Pdftk fails on PDF annotations added from Evince -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 774052] Re: Pdftk fails on PDF annotations added from Evince
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/774052 Title: Pdftk fails on PDF annotations added from Evince -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs