In poi-3.5-FINAL org/apache/poi/hssf/usermodel/HSSFPicture.getImageDimension() opens an ImageInputStream and does not close it. Repeated calls to Picture.resize() result in an exception and hang due to too many open files. Fix by closing stream after image dimensions determined. 268d267 < iis.close();
This is likely a duplicate of 48134 which has been resolved in trunk. https://issues.apache.org/bugzilla/show_bug.cgi?id=48134 Would you please give it a try and see if it resolves your case. Thanks, Dave
Yes it's the same bug as 48134. I thought I searched on getImageDimension, but I guess not. Anyway, I can confirm (using lsof) that it is fixed in poi-3.6-beta1-20091110.jar (created from build of truck). Thanks Gareth
Very good. Thanks. *** This bug has been marked as a duplicate of bug 48134 ***