You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Lonzak (JIRA)" <ji...@apache.org> on 2017/06/08 15:01:18 UTC

[jira] [Commented] (PDFBOX-3668) COSParser can't detect length of stream and then PDFRenderer does not render pages at some files

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

Lonzak commented on PDFBOX-3668:
--------------------------------

I get this error in Version 2.0.6 - so is the PDF broken or the bug still there?
WARNING: The stream doesn't provide any stream length, using fallback readUntilEnd, at offset 1508

> COSParser can't detect length of stream and then PDFRenderer does not render pages at some files
> ------------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-3668
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3668
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.4
>         Environment: JRE 1.8
>            Reporter: Vitaliy Parfenov
>            Assignee: Tilman Hausherr
>             Fix For: 2.0.5, 3.0.0
>
>         Attachments: pdfbox-bug.zip
>
>
> I have a lot of files when PDF Box can't render pages to PNG files.
> Example with one of these files in attachement.
> In result I have console log:
> {code}
> jan 30, 2017 4:45:07 PM org.apache.pdfbox.pdfparser.COSParser parseCOSStream
> WARNING: The stream doesn't provide any stream length, using fallback readUntilEnd, at offset 764
> jan 30, 2017 4:45:07 PM org.apache.pdfbox.pdfparser.COSParser parseCOSStream
> WARNING: The stream doesn't provide any stream length, using fallback readUntilEnd, at offset 519350
> jan 30, 2017 4:45:08 PM org.apache.pdfbox.contentstream.PDFStreamEngine operatorException
> WARNING: Image stream is empty
> jan 30, 2017 4:45:08 PM org.apache.pdfbox.contentstream.PDFStreamEngine operatorException
> WARNING: Image stream is empty
> Process finished with exit code 0
> {code}
> And white pages as result of rendering.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org