tFTP_Get - Duplicate nested type MyProgressMonitor

Four Stars

tFTP_Get - Duplicate nested type MyProgressMonitor

I have a chain of "FTPConnection -> FTPFileList -> FTPGet", that is shown in the TOS Components manual. But for some reason I am getting an error at FTP_Get saying:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Duplicate nested type MyProgressMonitor
I have all the settings inputted correctly just like the manual shows. Why am I getting this error? If I use FTPGet alone, it works fine, but if I do it this way I get the above error.
Any help will be greatly appreciated.
Community Manager

Re: tFTP_Get - Duplicate nested type MyProgressMonitor

Hello
Exception in thread "main" java.lang.Error: Unresolved compilation problem:

There is a comilation error in generated code, go to 'code' tab, you will see which line have a red point on the right side. Try to correct it, if you still have trouble, please upload some screenshots of your job.
Best regards
shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
Four Stars

Re: tFTP_Get - Duplicate nested type MyProgressMonitor

I tried to correct it, it seemed that it tried to instantiate two MyProgressMonitor's, I renamed one of them (the code suggested it) but I still got the error. I will try it again, if not I will upload screenshots.
Do you want shots of the job, or the code?
Thanks!
Four Stars

Re: tFTP_Get - Duplicate nested type MyProgressMonitor

Hello,
I think it's a bug in the tFTPGet component when you have a SFTP connection.
Can you open an issue on the bugtracker and attach your job?
Regards,
SeB
Four Stars

Re: tFTP_Get - Duplicate nested type MyProgressMonitor

Its not letting me login into the BugTracker for some reason.
Can you add it for me please?
Community Manager

Re: tFTP_Get - Duplicate nested type MyProgressMonitor

Hello jkrfs
Which version of TOS/TIS do you use? Can you export your job and send it to me via email?
Best regards
shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
Four Stars

Re: tFTP_Get - Duplicate nested type MyProgressMonitor

Shong,
I am currently using TOS 3.2.2.r3300000
unfortunately, I cannot export the the job "as-is" because of the ftp information. its really easy to recreate, its the above chain using SFTP.
Community Manager

Re: tFTP_Get - Duplicate nested type MyProgressMonitor

Hello
I have a chain of "FTPConnection -> FTPFileList -> FTPGet"

If you only just get the ftp files, you don't need the tFTPFileList component, it will define the duplicate vars in the generated code, tFtpConnection--tFtpGet is enough. Of course, it is a bug, please report it on our bugtracker.
Best regards
shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: tFTP_Get - Duplicate nested type MyProgressMonitor

Is this going to be fixed soon? I still see this bug in TOS 4.0.0.M3_r37054.