[
https://issues.apache.org/jira/browse/PDFBOX-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr updated PDFBOX-2346:
------------------------------------
Attachment: ObjStrm-1410530042577.txt
I attached the object stream. It has 36 "\[" and 37 "\]". I will close this as
a duplicate of PDFBOX-2345 because it is also an incorrect object stream. qpdf
reports:
{quote}
PDFBOX-2346.pdf (xref stream, file position 18390): Cross-reference stream data
has the wrong size; expected = 759; actual = 760
qpdf: operation succeeded with warnings; resulting file may have some problems
{quote}
> Unknown dir object c=']' cInt=93 peek=']' peekInt=93 3641
> ---------------------------------------------------------
>
> Key: PDFBOX-2346
> URL: https://issues.apache.org/jira/browse/PDFBOX-2346
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.0
> Reporter: simon steiner
> Attachments: ObjStrm-1410530042577.txt, 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.io.IOException: Unknown dir object c=']'
> cInt=93 peek=']' peekInt=93 3641
> at
> org.apache.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:1368)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)