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 2019/09/26 17:09:00 UTC

[jira] [Closed] (PDFBOX-4634) org.apache.pdfbox.io.ScratchFileBuffer - ScratchFileBuffer not closed!

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

Tilman Hausherr closed PDFBOX-4634.
-----------------------------------
    Resolution: Duplicate

Sorry for the delay, somehow this issue was missed, or it was because one of the mailserver failures.

Re "is it warning or error": it is a debug message. Don't bother with it.

Closing as duplicate of PDFBOX-3359.

>  org.apache.pdfbox.io.ScratchFileBuffer - ScratchFileBuffer not closed!
> -----------------------------------------------------------------------
>
>                 Key: PDFBOX-4634
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4634
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>            Reporter: ramya
>            Priority: Major
>         Attachments: PDFBoxUtil.java
>
>
> I am using pdfbox- 2.0.8 and i am getting "*10:25:49.823 [Finalizer] DEBUG org.apache.pdfbox.io.ScratchFileBuffer - ScratchFileBuffer not closed!* ". attached the same code below.
> is it warning or error ? if error please suggest me to close this .
> public static void main(String[] args) throws IOException {
> File file = new File("C:/PdfBox_Examples/input/GatePassSample1.pdf");
> PDDocument document = PDDocument.load(file);
> PDFRenderer pdfRenderer = new PDFRenderer(pd);
> //Rendering an image from the PDF document
>  BufferedImage image = pdfRenderer.renderImage(0);
>  //Writing the image to a file
>  ImageIO.write(image, "png", new File("fileName"));
> document.close();
> }



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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