Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
jkrfs
Creator
Creator

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.
Labels (3)
8 Replies
Anonymous
Not applicable

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
jkrfs
Creator
Creator
Author

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!
Anonymous
Not applicable

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
jkrfs
Creator
Creator
Author

Its not letting me login into the BugTracker for some reason.
Can you add it for me please?
Anonymous
Not applicable

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
jkrfs
Creator
Creator
Author

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.
Anonymous
Not applicable

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
Anonymous
Not applicable

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