<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I handle an exception in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301895#M73937</link>
    <description>Hi, Thanks for the response.
&lt;BR /&gt;No I cannot open the corrupted file with MS excel, It comes with a bunch of other files with same file mask and it is stopping to process the other input files available in the folder.
&lt;BR /&gt;I want to catch an exception where it just populate a message saying that "corrupted file ignored" , so that I dont get a big red error message and non process of data at all.
&lt;BR /&gt;
&lt;BR /&gt;Let me know if you need any more info or screenshot.</description>
    <pubDate>Wed, 10 Jan 2018 08:23:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-10T08:23:05Z</dc:date>
    <item>
      <title>How do I handle an exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301893#M73935</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am facing below error in tfileinputexcel component :&lt;/P&gt;
&lt;P&gt;Exception in component tFileInputExcel_1&lt;BR /&gt;java.lang.ArrayIndexOutOfBoundsException: 1120256&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this is because I have a corrupted file in input , but I want my job to run with non-corrupted file and handle this exception. Could you please help.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 07:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301893#M73935</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-10T07:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I handle an exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301894#M73936</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Can you open your corrupted file with MS Excel? Are you able to create 'File Excel' in metadata wizard?&lt;/P&gt;
&lt;P&gt;Here is online document about:&lt;A title="TalendHelpCenter:Centralizing File Excel metadata" href="https://help.talend.com/reader/I5~nujSNXadpT4WYWRHrjw/oi6_2V43ux9EkP02E9thYw" target="_self" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:Centralizing File Excel metadata&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 08:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301894#M73936</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-10T08:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I handle an exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301895#M73937</link>
      <description>Hi, Thanks for the response.
&lt;BR /&gt;No I cannot open the corrupted file with MS excel, It comes with a bunch of other files with same file mask and it is stopping to process the other input files available in the folder.
&lt;BR /&gt;I want to catch an exception where it just populate a message saying that "corrupted file ignored" , so that I dont get a big red error message and non process of data at all.
&lt;BR /&gt;
&lt;BR /&gt;Let me know if you need any more info or screenshot.</description>
      <pubDate>Wed, 10 Jan 2018 08:23:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301895#M73937</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-10T08:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I handle an exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301896#M73938</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P class="shortdesc"&gt;Are you trying to retrieve a set of files or folders based on&amp;nbsp; a filemask pattern and iterates on each unity?&lt;/P&gt;
&lt;P class="shortdesc"&gt;What does your current job design look like?&lt;/P&gt;
&lt;P class="shortdesc"&gt;Best regards&lt;/P&gt;
&lt;P class="shortdesc"&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 08:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301896#M73938</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-10T08:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do I handle an exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301897#M73939</link>
      <description>&lt;P&gt;Hi Sabrina,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Let me explain you more on this :&lt;/P&gt; 
&lt;P&gt;I am working on exception handling scenarios , where i have 5 input files in a folder, and one of them is corrupted and the job is throwing below error&amp;nbsp;&amp;nbsp;:&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Exception in component tFileInputExcel_1&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;java.lang.ArrayIndexOutOfBoundsException: 1120256&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;at jxl.read.biff.Record.&amp;lt;init&amp;gt;(Record.java:79)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;at jxl.read.biff.File.next(File.java:181)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;at jxl.read.biff.SheetImpl.&amp;lt;init&amp;gt;(SheetImpl.java:300)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;at jxl.read.biff.WorkbookParser.parse(WorkbookParser.java:803)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;at jxl.Workbook.getWorkbook(Workbook.java:271)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;at test job&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;This is affecting the job while processing other non-corrupted files.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What I want to achieve is :&lt;/P&gt; 
&lt;P&gt;Catch the exception and process the job with non-corrupted files.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The similar scenario can be as per below :&lt;/P&gt; 
&lt;P&gt;For example : I have total 5 input files&amp;nbsp;, but one of them has a different sheet name. So It will throw "Special sheet does not exists error",&lt;/P&gt; 
&lt;P&gt;But I still want to process the job with the files which have correct sheet names in them.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I hope now Im able to explain better. Job flow is :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tfilelist---iterate--&amp;gt; iFileinputexcel---main--&amp;gt;tlogrow&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I even tried with on component error trigger on tDie , but its not working somehow.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Could you please help in this.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 09:05:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301897#M73939</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-10T09:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I handle an exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301898#M73940</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Make sure you have cleared 'Die on error' option on tfileinputexcel component to skip the row on error and complete the process for error-free rows.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;
&lt;DIV id="tFileInputExcel" class="nested0"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 10 Jan 2018 09:30:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301898#M73940</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-10T09:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I handle an exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301899#M73941</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I already did that and its still not working, I have attached screen shot now.&lt;BR /&gt;Regards,&lt;BR /&gt;Neha&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrhO"&gt;Capturedie.PNG&lt;/A&gt;</description>
      <pubDate>Wed, 10 Jan 2018 09:37:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301899#M73941</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-10T09:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I handle an exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301900#M73942</link>
      <description>&lt;P&gt;Can someone please help in this requirement.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 09:49:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301900#M73942</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-10T09:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I handle an exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301901#M73943</link>
      <description>Hi 
&lt;BR /&gt;You need to redesign the job as below: 
&lt;BR /&gt;main job: 
&lt;BR /&gt;tFileList--iterate--tRunjob 
&lt;BR /&gt; 
&lt;BR /&gt;on tRunJob: pass the current file path to child job, see 
&lt;BR /&gt; 
&lt;A href="https://community.qlik.com/s/article/ka03p0000006EaIAAU" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/Passing-a-value-from-a-parent-Job-to-a-child-Job/ta-p/21695&lt;/A&gt; 
&lt;BR /&gt;and uncheck the 'die on error' option. 
&lt;BR /&gt; 
&lt;BR /&gt;child job: 
&lt;BR /&gt;tfileinputXML--main--tlogrow 
&lt;BR /&gt; 
&lt;BR /&gt;The main job will continue to iterate next file even though the child job has an error. 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 10 Jan 2018 10:12:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301901#M73943</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-10T10:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I handle an exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301902#M73944</link>
      <description>&lt;P&gt;Thank you for the response Shong.&lt;/P&gt;
&lt;P&gt;Further to add in this, what if I want to catch this exception (Print a message in the log so I can know the exception)that one file is corrupted or Sheet does not exists.&lt;/P&gt;
&lt;P&gt;and exit the job with code 1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any solution for that please.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neha&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 10:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301902#M73944</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-10T10:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I handle an exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301903#M73945</link>
      <description>The exception is thrown in child job, so you can use a tLogCatcher in the child job to capture the exception error and log them to a file or db. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jan 2018 11:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-handle-an-exception/m-p/2301903#M73945</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-10T11:01:36Z</dc:date>
    </item>
  </channel>
</rss>

