Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0-alpha
-
None
-
Reviewed
Description
In NNStorage.java:
There are many stream closures in finally block.
There is a chance that they can mask the root exceptions.
So, better to follow the pattern like below:
try{ ............ ............ stream.close(); stream =null; } finally{ IOUtils.cleanup(LOG, stream); }