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();