burst aborts with null pointer exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pdftk (Ubuntu) |
Fix Released
|
Undecided
|
Johann Felix Soden |
Bug Description
Trying to split a newspaper which comes as pdf with "pdftk 2012-03-
Unhandled Java Exception:
Unhandled Java Exception:
java.lang.
at gnu.gcj.
at java.lang.
at java.lang.
at java.lang.
at java.lang.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: pdftk 1.44-3
ProcVersionSign
Uname: Linux 3.0.0-17-generic x86_64
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Tue Apr 3 13:31:06 2012
EcryptfsInUse: Yes
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: pdftk
UpgradeStatus: Upgraded to oneiric on 2012-02-08 (54 days ago)
Changed in pdftk (Ubuntu): | |
assignee: | nobody → Johann Felix Soden (johfel) |
status: | New → Confirmed |
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 '0000000000 XXXXX 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