You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2017/03/17 21:34:41 UTC

[jira] [Commented] (PDFBOX-3717) java.io.IOException: Missing root object specification in trailer

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

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

Just an update, PDFBOX-3626 introduced the regression

> java.io.IOException: Missing root object specification in trailer
> -----------------------------------------------------------------
>
>                 Key: PDFBOX-3717
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3717
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.4
>            Reporter: Tilman Hausherr
>              Labels: regression
>         Attachments: 069020.pdf
>
>
> java.io.IOException: Missing root object specification in trailer.
> {code}
> java.io.IOException: Missing root object specification in trailer.
>     org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2156)
>     org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:222)
>     org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271)
>     org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:987)
>     org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:943)
>     org.apache.pdfbox.debugger.PDFDebugger.parseDocument(PDFDebugger.java:1369)
>     org.apache.pdfbox.debugger.PDFDebugger.readPDFFile(PDFDebugger.java:1283)
>     org.apache.pdfbox.debugger.PDFDebugger.readPDFFile(PDFDebugger.java:1266)
>     org.apache.pdfbox.debugger.PDFDebugger.main(PDFDebugger.java:254)
>     org.apache.pdfbox.tools.PDFBox.main(PDFBox.java:85)
> {code}
> This worked in 2.0.4. Files with the same issue (not attached):
> {code}
> 015664.pdf
> 023505.pdf
> 047586.pdf
> 051613.pdf
> 069020.pdf <= smallest, attached here
> 193175.pdf
> 287698.pdf
> 303385.pdf
> 526394.pdf
> 587123.pdf
> 643304.pdf
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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