Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
org.apache.commons.httpclient.protocol.Protocol myhttps = new org.apache.commons.httpclient.protocol.Protocol("https", new SocketFactory_<%=cid%>(), 443); org.apache.commons.httpclient.protocol.Protocol.registerProtocol("https", myhttps);
If you change myhttps to myhttps_<%=cid%> in tFileFetch_main.javajet and rebuild your project it will fix the error but this is a bug in Talend that should be fixed there.
I am using:
Talend Cloud Real-Time Big Data Platform
Version: 7.0.1
Build id: 20180411_1414
I am also attaching the installation details.
Thanks in advance for any help.
A support ticket for this issue has been accepted by Talend development here
https://talendsupport.force.com/CustomerCommunity/5003900002HK77PAAT?btdid=5003900002HK77PAAT
A fix for this will be incorporated in the next Talend release so I am marking this topic as solved.
Note, I upgraded to 7.1.1 and this did not fix the issue.
A support ticket for this issue has been accepted by Talend development here
https://talendsupport.force.com/CustomerCommunity/5003900002HK77PAAT?btdid=5003900002HK77PAAT
A fix for this will be incorporated in the next Talend release so I am marking this topic as solved.