Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.3.1, 1.4.0
-
None
-
None
-
Java: jdk1.6.0_20
OS: Windows 7, RHEL 5.5
Description
From the command line version of PDFBox, this exception is printed out:
ExtractText failed with the following exception:
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at org.apache.pdfbox.pdmodel.encryption.StandardSecurityHandler.computeEncryptedKey(StandardSecurityHandler.java:571)
at org.apache.pdfbox.pdmodel.encryption.StandardSecurityHandler.computeUserPassword(StandardSecurityHandler.java:608)
at org.apache.pdfbox.pdmodel.encryption.StandardSecurityHandler.isUserPassword(StandardSecurityHandler.java:792)
at org.apache.pdfbox.pdmodel.encryption.StandardSecurityHandler.decryptDocument(StandardSecurityHandler.java:189)
at org.apache.pdfbox.pdmodel.PDDocument.openProtection(PDDocument.java:1091)
at org.apache.pdfbox.ExtractText.main(ExtractText.java:190)
at org.apache.pdfbox.PDFBox.main(PDFBox.java:42)
The document I was using was encrypted using Adobe Acrobat X Pro and has only Page Extraction disabled inside of it. It was encrypted only with a permissions password.
Attachments
Attachments
Issue Links
- depends upon
-
PDFBOX-1594 Add support for AES256 Encryption
- Closed
- duplicates
-
PDFBOX-1593 Adobe encrypted document doesn't parse correct (Acrobat 9 compatibility)
- Closed
- relates to
-
PDFBOX-149 Update encryption algorithms
- Closed