You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "simon steiner (JIRA)" <ji...@apache.org> on 2016/10/03 09:44:21 UTC

[jira] [Resolved] (FOP-2654) IOException for PDF to PDF under low memory

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

simon steiner resolved FOP-2654.
--------------------------------
    Resolution: Fixed

> IOException for PDF to PDF under low memory
> -------------------------------------------
>
>                 Key: FOP-2654
>                 URL: https://issues.apache.org/jira/browse/FOP-2654
>             Project: FOP
>          Issue Type: Bug
>            Reporter: simon steiner
>            Assignee: simon steiner
>         Attachments: input.pdf, test.fo
>
>
> export FOP_OPTS=-Xmx100m
> fop test.fo out.pdf
> java.io.IOException: COSStream has been closed and cannot be read. Perhaps its enclosing PDDocument has been closed?
> 	at org.apache.pdfbox.cos.COSStream.checkClosed(COSStream.java:78)
> 	at org.apache.pdfbox.cos.COSStream.createRawInputStream(COSStream.java:126)
> 	at org.apache.pdfbox.cos.COSStream.getFilteredStream(COSStream.java:93)
> 	at org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.readCOSStream(PDFBoxAdapter.java:276)



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