从文件夹中读取多个gzip文件并在Talend中解压缩错误

时间:2017-03-23 08:57:28

标签: etl talend

我创建了一个工作流,用于从文件夹中读取所有gzip文件。完成后,我想解压缩那些。我收到错误如下

Starting job MyFirst at 08:55 22/03/2017.
[statistics] connecting to socket on port 3675
[statistics] connected
Exception in component tFileUnarchive_1
java.lang.NullPointerException
at local_project.myfirst_0_1.MyFirst.tFileUnarchive_1Process(MyFirst.java:535)
at local_project.myfirst_0_1.MyFirst.tFileList_1Process(MyFirst.java:451)
at local_project.myfirst_0_1.MyFirst.runJobInTOS(MyFirst.java:933)
at local_project.myfirst_0_1.MyFirst.main(MyFirst.java:790)
[statistics] disconnected
Job MyFirst ended at 08:55 22/03/2017. [exit code=1]

屏幕截图1 enter image description here

屏幕截图2 enter image description here

1 个答案:

答案 0 :(得分:2)

尝试使用“OnSubjectOk”的“flow - > Iterate”链接

enter image description here