[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to