You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2009/12/05 15:55:20 UTC
[jira] Commented: (PDFBOX-276) IOException on parsing a PDF file
[ https://issues.apache.org/jira/browse/PDFBOX-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12786421#action_12786421 ]
Andreas Lehmkühler commented on PDFBOX-276:
-------------------------------------------
The current trunk version produces an other error:
05.12.2009 15:49:53 org.apache.pdfbox.pdfparser.BaseParser parseCOSDictionary
WARNUNG: Invalid dictionary, found:��� but expected:''
Exception in thread "main" java.lang.NullPointerException
at org.apache.pdfbox.pdmodel.PDPageNode.getAllKids(PDPageNode.java:180)
at org.apache.pdfbox.pdmodel.PDPageNode.getAllKids(PDPageNode.java:168)
at org.apache.pdfbox.pdmodel.PDDocumentCatalog.getAllPages(PDDocumentCatalog.java:212)
at org.apache.pdfbox.PDFReader.openPDFFile(PDFReader.java:287)
at org.apache.pdfbox.PDFReader.main(PDFReader.java:270)
> IOException on parsing a PDF file
> ---------------------------------
>
> Key: PDFBOX-276
> URL: https://issues.apache.org/jira/browse/PDFBOX-276
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Priority: Minor
> Attachments: PDFBOX276-NotIndexedDocument.pdf
>
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1722594
> Originally submitted by doublep-enw on 2007-05-21 05:10.
> When parsing the attached file, PDFBox throws the following exception:
> java.io.IOException: expected='/' actual='?'--1 org.pdfbox.io.PushBackInputStream@159f498
> 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)
> The file does look strange inside, but PDF viewers don't seem to care.
> [attachment on SourceForge]
> http://sourceforge.net/tracker/download.php?group_id=78314&atid=552832&aid=1722594&file_id=229983
> NotIndexedDocument.pdf (application/pdf), 8728 bytes
> unparseable file
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.