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

Jorge Spinsanti updated PDFBOX-3775:
------------------------------------
    Attachment: IllegalArgumentException.pdf

> Merge documents fails due to IllegalArgumentException
> -----------------------------------------------------
>
>                 Key: PDFBOX-3775
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3775
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.5
>            Reporter: Jorge Spinsanti
>         Attachments: IllegalArgumentException.pdf
>
>
> When I tried to merge documents and one of them is a PDF file similar to 
> attached file, I got an IllegalArgumentException. See stacktrace:
> {code}
> java.lang.IllegalArgumentException: Full
>       at org.apache.pdfbox.pdmodel.PageMode.fromString(PageMode.java:71) 
> ~[pdfbox-2.0.5.jar:2.0.5]
>       at 
> org.apache.pdfbox.pdmodel.PDDocumentCatalog.getPageMode(PDDocumentCatalog.java:440)
>  ~[pdfbox-2.0.5.jar:2.0.5]
>       at 
> org.apache.pdfbox.multipdf.PDFMergerUtility.appendDocument(PDFMergerUtility.java:451)
>  ~[pdfbox-2.0.5.jar:2.0.5]
>       at 
> org.apache.pdfbox.multipdf.PDFMergerUtility.mergeDocuments(PDFMergerUtility.java:261)
>  ~[pdfbox-2.0.5.jar:2.0.5]
> {code}



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

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

Reply via email to