You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Timo Boehme (JIRA)" <ji...@apache.org> on 2012/05/22 00:52:41 UTC

[jira] [Closed] (PDFBOX-163) IOException: expected='/' actual='e'-101

     [ https://issues.apache.org/jira/browse/PDFBOX-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timo Boehme closed PDFBOX-163.
------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.0
         Assignee: Timo Boehme

The provided document is broken (object 14 is malformed). However since this object is never referenced the document can correctly parsed with new NonSequentialPDFParser (PDFBOX-1199).
                
> IOException: expected='/' actual='e'-101
> ----------------------------------------
>
>                 Key: PDFBOX-163
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-163
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>            Assignee: Timo Boehme
>            Priority: Minor
>             Fix For: 1.7.0
>
>         Attachments: PDFBOX163-pages-000.pdf
>
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1485485
> Originally submitted by sajitjacob on 2006-05-10 04:06.
> Get the following exception when loading a PDF 
> created by ImageMagick
> Exception in thread "main" java.io.IOException: 
> expected='/' actual='e'-101 
> org.pdfbox.io.PushBackInputStream@9
>         at 
> org.pdfbox.pdfparser.BaseParser.parseCOSName 
> (BaseParser.java:774)
>         at 
> org.pdfbox.pdfparser.BaseParser.parseCOSDictionary 
> (BaseParser.java:217)
>         at 
> org.pdfbox.pdfparser.BaseParser.parseDirObject 
> (BaseParser.java:910)
>         at org.pdfbox.pdfparser.PDFParser.parseObject 
> (PDFParser.java:432)
>         at org.pdfbox.pdfparser.PDFParser.parse 
> (PDFParser.java:176)
>         at org.pdfbox.pdmodel.PDDocument.load 
> (PDDocument.java:579)
>         at org.pdfbox.pdmodel.PDDocument.load 
> (PDDocument.java:549)
>         at org.pdfbox.ExtractImages.extractImages 
> (ExtractImages.java:124)
>         at org.pdfbox.ExtractImages.main 
> (ExtractImages.java:74)
> [attachment on SourceForge]
> http://sourceforge.net/tracker/download.php?group_id=78314&atid=552832&aid=1485485&file_id=177454
> pages-000.pdf (application/pdf), 17898 bytes
> ImageMagick created pdf
> [comment on SourceForge]
> Originally sent by francois248.
> Logged In: YES 
> user_id=1606233
> Hi,
> I am facing the same problem when upgrating a tools that
> produce PDF file.
> I can send a test case too if needed.
> Is there a workaround to avoid it?
> François

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira