You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2017/07/11 15:00:02 UTC

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

     [ https://issues.apache.org/jira/browse/PDFBOX-3862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr closed PDFBOX-3862.
-----------------------------------
    Resolution: Won't Fix

Closing as there's nothing we can do. Sure, we could create some new kind of exception as wished. This would be several days of work that is better used for something else, and it would not make your life better if you're get FileCorruptException instead of IOException because the effect is always the same: you can't use it.

> java.io.IOException: Missing root object specification in trailer
> -----------------------------------------------------------------
>
>                 Key: PDFBOX-3862
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3862
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.6
>            Reporter: Jorge Spinsanti
>         Attachments: missingRootFolder.pdf
>
>
> I got a java.io.IOException on PDFBox code throught Tika HTML extraction:
> {code}
> org.apache.tika.exception.TikaException: TIKA-198: Illegal IOException from org.apache.tika.parser.pdf.PDFParser@4082e5e4
> 	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:286)
> 	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
> 	... 16 more
> Caused by: java.io.IOException: Missing root object specification in trailer.
> 	at org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2225)
> 	at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:227)
> 	at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:276)
> 	at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1132)
> 	at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1066)
> 	at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:141)
> 	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
> 	... 24 more
> {code}



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

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