[ https://issues.apache.org/jira/browse/PDFBOX-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180272#comment-13180272 ]
Timo Boehme commented on PDFBOX-1202: ------------------------------------- Since the document is encrypted it must be decrypted first. Otherwise streams cannot be processed. Normally decryption is done automatically using PDDocument.load methods. While I could verify that reading (and displaying) text from decrypted document does not produce mentioned error please mind that security settings of this document do not permit extracting text. I think that this report should be closed as 'not a bug'. > org.apache.pdfbox.filter.FlateFilter decode SEVERE: Stop reading corrupt > stream > ------------------------------------------------------------------------------- > > Key: PDFBOX-1202 > URL: https://issues.apache.org/jira/browse/PDFBOX-1202 > Project: PDFBox > Issue Type: Bug > Components: Text extraction > Affects Versions: 1.6.0 > Reporter: Ilija Pavlic > Priority: Critical > Attachments: IATAUnitedStates.pdf > > > Error "org.apache.pdfbox.filter.FlateFilter decode SEVERE: Stop reading > corrupt stream" thrown when extracting text. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira