Ftpget filemask ((String)globalMap.get("tWaitForFile_1_FILE

One Star

Ftpget filemask ((String)globalMap.get("tWaitForFile_1_FILE

Bonjour,
impossible d'utiliser la variable ((String)globalMap.get("tWaitForFile_1_FILENAME"))
error java
Exception in component tFTPGet_1
java.lang.NullPointerException
at expldi.nfgl_0_1.nfgl.tWaitForFile_1Process(nfgl.java:1423)
at expldi.nfgl_0_1.nfgl.runJobInTOS(nfgl.java:1732)
at expldi.nfgl_0_1.nfgl.main(nfgl.java:1632)
disconnected
Community Manager

Re: Ftpget filemask ((String)globalMap.get("tWaitForFile_1_FILE

Hello
Which version of TOS are you using?
I test a simple job with TOS2.3.0RC1 and it works fine.
My job:
tWaitForFile
|
iterate
|
tJava(System.out.println(((String)globalMap.get("tWaitForFile_1_FILENAME")))Smiley Wink
Best regards

shong
----------------------------------------------------------
Talend | Data Agility for Modern Business

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch