Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » javax.imageio.IIOException: I/O error writing PNG file(javax.imageio.IIOException: I/O error writing PNG file)
icon9.gif  javax.imageio.IIOException: I/O error writing PNG file [message #1707083] Wed, 02 September 2015 07:32
Jatin Gupta is currently offline Jatin GuptaFriend
Messages: 1
Registered: September 2015
Junior Member
I am using Jpedal tool to convert PDF to Image. When PDF pages are very large in number and we process it to convert then it is being processed . In general this is working, however once in a while it throws Exception.
javax.imageio.IIOException: I/O error writing PNG file

and also after that tomcat gets stopped. I think memory gets full and it throws exception resulting stops tomcat unexpectedly. Can anyone please help for this.

[INFO ] 2014-05-22 09:40:41 com.book.pdfprocessors.PDF2IMAGEConversionTask.createPDF2ImageTask(PDF2IMAGEConversionTask.java:297) - createPDF2ImageTask ( sourcePDFAbsPath = /export/home/apps/ebookcm/prod1/content/simpleebook/curriculum/math/elementary/ma_enV15_gr2_te_na/ingest/pdf/optimized-pdf//a69e6c03e2aa721178dfbdba59a05c08.pdf , destinationImageAbsPath = /export/home/apps/ebookcm/prod1/content/simpleebook/curriculum/math/elementary/ma_enV15_gr2_te_na/ebookCM31615595/2.0/dlimages/a69e6c03e2aa721178dfbdba59a05c08.png, scalingFactor = 1.5 , fileFormat = png softLimitInKB =800
[INFO ] 2014-05-22 09:40:41 com.book.helper.Helper.deleteFile(Helper.java:381) - deleteFile sourceFile=/export/home/apps/ebookcm/prod1/content/simpleebook/curriculum/math/elementary/ma_enV15_gr2_te_na/ebookCM31615595/2.0/dlimages/a69e6c03e2aa721178dfbdba59a05c08.png
[INFO ] 2014-05-22 09:40:41 com.book.pdfprocessors.PDF2IMAGEConversionTask.createPDF2ImageTask(PDF2IMAGEConversionTask.java:334) - width = 1080   height= 1302
[ERROR] 2014-05-22 09:55:02 com.book.pdfprocessors.PDF2IMAGEConversionTask.createPDF2ImageTask(PDF2IMAGEConversionTask.java:366) - Exception in extractPageAsImage :: javax.imageio.IIOException: I/O error writing PNG file!
[ERROR] 2014-05-22 09:55:18 com.book.pdfprocessors.PDF2IMAGEConversionTask.createPDF2ImageTask(PDF2IMAGEConversionTask.java:367) - Exception stack trace in extractPageAsImage ::
Previous Topic:DataSet Issue
Next Topic:Change font in the PDF
Goto Forum:
  


Current Time: Tue Apr 23 06:57:03 GMT 2024

Powered by FUDForum. Page generated in 0.03202 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top