Apache Hop version?
2.8.0
Java version?
openjdk version "11.0.17" 2022-10-18
Operating system
Linux
What happened?
When executing integration test actions/main-0008-zip-files.hwf we see the following error appear.
2024/02/10 21:27:04 - zip files - ERROR: Could not create file [/tmp/zip-action-archive/2024.zip] , exception:
2024/02/10 21:27:04 - zip files - ERROR: org.apache.commons.vfs2.FileSystemException: File closed.
2024/02/10 21:27:04 - zip files - at org.apache.commons.vfs2.util.MonitorOutputStream.assertOpen(MonitorOutputStream.java:159)
2024/02/10 21:27:04 - zip files - at org.apache.commons.vfs2.util.MonitorOutputStream.write(MonitorOutputStream.java:122)
2024/02/10 21:27:04 - zip files - at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
2024/02/10 21:27:04 - zip files - at java.base/java.io.BufferedOutputStream.write(BufferedOutputStream.java:95)
2024/02/10 21:27:04 - zip files - at java.base/java.util.zip.ZipOutputStream.writeShort(ZipOutputStream.java:789)
2024/02/10 21:27:04 - zip files - at java.base/java.util.zip.ZipOutputStream.writeCEN(ZipOutputStream.java:614)
2024/02/10 21:27:04 - zip files - at java.base/java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:374)
2024/02/10 21:27:04 - zip files - at java.base/java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:245)
2024/02/10 21:27:04 - zip files - at java.base/java.util.zip.ZipOutputStream.close(ZipOutputStream.java:386)
2024/02/10 21:27:04 - zip files - at org.apache.hop.workflow.actions.zipfile.ActionZipFile.processRowFile(ActionZipFile.java:594)
2024/02/10 21:27:04 - zip files - at org.apache.hop.workflow.actions.zipfile.ActionZipFile.execute(ActionZipFile.java:973)
2024/02/10 21:27:04 - zip files - at org.apache.hop.workflow.Workflow.executeFromStart(Workflow.java:655)
2024/02/10 21:27:04 - zip files - at org.apache.hop.workflow.Workflow.executeFromStart(Workflow.java:795)
2024/02/10 21:27:04 - zip files - at org.apache.hop.workflow.Workflow.executeFromStart(Workflow.java:439)
2024/02/10 21:27:04 - zip files - at org.apache.hop.workflow.Workflow.startExecution(Workflow.java:300)
2024/02/10 21:27:04 - zip files - at org.apache.hop.workflow.engines.local.LocalWorkflowEngine.startExecution(LocalWorkflowEngine.java:249)
2024/02/10 21:27:04 - zip files - at org.apache.hop.pipeline.transforms.workflowexecutor.WorkflowExecutor.executeWorkflow(WorkflowExecutor.java:227)
2024/02/10 21:27:04 - zip files - at org.apache.hop.pipeline.transforms.workflowexecutor.WorkflowExecutor.processRow(WorkflowExecutor.java:178)
2024/02/10 21:27:04 - zip files - at org.apache.hop.pipeline.transform.RunThread.run(RunThread.java:55)
2024/02/10 21:27:04 - zip files - at java.base/java.lang.Thread.run(Thread.java:829)
2024/02/10 21:27:04 - zip files - ERROR: Error closing zip file entry for file 'file:///tmp/zip-action'
2024/02/10 21:27:04 - zip files - ERROR: org.apache.commons.vfs2.FileSystemException: File closed.
2024/02/10 21:27:04 - zip files - at org.apache.commons.vfs2.util.MonitorOutputStream.assertOpen(MonitorOutputStream.java:159)
2024/02/10 21:27:04 - zip files - at org.apache.commons.vfs2.util.MonitorOutputStream.write(MonitorOutputStream.java:122)
2024/02/10 21:27:04 - zip files - at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
2024/02/10 21:27:04 - zip files - at java.base/java.io.BufferedOutputStream.write(BufferedOutputStream.java:95)
2024/02/10 21:27:04 - zip files - at java.base/java.util.zip.ZipOutputStream.writeInt(ZipOutputStream.java:799)
2024/02/10 21:27:04 - zip files - at java.base/java.util.zip.ZipOutputStream.writeCEN(ZipOutputStream.java:556)
2024/02/10 21:27:04 - zip files - at java.base/java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:374)
2024/02/10 21:27:04 - zip files - at java.base/java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:245)
2024/02/10 21:27:04 - zip files - at java.base/java.util.zip.ZipOutputStream.close(ZipOutputStream.java:386)
2024/02/10 21:27:04 - zip files - at org.apache.hop.workflow.actions.zipfile.ActionZipFile.processRowFile(ActionZipFile.java:714)
2024/02/10 21:27:04 - zip files - at org.apache.hop.workflow.actions.zipfile.ActionZipFile.execute(ActionZipFile.java:973)
2024/02/10 21:27:04 - zip files - at org.apache.hop.workflow.Workflow.executeFromStart(Workflow.java:655)
2024/02/10 21:27:04 - zip files - at org.apache.hop.workflow.Workflow.executeFromStart(Workflow.java:795)
2024/02/10 21:27:04 - zip files - at org.apache.hop.workflow.Workflow.executeFromStart(Workflow.java:439)
2024/02/10 21:27:04 - zip files - at org.apache.hop.workflow.Workflow.startExecution(Workflow.java:300)
2024/02/10 21:27:04 - zip files - at org.apache.hop.workflow.engines.local.LocalWorkflowEngine.startExecution(LocalWorkflowEngine.java:249)
2024/02/10 21:27:04 - zip files - at org.apache.hop.pipeline.transforms.workflowexecutor.WorkflowExecutor.executeWorkflow(WorkflowExecutor.java:227)
2024/02/10 21:27:04 - zip files - at org.apache.hop.pipeline.transforms.workflowexecutor.WorkflowExecutor.processRow(WorkflowExecutor.java:178)
2024/02/10 21:27:04 - zip files - at org.apache.hop.pipeline.transform.RunThread.run(RunThread.java:55)
2024/02/10 21:27:04 - zip files - at java.base/java.lang.Thread.run(Thread.java:829)
Issue Priority
Priority: 1
Issue Component
Component: Actions
Apache Hop version?
2.8.0
Java version?
openjdk version "11.0.17" 2022-10-18
Operating system
Linux
What happened?
When executing integration test
actions/main-0008-zip-files.hwfwe see the following error appear.Issue Priority
Priority: 1
Issue Component
Component: Actions