← Problems

ClassCastException crashes on some PDFs, no output produced

pdftk crashes with a Java ClassCastException on some valid PDFs, producing no output file.

Tier I · Proven The best-established problems.

7 public reports · first reported 2 April 2020 · last reported 4 October 2025

Idea report · $19 · No contacts · All sales final

See a sample idea report

What's going wrong

Users running pdftk to flatten, stamp, cat, burst or save PDFs hit a Java ClassCastException that aborts the run with an empty or missing output.

AI-assisted: written with the help of AI from the reports. The idea report has the full summary.

In the idea report

  • The full summary.
  • The products the 7 reports are about, and how many came each month.
  • Related problems.

No business has been found with this problem yet, so the report has no contacts. All sales are final — no refunds. Pricing.