<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Null pointer exception in Tftpfile_exist component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-Tftpfile-exist-component/m-p/2219956#M14554</link>
    <description>If test is a directory under the home directory, set the Remote directory as "." and directory name as "test".</description>
    <pubDate>Thu, 19 Dec 2019 01:38:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-12-19T01:38:47Z</dc:date>
    <item>
      <title>Null pointer exception in Tftpfile_exist component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-Tftpfile-exist-component/m-p/2219953#M14551</link>
      <description>&lt;P&gt;I have a scenario where I have to check on ftp directory,and if its empty trigger an email. I've tried using component tftpfile_exist with&lt;/P&gt;
&lt;P&gt;if condition -&amp;nbsp;&lt;SPAN&gt;!((Boolean)globalMap.get("tFileExist_1_EXISTS")) but on running the job it returns&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Exception in component tFTPFileExist_1 (dummy)&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;at demo.dummy_0_1.dummy.tFTPFileExist_1Process(dummy.java:404)&lt;BR /&gt;at demo.dummy_0_1.dummy.runJobInTOS(dummy.java:895)&lt;BR /&gt;at demo.dummy_0_1.dummy.main(dummy.java:745)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I've tried using tftp_list too but same error occurs.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-Tftpfile-exist-component/m-p/2219953#M14551</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T03:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer exception in Tftpfile_exist component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-Tftpfile-exist-component/m-p/2219954#M14552</link>
      <description>Do you use any variables on tFTPFileExist component? Can you please upload a screenshot of basic settings of tFTPFileExist?</description>
      <pubDate>Wed, 18 Dec 2019 02:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-Tftpfile-exist-component/m-p/2219954#M14552</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-18T02:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer exception in Tftpfile_exist component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-Tftpfile-exist-component/m-p/2219955#M14553</link>
      <description>&lt;P&gt;Hi shong,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I've been using tftpfile_exist with standard parametres, no variables have been involved.&lt;/P&gt; 
&lt;P&gt;Here's the screenshot for your reference.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LxAf"&gt;tftpfile_exists.png&lt;/A&gt;</description>
      <pubDate>Wed, 18 Dec 2019 05:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-Tftpfile-exist-component/m-p/2219955#M14553</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-18T05:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer exception in Tftpfile_exist component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-Tftpfile-exist-component/m-p/2219956#M14554</link>
      <description>If test is a directory under the home directory, set the Remote directory as "." and directory name as "test".</description>
      <pubDate>Thu, 19 Dec 2019 01:38:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-Tftpfile-exist-component/m-p/2219956#M14554</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-19T01:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer exception in Tftpfile_exist component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-Tftpfile-exist-component/m-p/2219957#M14555</link>
      <description>&lt;P&gt;Hi Shong,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the quick reply, the nullpointer issue got solve when I replace tFileExist in "if" condition with tFTPfile_Exist but&amp;nbsp;It seems the tFtpfILE_EXIST Component just checks whether the directory exists or not,but in my scenario I have to check whether the list of 20 files exist on that particular directory or not.If count is less than 20 it should trigger the mail. Can you please help me with the arrangement of components required to meet my scenario.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in Advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 06:19:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-Tftpfile-exist-component/m-p/2219957#M14555</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-19T06:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer exception in Tftpfile_exist component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-Tftpfile-exist-component/m-p/2219958#M14556</link>
      <description>&lt;P&gt;tFTPFileExist check if the specified directory or file exists or not. If you just need to check if the number of files in the particular directory, you can use tFTPFileList, there is a global variables NB_LINE that counts the total number of files found in the directory, you can use this global variable in the runIf expression, eg&lt;BR /&gt;((Integer)globalMap.get("tFTPFileList_1_NB_FILE"))&amp;lt;20&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 06:55:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-in-Tftpfile-exist-component/m-p/2219958#M14556</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-19T06:55:32Z</dc:date>
    </item>
  </channel>
</rss>

