Bug 20621 - getting "Error while recovering Image Informations" exception with nested "Stream closed" exception
Summary: getting "Error while recovering Image Informations" exception with nested "St...
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: images (show other bugs)
Version: 0.20.4
Hardware: Other AIX
: P3 critical
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-09 18:31 UTC by Darren Kramer
Modified: 2012-04-01 07:00 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darren Kramer 2003-06-09 18:31:30 UTC
We are occasionally generating PDFs that are missing images.  It doesn't happen 
all of the time, and is very difficult to reproduce.  Our logs files display 
the following line:
[ERROR] Error while creating area : Error while recovering Image Informations 
(file:/prod/folio/p1/config/common/img/logo_big.jpg) : Stream closed

The file does exist (and has the necessary file permissions), and most of the 
time it is included on in the PDF without any problems.  We generate a large 
number of PDFs during a batch process when this happens, usually a couple 
hundred of them.  We run 4 threads at once to generate them, all running within 
a shared weblogic context (version 5.1).  I am not sure if this is a threading 
issue or not.  Any ideas how to resolve this?  Or at the very least, are there 
any ways that I can identify when this occurs so that we can at least try and 
regenerate it (the exception is currently just logged, and the report is 
generated without any errors being thrown).
Comment 1 J.Pietschmann 2003-06-09 18:51:51 UTC
0.20.4 was not thread safe in this respect. The current version should be a bit
better.
Comment 2 Glenn Adams 2012-04-01 07:00:14 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed