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
1 REPLY
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