[
https://issues.apache.org/jira/browse/PDFBOX-3536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16021574#comment-16021574
]
Tilman Hausherr edited comment on PDFBOX-3536 at 5/23/17 6:14 PM:
------------------------------------------------------------------
[~jaskren] Your file renders fine with 2.0.6, although very slowly, even when
the option mentioned in "getting started" is used. The problem with your file
in previous versions is that it contains a large count of zeroes after the
%%EOF. The speed is related to the large count (684) of CMYK images.
was (Author: tilman):
[~jaskren] Your file renders file with 2.0.6, although very slowly. The problem
with your file is that it contains a large count of zeroes after the %%EOF.
> IOException "Invalid dictionary, found: 'r' but expected: '/' at offset 1148"
> on a valid PDF
> --------------------------------------------------------------------------------------------
>
> Key: PDFBOX-3536
> URL: https://issues.apache.org/jira/browse/PDFBOX-3536
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.3
> Environment: Windows 7 x64, JVM 1.8.0_101
> Reporter: Seva Alekseyev
> Attachments: resulprovao.pdf, UnknownDirObject.pdf
>
>
> On the attached file, which loads fine with Adobe Reader, the
> PDDocument.load() methpod throws the following error:
> java.io.IOException: Unknown dir object c='>' cInt=62 peek='>' peekInt=62 at
> offset 1196
> at
> org.apache.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:982)
> at
> org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryValue(BaseParser.java:153)
> at
> org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryNameValuePair(BaseParser.java:277)
> at
> org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionary(BaseParser.java:210)
> at
> org.apache.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:885)
> at
> org.apache.pdfbox.pdfparser.COSParser.parseFileObject(COSParser.java:757)
> at
> org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:726)
> at
> org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:657)
> at
> org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2092)
> at
> org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:203)
> at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:252)
> at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:957)
> at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:913)
> at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:861)
> at Temp.PDFTemp.App.main(App.java:19)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]