[ 
https://issues.apache.org/jira/browse/PDFBOX-5400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17516287#comment-17516287
 ] 

Andreas Lehmkühler commented on PDFBOX-5400:
--------------------------------------------

The brute force search wasn't handled consistent. In most cases the parser 
simply checks the hash map containing the found mappings but didn't triggered 
the bf search itself. I've overhauled those parts so that the bf search is 
triggered always.

> Page tree root must be a dictionary
> -----------------------------------
>
>                 Key: PDFBOX-5400
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5400
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.26
>            Reporter: Tilman Hausherr
>            Assignee: Andreas Lehmkühler
>            Priority: Major
>              Labels: regression
>         Attachments: 4ECBGZDM5GUZG7UT75RV5GTUFWF5TSXK.pdf
>
>
> worked in 2.0.25
> {noformat}
> Caused by: java.io.IOException: Page tree root must be a dictionary
>     org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:198)
>     org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:226)
>     org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1107)
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to