You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Ahmad Adly (JIRA)" <ji...@apache.org> on 2009/01/28 16:20:01 UTC
[jira] Issue Comment Edited: (PDFBOX-301) IOException when parsing
1.3 PDF
[ https://issues.apache.org/jira/browse/PDFBOX-301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668048#action_12668048 ]
aadly edited comment on PDFBOX-301 at 1/28/09 7:19 AM:
------------------------------------------------------------
I have the same problem with PDF Version 1.2 (Acrobat 3.x), I have voted to resolve this issue as soon as possible.
I have checked out the source of PDFBox from the SVN and got this exception trace:
java.io.IOException: expected='endobj' firstReadAttempt='startxref' secondReadAttempt='113523' org.apache.pdfbox.io.PushBackInputStream@ec16a4
at org.apache.pdfbox.pdfparser.PDFParser.parseObject(PDFParser.java:508)
at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:134)
at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:689)
at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:673)
at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:615)
was (Author: aadly):
I have the same problem with PDF Version 1.2 (Acrobat 3.x), I have voted to resolve this issue as soon as possible.
I have checked out the source of PDFBox from the SVN and got this exception trace:
java.io.IOException: expected='endobj' firstReadAttempt='startxref' secondReadAttempt='113523' org.apache.pdfbox.io.PushBackInputStream@ec16a4
at org.apache.pdfbox.pdfparser.PDFParser.parseObject(PDFParser.java:508)
at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:134)
at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:689)
at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:673)
at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:615)
> IOException when parsing 1.3 PDF
> --------------------------------
>
> Key: PDFBOX-301
> URL: https://issues.apache.org/jira/browse/PDFBOX-301
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Priority: Minor
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1786901
> Originally submitted by nobody on 2007-09-02 22:57.
> JAVA CODE:PDDocument pdfDoc = PDDocument.load("d:/pdf/1201198.PDF");
> PDFBOX VERSION:0.7.3
> PDF File version:1.3
> EXCEPTION:java.io.IOException: expected='endobj' firstReadAttempt='' secondReadAttempt='' org.pdfbox.io.PushBackInputStream@13e8d89
> at org.pdfbox.pdfparser.PDFParser.parseObject(PDFParser.java:502)
> at org.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:176)
> at ecwise.pdf.TPDFParse.loadPDF(TPDFParse.java:19)
> at ecwise.pdf.TPDFParse.main(TPDFParse.java:28)
> but if pdf file version is 1.4,it works well.
> can anybody help me?
> thanks.
> [comment on SourceForge]
> Originally sent by nobody.
> Logged In: NO
> what is the root cause of this exceptionï¼how to solve this?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.