<?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: tFTPFileList ArrayIndexOutOfBounds exception in 7.2.1 in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237019#M25580</link>
    <description>&lt;P&gt;So I had put a ticket in with Talend support since the issue was in their enterprise version. Talend support created bug report and then a patch for the issue. I guess I expected that they would have been pushed back into the TOS repo as well. The relationship between the TOS and the for profit side of things is a bit confusing at times. &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Feb 2020 18:43:43 GMT</pubDate>
    <dc:creator>mkosater</dc:creator>
    <dc:date>2020-02-05T18:43:43Z</dc:date>
    <item>
      <title>tFTPFileList ArrayIndexOutOfBounds exception in 7.2.1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237015#M25576</link>
      <description>&lt;P&gt;When upgrading project from 6.4 to 7.2.1, a job started to fail due to arrayoutofbounds error. I isolated this to the tFTPFileList component.&amp;nbsp; When reviewing the generation code and comparing it to the prior version it appears there is a bug in the logic.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is this the proper venue to report this or is there a SOP for doing so?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;6.4.0 code: The loop for pulling the data from the FTP dir method was slightly different.&lt;/P&gt; 
&lt;P&gt;for (String filemask_tFTPFileList_1 : maskList_tFTPFileList_1) {&lt;BR /&gt;java.util.regex.Pattern fileNamePattern_tFTPFileList_1 = java.util.regex.Pattern&lt;BR /&gt;.compile(filemask_tFTPFileList_1&lt;BR /&gt;.replaceAll("\\.", "\\\\.")&lt;BR /&gt;.replaceAll("\\*", ".*"));&lt;/P&gt; 
&lt;P&gt;for (String filemaskTemp_tFTPFileList_1 : fileList_tFTPFileList_1) {&lt;BR /&gt;if (fileNamePattern_tFTPFileList_1&lt;BR /&gt;.matcher(&lt;BR /&gt;filemaskTemp_tFTPFileList_1)&lt;BR /&gt;.matches()) {&lt;BR /&gt;fileListTemp_tFTPFileList_1&lt;BR /&gt;.add(filemaskTemp_tFTPFileList_1);&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;7.1.1 code: Issue is that the&amp;nbsp;ftp_tFTPFileList_1.dir(null, true) and&amp;nbsp;ftp_tFTPFileList_1.dir(null, false) bring back different sized arrays, and the looping logic is based off of the larger array.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;String[] fileList_tFTPFileList_1 = ftp_tFTPFileList_1.dir(null, true);&lt;BR /&gt;String[] fileListwithNames_tFTPFileList_1 = ftp_tFTPFileList_1.dir(null, false);&lt;BR /&gt;ftp_tFTPFileList_1.chdir(rootDir_tFTPFileList_1);&lt;BR /&gt;List&amp;lt;String&amp;gt; fileListTemp_tFTPFileList_1 = new java.util.ArrayList&amp;lt;String&amp;gt;();&lt;BR /&gt;List&amp;lt;String&amp;gt; fileListTempWithNames_tFTPFileList_1 = new java.util.ArrayList&amp;lt;String&amp;gt;();&lt;/P&gt; 
&lt;P&gt;for (String filemask_tFTPFileList_1 : maskList_tFTPFileList_1) {&lt;BR /&gt;java.util.regex.Pattern fileNamePattern_tFTPFileList_1 = java.util.regex.Pattern&lt;BR /&gt;.compile(filemask_tFTPFileList_1.replaceAll("\\.", "\\\\.")&lt;BR /&gt;.replaceAll("\\*", ".*"));&lt;BR /&gt;for (int i_tFTPFileList_1 = 0; i_tFTPFileList_1 &amp;lt; fileList_tFTPFileList_1.length; i_tFTPFileList_1++) {&lt;BR /&gt;String filemaskTemp_tFTPFileList_1 = fileList_tFTPFileList_1[i_tFTPFileList_1];&lt;BR /&gt;String filemaskTempName_tFTPFileList_1 = &lt;FONT color="#FF0000"&gt;fileListwithNames_tFTPFileList_1[i_tFTPFileList_1];&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;if (fileNamePattern_tFTPFileList_1.matcher(filemaskTempName_tFTPFileList_1)&lt;BR /&gt;.matches()) {&lt;BR /&gt;fileListTemp_tFTPFileList_1.add(filemaskTemp_tFTPFileList_1);&lt;BR /&gt;fileListTempWithNames_tFTPFileList_1&lt;BR /&gt;.add(fileListwithNames_tFTPFileList_1[i_tFTPFileList_1]);&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 15:14:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237015#M25576</guid>
      <dc:creator>mkosater</dc:creator>
      <dc:date>2019-09-10T15:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: tFTPFileList ArrayIndexOutOfBounds exception in 7.2.1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237016#M25577</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Please report the bug t Talend JIRA forum. The link is as shown below.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://jira.talendforge.org/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 03:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237016#M25577</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-25T03:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: tFTPFileList ArrayIndexOutOfBounds exception in 7.2.1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237017#M25578</link>
      <description>&lt;P&gt;Talend Team,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please let us know, if there is any patch available for the bug explained in this thread related to tFTPFileList in v7.2.1?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 10:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237017#M25578</guid>
      <dc:creator>sam2000</dc:creator>
      <dc:date>2020-01-31T10:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: tFTPFileList ArrayIndexOutOfBounds exception in 7.2.1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237018#M25579</link>
      <description>&lt;P&gt;Didn't see JIRA so created ticket:&amp;nbsp;&amp;nbsp;&lt;A href="https://jira.talendforge.org/browse/TDI-43662" target="_blank" rel="456876 noopener nofollow noopener noreferrer"&gt;TDI-43662&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;tFTPFileList ArrayIndexOutOfBounds exception in 7.2.1&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 17:41:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237018#M25579</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-05T17:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: tFTPFileList ArrayIndexOutOfBounds exception in 7.2.1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237019#M25580</link>
      <description>&lt;P&gt;So I had put a ticket in with Talend support since the issue was in their enterprise version. Talend support created bug report and then a patch for the issue. I guess I expected that they would have been pushed back into the TOS repo as well. The relationship between the TOS and the for profit side of things is a bit confusing at times. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 18:43:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237019#M25580</guid>
      <dc:creator>mkosater</dc:creator>
      <dc:date>2020-02-05T18:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: tFTPFileList ArrayIndexOutOfBounds exception in 7.2.1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237020#M25581</link>
      <description>&lt;P&gt;Please attach the job which exists bugs.&lt;/P&gt;
&lt;P&gt;Here is the tutorial&amp;nbsp;&lt;A href="https://help.talend.com/reader/HqPypUO_cLctKv_dAWcgFw/fYXMbAVE56gH~wvSDjnxTw" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/HqPypUO_cLctKv_dAWcgFw/fYXMbAVE56gH~wvSDjnxTw&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 03:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237020#M25581</guid>
      <dc:creator>vyu</dc:creator>
      <dc:date>2020-02-11T03:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: tFTPFileList ArrayIndexOutOfBounds exception in 7.2.1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237021#M25582</link>
      <description>&lt;P&gt;The internal case number was&amp;nbsp;00151288. Patch was &lt;STRONG&gt;Patch_20191015_TPS-3447&lt;/STRONG&gt;.&amp;nbsp; I don't have the test job any longer that reproduces. Here are some notes from the interaction with support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some details:&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;Our internal server is a windows based server. A public server I hit was Linux based, and my test job at the time does not fail. The FTP server is Windows 2016 running ipswitch wsftp server 8.5.2.&lt;/LI&gt;
 &lt;LI&gt;I suspect there MAY be a change in behavior in the ftp library that this component uses, in how it handles dir() (using LIST versus NLIST), but regardless, the component should handle it.&lt;/LI&gt;
 &lt;LI&gt;My test/job uses a file mask (*.*). However the error occurs with or without the mask.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Added notes about the folder I am trying to list:&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;happens o be one level of folder off of the root.&lt;/LI&gt;
 &lt;LI&gt;there multiple folders off of the root.&lt;/LI&gt;
 &lt;LI&gt;number of files in the folder does not change the behavior. &amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;My work around was taking the 6.4 code and creating a custom object and I used that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I put together a new test....&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LxBL"&gt;test_ftpfilelist_export.zip&lt;/A&gt;</description>
      <pubDate>Tue, 11 Feb 2020 20:45:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237021#M25582</guid>
      <dc:creator>mkosater</dc:creator>
      <dc:date>2020-02-11T20:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: tFTPFileList ArrayIndexOutOfBounds exception in 7.2.1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237022#M25583</link>
      <description>&lt;P&gt;Thank for your information. But sorry, I still couldn't find the problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be helpful to have the original job.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 07:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237022#M25583</guid>
      <dc:creator>vyu</dc:creator>
      <dc:date>2020-02-12T07:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: tFTPFileList ArrayIndexOutOfBounds exception in 7.2.1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237023#M25584</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLcDAAW"&gt;@yliu&lt;/A&gt;&amp;nbsp; If you're testing with the patch installed, you won't be able to reproduce the error.&amp;nbsp; The patch is only available to Enterprise Edition users.&amp;nbsp; As I'm using the community edition, the patch is unavailable to me.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 14:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237023#M25584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-12T14:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: tFTPFileList ArrayIndexOutOfBounds exception in 7.2.1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237024#M25585</link>
      <description>&lt;P&gt;That job I attached is the same that was submitted to Enterprise ticket and used for debugging. I want to emphasize that you need to connect to a FTP server that I mentioned above. I ran the job attached against an internal windows server, and was able to reproduce the error.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I think the enterprise engineer who worked the case installed the server mentioned above and was able to reproduce.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 15:34:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237024#M25585</guid>
      <dc:creator>mkosater</dc:creator>
      <dc:date>2020-02-12T15:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: tFTPFileList ArrayIndexOutOfBounds exception in 7.2.1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237025#M25586</link>
      <description>&lt;P&gt;This issue will be fixed in 7.3.1 Release. Please wait for the new version.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 06:51:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFTPFileList-ArrayIndexOutOfBounds-exception-in-7-2-1/m-p/2237025#M25586</guid>
      <dc:creator>vyu</dc:creator>
      <dc:date>2020-02-14T06:51:17Z</dc:date>
    </item>
  </channel>
</rss>

