[
https://issues.apache.org/jira/browse/PDFBOX-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14131809#comment-14131809
]
Tilman Hausherr commented on PDFBOX-2345:
-----------------------------------------
[~ssteiner1] how did you create the file? With Apache FOP only? Or was PDFBox
involved somehow? I'm asking to find out whether PDFBox is the "guilty" party
re: the incorrect stream size / content in this file and in the one of
PDFBOX-2346.
> IndexOutOfBoundsException reading encrypted pdf
> -----------------------------------------------
>
> Key: PDFBOX-2345
> URL: https://issues.apache.org/jira/browse/PDFBOX-2345
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 1.8.6, 1.8.7, 2.0.0
> Reporter: simon steiner
> Labels: ObjStm
> Attachments: out.pdf
>
>
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar
> WriteDecodedDoc -nonSeq out.pdf
> Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 4,
> Size: 4
> at java.util.ArrayList.rangeCheck(ArrayList.java:635)
> at java.util.ArrayList.get(ArrayList.java:411)
> at
> org.apache.pdfbox.pdfparser.PDFObjectStreamParser.parse(PDFObjectStreamParser.java:110)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)