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/04/29 14:53:30 UTC

[jira] Commented: (PDFBOX-454) IOException upon opening a PDF

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

Andreas Lehmkühler commented on PDFBOX-454:
-------------------------------------------

I've fixed the issue with the missing linewidth scaling with version 769775. 
But I don't get the mentioned exception. I've tested jdk1.4 and jdk1.6 on linux. Is that error still there, perhaps in a different environment?

> IOException upon opening a PDF
> ------------------------------
>
>                 Key: PDFBOX-454
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-454
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 0.8.0-incubator
>            Reporter: Daniel Wilson
>         Attachments: source.pdf, source.pdf-1.png
>
>
> Tim reports:
> "I am working with PDFBox-0.7.3-dev and receive the following error when
> opening a PDF file:
> Exception in thread "main" java.io.IOException: Error: Expected an integer
> type, actual='/Subtype/Image'
>        at org.pdfbox.pdfparser.BaseParser.readInt(BaseParser.java:1335)
>        at org.pdfbox.pdfparser.PDFParser.parseObject(PDFParser.java:415)
>        at org.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:176)
>        at org.pdfbox.pdmodel.PDDocument.load(PDDocument.java:578)
>        at org.pdfbox.pdmodel.PDDocument.load(PDDocument.java:549)
>        at cmecf.pdf.xxx.ProcessPDF(xxx.java:257)
>        at cmecf.pdf.xxx.main(xxx.java:78)
> Here is the Java code that is used to open the PDF file:
> loPdfDocument = PDDocument.load(this.cFile);
> The PDF file contains sensitive information, so I cannot attach it. "
> My experience, though, is with a PDF document that was included in the test cases while at SourceForge.  At some point, it rendered an image .... but now it errors out with the message Tim provided above.
> I will attach that PDF file .... as soon as I find the link to do so.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.