You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/03/12 22:24:57 UTC

[jira] [Resolved] (PDFBOX-1981) CryptographyException for file that isn't encrypted

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

John Hewson resolved PDFBOX-1981.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

> CryptographyException for file that isn't encrypted
> ---------------------------------------------------
>
>                 Key: PDFBOX-1981
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1981
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: John Hewson
>              Labels: regression
>             Fix For: 2.0.0
>
>         Attachments: Rennie-Fresh-gebrauchsinformation.pdf
>
>
> I get this with the attached file:
> Exception in file: rennie-fresh-gebrauchsinformation.pdf
> java.io.IOException: Error (CryptographyException) while creating security handler for decryption: The supplied password does not match either the owner or user password in the document
> 12.03.2014 20:44:06.063 ERROR [main] org.apache.pdfbox.pdfparser.NonSequentialPDFParser:1888 - Can't find the object xref at offset 4543
> 	at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:444)
> 	at org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:741)
> 	at org.apache.pdfbox.pdmodel.PDDocument.loadNonSeq(PDDocument.java:1152)
> 	at org.apache.pdfbox.pdmodel.PDDocument.loadNonSeq(PDDocument.java:1135)
> 	at pdfboxpageimageextraction.ExtractImages.doPdf(ExtractImages.java:203)
> 	at pdfboxpageimageextraction.ExtractImages.main(ExtractImages.java:86)
> This didn't happen ~ 2 weeks ago, so I suspect its a regression.



--
This message was sent by Atlassian JIRA
(v6.2#6252)