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/05/10 18:31:04 UTC

[jira] [Commented] (PDFBOX-3788) java.lang.RuntimeException: java.io.IOException: Catalog cannot be found

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

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

I've already found the cause and a possible solution, but some of the isator tests fail.

> java.lang.RuntimeException: java.io.IOException: Catalog cannot be found
> ------------------------------------------------------------------------
>
>                 Key: PDFBOX-3788
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3788
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.6
>            Reporter: Andreas Lehmkühler
>            Assignee: Andreas Lehmkühler
>              Labels: regression
>         Attachments: YVFDWHF767TEYTT7IVFSLUIJTDF3YP57.pdf
>
>
> This file was parsed in 2.0.5 but no longer now:
> {code}
> Caused by: java.io.IOException: Catalog cannot be found
>     org.apache.pdfbox.cos.COSDocument.getCatalog(COSDocument.java:373)
>     org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:238)
>     org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:310)
>     org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1000)
>     org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:938)
>     org.apache.pdfbox.debugger.PDFDebugger.parseDocument(PDFDebugger.java:1288)
>     org.apache.pdfbox.debugger.PDFDebugger.readPDFFile(PDFDebugger.java:1209)
>     org.apache.pdfbox.debugger.PDFDebugger.readPDFFile(PDFDebugger.java:1194)
> {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