You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2016/10/13 17:15:21 UTC

[jira] [Resolved] (PDFBOX-3526) DataFormatException: invalid stored block lengths

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

Tilman Hausherr resolved PDFBOX-3526.
-------------------------------------
       Resolution: Fixed
         Assignee: Tilman Hausherr
    Fix Version/s: 2.1.0
                   2.0.4

This works for your file. Incorrect streams will stay as they are - garbage in, garbage out.

> DataFormatException: invalid stored block lengths
> -------------------------------------------------
>
>                 Key: PDFBOX-3526
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3526
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.3
>            Reporter: simon steiner
>            Assignee: Tilman Hausherr
>             Fix For: 2.0.4, 2.1.0
>
>         Attachments: 601501018.pdf
>
>
> java -jar pdf-box-svn/app/target/pdfbox-app-2.1.0-SNAPSHOT.jar WriteDecodedDoc 601501018.pdf
> Exception in thread "main" java.io.IOException: java.util.zip.DataFormatException: invalid stored block lengths
> 	at org.apache.pdfbox.filter.FlateFilter.decode(FlateFilter.java:82)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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