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
Highlighted
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 Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

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