<?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: Having more than one tFileFetch in your job causes error: &amp;quot;Duplicate local variable: myhttps&amp;quot; in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Having-more-than-one-tFileFetch-in-your-job-causes-error-quot/m-p/2287852#M61397</link>
    <description>Hi,
&lt;BR /&gt;
&lt;BR /&gt;Unless I'm mistaken, you should have the issue only when the tFileFetch are linked with a data row which is not necessary the most logical way to use them.
&lt;BR /&gt;You should'nt have the issue if your tFileFetch are linked with a onComponentOk or onSubjobOk.
&lt;BR /&gt;Regards</description>
    <pubDate>Tue, 09 Jul 2019 17:48:47 GMT</pubDate>
    <dc:creator>lennelei</dc:creator>
    <dc:date>2019-07-09T17:48:47Z</dc:date>
    <item>
      <title>Having more than one tFileFetch in your job causes error: "Duplicate local variable: myhttps"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Having-more-than-one-tFileFetch-in-your-job-causes-error-quot/m-p/2287849#M61394</link>
      <description>&lt;P&gt;It seems the Java code generator does not create the variables with unique names so if you have more than one tFileFetch component you will get an error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;org.apache.commons.httpclient.protocol.Protocol myhttps  = new org.apache.commons.httpclient.protocol.Protocol("https", new SocketFactory_&amp;lt;%=cid%&amp;gt;(), 443);
org.apache.commons.httpclient.protocol.Protocol.registerProtocol("https", myhttps);&lt;/PRE&gt;
&lt;P&gt;If you change myhttps to&amp;nbsp;myhttps_&amp;lt;%=cid%&amp;gt;&amp;nbsp; in&amp;nbsp;tFileFetch_main.javajet and rebuild your project it will fix the error but this is a bug in Talend that should be fixed there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using:&lt;/P&gt;
&lt;P&gt;Talend Cloud Real-Time Big Data Platform&lt;/P&gt;
&lt;P&gt;Version: 7.0.1&lt;BR /&gt;Build id: 20180411_1414&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am also attaching the installation details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance for any help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Having-more-than-one-tFileFetch-in-your-job-causes-error-quot/m-p/2287849#M61394</guid>
      <dc:creator>nfz11</dc:creator>
      <dc:date>2024-11-16T05:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Having more than one tFileFetch in your job causes error: "Duplicate local variable: myhttps"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Having-more-than-one-tFileFetch-in-your-job-causes-error-quot/m-p/2287850#M61395</link>
      <description>&lt;P&gt;Note, I upgraded to 7.1.1 and this did not fix the issue.&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 22:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Having-more-than-one-tFileFetch-in-your-job-causes-error-quot/m-p/2287850#M61395</guid>
      <dc:creator>nfz11</dc:creator>
      <dc:date>2019-05-01T22:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Having more than one tFileFetch in your job causes error: "Duplicate local variable: myhttps"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Having-more-than-one-tFileFetch-in-your-job-causes-error-quot/m-p/2287851#M61396</link>
      <description>&lt;P&gt;A support ticket for this issue has been accepted by Talend development here&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://talendsupport.force.com/CustomerCommunity/5003900002HK77PAAT?btdid=5003900002HK77PAAT" target="_blank" rel="nofollow noopener noreferrer"&gt;https://talendsupport.force.com/CustomerCommunity/5003900002HK77PAAT?btdid=5003900002HK77PAAT&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;A fix for this will be incorporated in the next Talend release so I am marking this topic as solved.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 03:08:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Having-more-than-one-tFileFetch-in-your-job-causes-error-quot/m-p/2287851#M61396</guid>
      <dc:creator>nfz11</dc:creator>
      <dc:date>2019-05-21T03:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Having more than one tFileFetch in your job causes error: "Duplicate local variable: myhttps"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Having-more-than-one-tFileFetch-in-your-job-causes-error-quot/m-p/2287852#M61397</link>
      <description>Hi,
&lt;BR /&gt;
&lt;BR /&gt;Unless I'm mistaken, you should have the issue only when the tFileFetch are linked with a data row which is not necessary the most logical way to use them.
&lt;BR /&gt;You should'nt have the issue if your tFileFetch are linked with a onComponentOk or onSubjobOk.
&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 09 Jul 2019 17:48:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Having-more-than-one-tFileFetch-in-your-job-causes-error-quot/m-p/2287852#M61397</guid>
      <dc:creator>lennelei</dc:creator>
      <dc:date>2019-07-09T17:48:47Z</dc:date>
    </item>
  </channel>
</rss>

