pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (Jira)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-4650) Exception in thread "main" java.io.IOException: Missing root object specification in trailer.
Date Thu, 12 Sep 2019 06:51:00 GMT

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

Tilman Hausherr commented on PDFBOX-4650:
-----------------------------------------

Likely a broken PDF (even if it displays on other viewers). Please attach it.

> Exception in thread "main" java.io.IOException: Missing root object specification in
trailer.
> ---------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-4650
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4650
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.16
>            Reporter: Elias Mauer
>            Priority: Major
>
> Hey,
> I'm currently experiencing this kind of error and I dont have any clue how to fix it.
Tried it now for a couple of hours, but still no clue how to get rid of this error.
> I'm using the latest command-line jar of pdfbox (2.0.16) for the merging process.
> Hopefully someone has a clue how I'm able to fix this asap.
>  
> Exception in thread "main" java.io.IOException: Missing root object specification in
trailer.
>  at org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2876)
>  at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:175)
>  at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:226)
>  at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1070)
>  at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:991)
>  at org.apache.pdfbox.multipdf.PDFMergerUtility.legacyMergeDocuments(PDFMergerUtility.java:451)
>  at org.apache.pdfbox.multipdf.PDFMergerUtility.mergeDocuments(PDFMergerUtility.java:346)
>  at org.apache.pdfbox.tools.PDFMerger.merge(PDFMerger.java:70)
>  at org.apache.pdfbox.tools.PDFMerger.main(PDFMerger.java:49)
>  at org.apache.pdfbox.tools.PDFBox.main(PDFBox.java:81)
>  
> Best Regards,
> Elias



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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


Mime
View raw message