[
https://issues.apache.org/jira/browse/PDFBOX-3630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17224337#comment-17224337
]
Andreas Lehmkühler commented on PDFBOX-3630:
--------------------------------------------
The error message in the 2.0. branch is now a different one
{code}
java.lang.RuntimeException: java.io.IOException: COSObject{10, 0} cannot be
assigned to offset 135297, this belongs to COSObject{837, 0}
org.apache.pdfbox.debugger.PDFDebugger$14.actionPerformed(PDFDebugger.java:1453)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
Caused by: java.io.IOException: COSObject{10, 0} cannot be assigned to offset
135297, this belongs to COSObject{837, 0}
org.apache.pdfbox.pdfparser.COSParser.parseDictObjects(COSParser.java:741)
org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:187)
org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:226)
org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1099)
org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1082)
org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1023)
org.apache.pdfbox.debugger.PDFDebugger$12.open(PDFDebugger.java:1298)
{code}
> UnsupportedOperationException on a valid PDF
> --------------------------------------------
>
> Key: PDFBOX-3630
> URL: https://issues.apache.org/jira/browse/PDFBOX-3630
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.3
> Environment: Windows 7 x64, JVM 1.8.0_101
> Reporter: Seva Alekseyev
> Priority: Major
> Fix For: 3.0.0 PDFBox
>
> Attachments: pagesel.pdf
>
>
> The attached document, which opens fine with Adobe Reader, errors out in
> PDDocument.load():
> java.lang.UnsupportedOperationException
> at java.util.AbstractList.add(AbstractList.java:148)
> at java.util.AbstractList.add(AbstractList.java:108)
> at
> org.apache.pdfbox.pdfparser.COSParser.parseDictObjects(COSParser.java:610)
> at
> org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:217)
> at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:252)
> at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:966)
> at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:922)
> at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:870)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]