Skip to content

Commit

Permalink
fix: java null pointer exception in chargementFichierAvecContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolife999 committed Nov 16, 2024
1 parent 8bb8d61 commit 48199d0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,9 @@ private void chargementFichierAvecContainer() throws ArcException {
targetLoader.charger();

} finally {
this.filesInputStreamLoad.closeAll();
if (filesInputStreamLoad!=null) {
this.filesInputStreamLoad.closeAll();
}
}
} catch (IOException e) {
throw new ArcException(e, ArcExceptionMessage.FILE_CLOSE_FAILED, fileChargement.getAbsolutePath());
Expand Down

0 comments on commit 48199d0

Please sign in to comment.