You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tobias Hugendubel (Jira)" <ji...@apache.org> on 2022/03/22 16:46:00 UTC

[jira] [Created] (PDFBOX-5397) Certain PDF cannot be processed

Tobias Hugendubel created PDFBOX-5397:
-----------------------------------------

             Summary: Certain PDF cannot be processed
                 Key: PDFBOX-5397
                 URL: https://issues.apache.org/jira/browse/PDFBOX-5397
             Project: PDFBox
          Issue Type: Bug
          Components: Rendering
            Reporter: Tobias Hugendubel
         Attachments: TET_5_4xxx_GR_00_00_XX_14_F.pdf, TSA_5_4xxx_SH_XX_05_XX_03_F.pdf, TSA_5_BF2x_GR_-1_01_XX_09_F.pdf

!https://cdn.discordapp.com/attachments/381016918703996928/955833631484563566/unknown.png|width=570,height=291!

For certain PDFs where we use PDFBox to open a PDF, scan for defined dummy QR codes on it, and then replace the dummy with a real QR code, we either get the above error, or the process does not terminate.

A sample file TET_5_4xxx_GR_00_00_XX_14_F.pdf or TSA_5_BF2x_GR_-1_01_XX_09_F.pdf .
They both lead to the above problem.

Our own analysis so far is that it might be the same issue as mentionend in [https://stackoverflow.com/questions/69237146/pdfbox-renderimagewithdpi-hangs-sometimes]

 

For our company PMG Projektraum GmbH, Munich, Germany, this is an essential function. Currently users cannot download PDFs in most cases because of this: The download tries to add a QR code and never ends.

It could be that the QR code on these PDFs causes issues because it is in a certain layer. We observed that in Adobe Reader we see a QR Code but with or own viewer it is invisible:


This is TSA_5_4xxx_SH_XX_05_XX_03_F.pdf

where we have the same issues


Any idea, what this might be and how to solve it?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org