Hello, in class JpegImage.java method loadImage()
there is inStream which is used for jpegs load, it's
not closed after the operation that's why jpeg images
are locked and cannot be deleted/changed. Patched file
is attached to the bug.
The comment says that there is an attached patched file
which I cannot find. I am also having this problem and my
knowledge of Java is not good. Can you please add the
patched file or describe how you fixed this problem.
Thanks
Ian
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: NO
No Attachments listed ...
Logged In: YES
user_id=1545868
The comment says that there is an attached patched file
which I cannot find. I am also having this problem and my
knowledge of Java is not good. Can you please add the
patched file or describe how you fixed this problem.
Thanks
Ian
Logged In: NO
In loadImage() line 102
try {
inStream = this.m_href.openStream();
while ((bytes_read = inStream.read(readBuf)) != -1) {
baos.write(readBuf, 0, bytes_read);
}
//Add this line for correct bug
inStream.close();
} catch (java.io.IOException ex) {
throw new FopImageException("Error while loading image " +
this.m_href.toString() + " : " + ex.getClass() +
" - " + ex.getMessage());
}
Logged In: NO
I am experiencing this problem. The problem is not noticed until time to do a deployment. We have to reset IIS any time we deploy.