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

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

Tilman Hausherr created PDFBOX-1981:
---------------------------------------

             Summary: 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


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)