<?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: [resolved] NullPointerException in tFTPFileProperties in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-in-tFTPFileProperties/m-p/2319412#M89660</link>
    <description>Hello 
&lt;BR /&gt;How do you set the file path of tFileProperties?
&lt;BR /&gt;In this case, it should be:
&lt;BR /&gt;((String)globalMap.get("tFileList_1_CURRENT_FILEPATH"))
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
    <pubDate>Thu, 10 Sep 2009 07:19:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-09-10T07:19:48Z</dc:date>
    <item>
      <title>[resolved] NullPointerException in tFTPFileProperties</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-in-tFTPFileProperties/m-p/2319410#M89658</link>
      <description>I need to copy the most recent file (today's file) off an sftp server. There are also older files out there, so I need to sort through to get only today's file. 
&lt;BR /&gt;I set up tFTPFileList --&amp;gt; tFTPFileProperties (etc.) but at this point, when I run it, I'm getting the following error on tFTPFileProperties: 
&lt;BR /&gt;Exception in component tFTPFileProperties_1 
&lt;BR /&gt;java.lang.NullPointerException 
&lt;BR /&gt; at cdd_test_djr.get_cdd_file_0_1.Get_CDD_file.tFTPFileList_1Process(Get_CDD_file.java:938) 
&lt;BR /&gt; at cdd_test_djr.get_cdd_file_0_1.Get_CDD_file.runJobInTOS(Get_CDD_file.java:1369) 
&lt;BR /&gt; at cdd_test_djr.get_cdd_file_0_1.Get_CDD_file.main(Get_CDD_file.java:1271) 
&lt;BR /&gt;I set up a println (in tJava) coming off of tFTPFileList to see what was coming in, and at that point in the process, the filenames are there. But as soon as it get to tFTPFileProperties, it fails. Below are some screen shots. Any ideas? 
&lt;BR /&gt;It couldn't have anything to do with the connection could it? I didn't see any way to disconnect from the ftp server. 
&lt;BR /&gt;Thanks! 
&lt;BR /&gt;Daphne</description>
      <pubDate>Sat, 16 Nov 2024 13:46:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-in-tFTPFileProperties/m-p/2319410#M89658</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] NullPointerException in tFTPFileProperties</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-in-tFTPFileProperties/m-p/2319411#M89659</link>
      <description>I thought the FTP was the problem, but I just tried essentially the same thing on a local directory and still got nulls back.  I double-checked that there *are* files in the directory I'm checking and I'm not getting an error--just not getting any data.</description>
      <pubDate>Wed, 09 Sep 2009 21:28:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-in-tFTPFileProperties/m-p/2319411#M89659</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-09T21:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] NullPointerException in tFTPFileProperties</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-in-tFTPFileProperties/m-p/2319412#M89660</link>
      <description>Hello 
&lt;BR /&gt;How do you set the file path of tFileProperties?
&lt;BR /&gt;In this case, it should be:
&lt;BR /&gt;((String)globalMap.get("tFileList_1_CURRENT_FILEPATH"))
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Thu, 10 Sep 2009 07:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-in-tFTPFileProperties/m-p/2319412#M89660</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-10T07:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] NullPointerException in tFTPFileProperties</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-in-tFTPFileProperties/m-p/2319413#M89661</link>
      <description>Yes, as Shong said you are using the ((String)globalMap.get("tFTPFileList_1_CURRENT_FILE")) which gives you just the file name. You could either add the directory in front or just simply ((String)globalMap.get("tFileList_1_CURRENT_FILEPATH")).
&lt;BR /&gt;Wiktor</description>
      <pubDate>Thu, 10 Sep 2009 14:36:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-in-tFTPFileProperties/m-p/2319413#M89661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-10T14:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] NullPointerException in tFTPFileProperties</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-in-tFTPFileProperties/m-p/2319414#M89662</link>
      <description>Thank you for the advice! That solved the problem with tFileList and tFileProperties. I'm still having a problem with tFTPFileList and tFTPFileProperties, though. 
&lt;BR /&gt;I first set up the job using tFileList and tFileProperties (deactivated in the picture below), and with your help I got that working exactly the way I wanted it. Except, of course, that the files I want to look at are on an FTP server, not a local drive. So I replaced tFileList and tFileProperties with tFTPFileList and tFTPFileProperties, and started getting the null pointer exception error again. Any ideas? 
&lt;BR /&gt;Thanks! 
&lt;BR /&gt;Daphne 
&lt;BR /&gt;Exception in component tFTPFileProperties_1 
&lt;BR /&gt;java.lang.NullPointerException 
&lt;BR /&gt; at cdd_test_djr.get_cdd_file_0_1.Get_CDD_file.tFTPFileList_1Process(Get_CDD_file.java:1615) 
&lt;BR /&gt; at cdd_test_djr.get_cdd_file_0_1.Get_CDD_file.runJobInTOS(Get_CDD_file.java:2198) 
&lt;BR /&gt; at cdd_test_djr.get_cdd_file_0_1.Get_CDD_file.main(Get_CDD_file.java:2073)</description>
      <pubDate>Thu, 10 Sep 2009 17:15:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-in-tFTPFileProperties/m-p/2319414#M89662</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-10T17:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] NullPointerException in tFTPFileProperties</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-in-tFTPFileProperties/m-p/2319415#M89663</link>
      <description>Hello 
&lt;BR /&gt;On tFTPFileProperties, you check 'use the exist connection' option, but there is no a tFTPConnection in your job. That's why you get a nullexception.
&lt;BR /&gt;I add a new 9055 on tFTPConnection.
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
      <pubDate>Fri, 11 Sep 2009 08:44:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-in-tFTPFileProperties/m-p/2319415#M89663</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-11T08:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] NullPointerException in tFTPFileProperties</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-in-tFTPFileProperties/m-p/2319416#M89664</link>
      <description>Thank you for your help!&lt;BR /&gt;Daphne</description>
      <pubDate>Mon, 14 Sep 2009 17:54:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-NullPointerException-in-tFTPFileProperties/m-p/2319416#M89664</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-14T17:54:44Z</dc:date>
    </item>
  </channel>
</rss>

