[Bug 972340] Re: burst aborts with null pointer exception
pdftk 2.01 handles both pdf files in this bug report without any problem. Therefore I close this report. Thanks for reporting the issues! ** Changed in: pdftk (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/972340 Title: burst aborts with null pointer exception To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pdftk/+bug/972340/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 972340] Re: burst aborts with null pointer exception
Here is a much smaller pdf file (also produced by Mac OS X 10.6.8 Quartz PDFContext) that seems to elicit the same behaviour from pdftk: $ pdftk test.pdf burst Unhandled Java Exception: 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) On the other hand, gs doesn't appear to think anything is wrong with it: $ gs -o nul -sDEVICE=nullpage test.pdf GPL Ghostscript 9.05 (2012-02-08) Copyright (C) 2010 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Processing pages 1 through 1. Page 1 Version information: $ apt-cache policy pdftk ghostscript pdftk: Installed: 1.44-4build1 Candidate: 1.44-4build1 Version table: *** 1.44-4build1 0 500 http://ie.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages 100 /var/lib/dpkg/status ghostscript: Installed: 9.05~dfsg-0ubuntu4.2 Candidate: 9.05~dfsg-0ubuntu4.2 Version table: *** 9.05~dfsg-0ubuntu4.2 0 500 http://ie.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages 100 /var/lib/dpkg/status 9.05~dfsg-0ubuntu4 0 500 http://ie.archive.ubuntu.com/ubuntu/ precise/main i386 Packages ** Attachment added: test.pdf https://bugs.launchpad.net/ubuntu/+source/pdftk/+bug/972340/+attachment/3449190/+files/test.pdf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/972340 Title: burst aborts with null pointer exception To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pdftk/+bug/972340/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 972340] Re: burst aborts with null pointer exception
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/972340 Title: burst aborts with null pointer exception To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pdftk/+bug/972340/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 972340] Re: burst aborts with null pointer exception
** Attachment added: 2012-03-14_SaeZ-DD.pdf https://bugs.launchpad.net/ubuntu/+source/pdftk/+bug/972340/+attachment/2995333/+files/2012-03-14_SaeZ-DD.pdf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/972340 Title: burst aborts with null pointer exception To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pdftk/+bug/972340/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 972340] Re: burst aborts with null pointer exception
** Changed in: pdftk (Ubuntu) Status: New = Confirmed ** 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/972340 Title: burst aborts with null pointer exception To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pdftk/+bug/972340/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 972340] Re: burst aborts with null pointer exception
Thanks for your bug report! Your pdf seems not to be 100% standard-conform (or there is a bug in ghostscripts 9.05) because it reports: Warning: considering '00 X n' as a free entry. ... This file had errors that were repaired or ignored. The file was produced by: Mac OS X 10.6.8 Quartz PDFContext Please notify the author of the software that produced this file that it does not conform to Adobe's published PDF specification. Anyway, pdftk should not crash. I will have a look at the problem. Strangely, the following line which emulates the the burst command for the pdf with 24 pages seems to work without any problem: for i in $(seq -f %04.0f 24) ; do pdftk 2012-03-14_SaeZ-DD.pdf cat $i output pg_$i.pdf ; done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/972340 Title: burst aborts with null pointer exception To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pdftk/+bug/972340/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs