You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Luis Panadero Guardeño (Jira)" <ji...@apache.org> on 2024/12/18 12:01:00 UTC

[jira] [Created] (PDFBOX-5925) Regresion reading PDF. Error Illegalstate with bogus PDF

Luis Panadero Guardeño created PDFBOX-5925:
----------------------------------------------

             Summary: Regresion reading PDF. Error Illegalstate with bogus PDF
                 Key: PDFBOX-5925
                 URL: https://issues.apache.org/jira/browse/PDFBOX-5925
             Project: PDFBox
          Issue Type: Bug
    Affects Versions: 3.0.3 PDFBox
            Reporter: Luis Panadero Guardeño
         Attachments: 00006567119070520-1-original.pdf

Error reading a PDF File that it's processed correctly with PDFBox 2.0 (testest with 2.0.32 and 2.0.29). PDFBox throws a "IllegalStateException" exception. This PDF is know for provoking a infinite loop on IText 2.1.4 (an old version)

 

 
{noformat}
java.lang.IllegalStateException: 1-based index not found: 1
    at org.apache.pdfbox.pdmodel.PDPageTree.get(PDPageTree.java:347)
    at org.apache.pdfbox.pdmodel.PDPageTree.get(PDPageTree.java:263)
    at org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:263)
    at org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:247)
    at org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:207){noformat}
 

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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