[ https://issues.apache.org/jira/browse/PDFBOX-3862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16080717#comment-16080717 ]
Jorge Spinsanti commented on PDFBOX-3862: ----------------------------------------- Yes. The file is corrupt. Do you think that IOException is proper to manage corrupt file? > 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-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org