>I hope there aren't any new regressions.

Happy to help find them!  :)

On a related note, do we have a sense of the schedule for PDFBox 2.0.8?  I'd 
like to include it in Tika's last Java 7 release...end of Sept, middle of Oct., 
or whenever 2.0.8 is out. :)


-----Original Message-----
From: Andreas Lehmkühler (JIRA) [mailto:[email protected]] 
Sent: Monday, September 11, 2017 4:52 PM
To: [email protected]
Subject: [jira] [Comment Edited] (PDFBOX-3928) IllegalArgumentException: root 
cannot be null with truncated file


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

Andreas Lehmkühler edited comment on PDFBOX-3928 at 9/11/17 8:51 PM:
---------------------------------------------------------------------

Both case are tricky (PDFBOX-3798 is truncated within an object and the 
attached pdf has a truncated xref table), so that I had to improve the brute 
force search one more time. 
[~tilman] thanks for the finding. I hope there aren't any new regressions.


was (Author: lehmi):
Both case are tricky, so that I had to improve the brute force search one more 
time. 
[~tilman] thanks for the finding. I hope there aren't any new regressions.

> IllegalArgumentException: root cannot be null with truncated file
> -----------------------------------------------------------------
>
>                 Key: PDFBOX-3928
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3928
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.7
>            Reporter: Tilman Hausherr
>            Assignee: Andreas Lehmkühler
>              Labels: regression
>             Fix For: 2.0.8, 3.0.0
>
>         Attachments: 023505.pdf
>
>
> {code}
> java.lang.IllegalArgumentException: root cannot be null
>     org.apache.pdfbox.pdmodel.PDPageTree.<init>(PDPageTree.java:75)
>     
> org.apache.pdfbox.pdmodel.PDDocumentCatalog.getPages(PDDocumentCatalog.java:129)
>     org.apache.pdfbox.pdmodel.PDDocument.getPages(PDDocument.java:1388)
>     
> org.apache.pdfbox.debugger.ui.DocumentEntry.getPageCount(DocumentEntry.java:42)
>     
> org.apache.pdfbox.debugger.ui.PDFTreeModel.getChildCount(PDFTreeModel.java:195)
>     java.desktop/java.beans.PropertyChangeSupport.fire(Unknown Source)
>     java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(Unknown 
> Source)
>     java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(Unknown 
> Source)
>     org.apache.pdfbox.debugger.PDFDebugger.initTree(PDFDebugger.java:1288)
>     org.apache.pdfbox.debugger.PDFDebugger.readPDFFile(PDFDebugger.java:1235)
>     org.apache.pdfbox.debugger.PDFDebugger.readPDFFile(PDFDebugger.java:1218)
>     org.apache.pdfbox.debugger.PDFDebugger.main(PDFDebugger.java:1209)
>     org.apache.pdfbox.tools.PDFBox.main(PDFBox.java:85)
> {code}
> This worked in 2.0.6, but no longer in 2.0.7. It happens since [ 
> https://svn.apache.org/r1795705 ] of PDFBOX-3798.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to