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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Exception in tJavaRow stopping the tFieList iterate

I am using tFileList->Iterate->tFileFDelimited->tJavaRow->tMap->
When I get exception in tJavaRow, i am handing excepion with tLogCatcher and onComponetError
But, when an exception occcurs in tJavaRow, it is stopping the tFileList->iterate
I am attaching the screenshot
How do i prevent the loop to stop?
Labels (3)
2 Replies
Anonymous
Not applicable
Author

Hi
If you want the job continue to process next file even there is an exception, you need to redesign the job as:
father job:
tFileList->Iterate->tRunJob
child job:
tFileFDelimited->tJavaRow->tMap->
on tRunJob: call the child job, uncheck the box 'die on error', pass the current file path to child job using context variable, see https://community.talend.com/t5/Design-and-Development/Passing-context-parameters-in-a-tRunJob/td-p/...
Let us know if you still have any troubles!
Best regards
Shong
Anonymous
Not applicable
Author

Hi Shong
It is working now
Thank you very much
But, I am not able to catch the exception in the child job in the parent
I tried tLogCatcher and onComponentError. it is not working.
How do I catch the exception from tRunJob?
Thank You