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?
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
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