[ 
https://issues.apache.org/jira/browse/PDFBOX-3215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15116904#comment-15116904
 ] 

Tilman Hausherr commented on PDFBOX-3215:
-----------------------------------------

This is a bug in the generation.
{code}
/CreationDate (gˆ6‘-ôÿ)Ä=>26)
{code}
The backslash before the ")" is missing, so the string ends there. With Adobe 
Reader, I can't display the document properties.

> Exception in thread "main" java.io.IOException: expected='>' actual='2' at 
> offset
> ---------------------------------------------------------------------------------
>
>                 Key: PDFBOX-3215
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3215
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.0
>            Reporter: Vincent
>            Priority: Critical
>              Labels: error, parser
>
> Exception in thread "main" java.io.IOException: expected='>' actual='2' at 
> offset 51539
>         at 
> org.apache.pdfbox.pdfparser.BaseParser.readExpectedChar(BaseParser.java:1027)
>         at 
> org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionary(BaseParser.java:219)
>         at 
> org.apache.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:844)
>         at 
> org.apache.pdfbox.pdfparser.COSParser.parseFileObject(COSParser.java:751)
>         at 
> org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:720)
>         at 
> org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:651)
>         at 
> org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2039)
>         at 
> org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:201)
>         at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:249)
>         at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:842)
>         at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:782)
>         at printpdf.PrintPDF.main(PrintPDF.java:150)
> Faulty PDF can be downloaded here : 
> http://www.mediafire.com/view/v7h8ij8aba8cstl/FO16007497_112054353.pdf 
> If you need the password (modify password) then please ask. 
> Happens in 2.0.0 RC3 as well as RC2.
> For information PDF file has been generated again with Windev and the issue 
> is gone. However I hope you'll find something in this one.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to