Hi, It's like Fabian said.
Btw neither the code here nor the different(!) code in https://stackoverflow.com/questions/78065676/ would enable anybody to reproduce such a bug because it's incomplete.
Until we get this fixed, please stay with 2.0.* (2.0.30 is the current version), and also update your jdk, 1.8.0_91 is from 2016. The current version is 1.8.0_402.
You can also try a snapshot here from time to time: https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/3.0.2-SNAPSHOT/ Tilman On 27.02.2024 08:55, Amber Prakash Verma wrote:
Dear PDFBox Team, I hope this email finds you well. I am writing to report an issue I encountered while using PDFBox version 3.0.0. It appears that there is a problem when attempting to extract pages from one PDF and add them to another PDF. While using the same code and PDFBox version 2.0.29, it is perfectly working and output PDF contains no blank pages.