[
https://issues.apache.org/jira/browse/PDFBOX-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-2345.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
1.8.7
So it is "not our fault", but the error message has been improved somewhat, so
I am setting this to resolved.
Whats next for you?
Please
- create an issue in FOP JIRA
- have it corrected in FOP
- test any created PDF files
- if you want me to test the files with qpdf because you don't want to or can't
install qpdf, add me as a watcher in the FOP issue and attach any test file
there. I will check the files, but usually not during working hours.
The command I used for qpdf:
qpdf --stream-data=uncompress file.pdf fileU.pdf
> 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
> Fix For: 1.8.7, 2.0.0
>
> 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)