Closed GoogleCodeExporter closed 9 years ago
When opening the file fails, the input stream is never closed and thus this
error occurs. Close the input stream in a finally{} statement.
Original comment by normen667
on 23 Jan 2012 at 7:01
Yeah that's the first thing i did, but the issue still occur.
I guess it's a bit trickier than that...
Original comment by remy.bou...@gmail.com
on 23 Jan 2012 at 7:27
mhhh wait i was just going
niftyObject.getPrimaryFile().getInputStream().close();
getInputStream() returns a new input stream each time.
It seems to work now that i keep a reference on the stream.
Original comment by remy.bou...@gmail.com
on 23 Jan 2012 at 7:35
Original issue reported on code.google.com by
remy.bou...@gmail.com
on 23 Jan 2012 at 5:52