From 17d9de6af2b1d2f0cb4ee3b4e2517d490ceb0857 Mon Sep 17 00:00:00 2001 From: Matt Casters Date: Wed, 18 Dec 2024 10:19:27 +0100 Subject: [PATCH] Fix of issue #4725 --- .../org/apache/hop/parquet/transforms/input/ParquetInput.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tech/parquet/src/main/java/org/apache/hop/parquet/transforms/input/ParquetInput.java b/plugins/tech/parquet/src/main/java/org/apache/hop/parquet/transforms/input/ParquetInput.java index 249e7e228ea..3629f8f7c92 100644 --- a/plugins/tech/parquet/src/main/java/org/apache/hop/parquet/transforms/input/ParquetInput.java +++ b/plugins/tech/parquet/src/main/java/org/apache/hop/parquet/transforms/input/ParquetInput.java @@ -102,7 +102,7 @@ public boolean processRow() throws HopException { } public void closeFile() { - if (!data.readerClosed) { + if (!data.readerClosed && data.reader != null && data.inputStream != null) { try { data.reader.close(); data.inputStream.close();