<?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 Getting full Exception object. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Getting-full-Exception-object/m-p/2359960#M124641</link>
    <description>&lt;P&gt;Below is my job. I am trying to get the Exception object using tAssertCatcher, but I am not able to do so.&lt;BR /&gt;My tFileOutputDelimited throwing the following error :&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;Exception in component tFileOutputDelimited_1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;java.io.FileNotFoundException: C:\out.csv (Access is denied)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;at java.io.FileOutputStream.open0(Native Method)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;at java.io.FileOutputStream.open(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;at java.io.FileOutputStream.&amp;lt;init&amp;gt;(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;at java.io.FileOutputStream.&amp;lt;init&amp;gt;(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;at first_project.temp_0_1.temp.tRowGenerator_1Process(temp.java:597)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;at first_project.temp_0_1.temp.runJobInTOS(temp.java:1720)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;at first_project.temp_0_1.temp.main(temp.java:1573)&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;I want to get the exception object and take necessary action, but I am getting all the values empty in tAssertCatcher.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;U&gt;The following is my tLogRow :&lt;/U&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;first_project.temp_0_1.temp.main(temp.java:1573)&lt;BR /&gt;.------+---+-------+---+--------+------+------+---------+-----------+---------.&lt;BR /&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tLogRow_1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;BR /&gt;|=-----+---+-------+---+--------+------+------+---------+-----------+--------&lt;BR /&gt;|moment|pid|project|job|language|origin|status|substatus|description|exception|&lt;BR /&gt;|=-----+---+-------+---+--------+------+------+---------+-----------+--------&lt;BR /&gt;'------+---+-------+---+--------+------+------+---------+-----------+---------'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My question is : How can I get the exact Exception object for any component when any exception occurs, so that I can take necessary action based on the exception, also I want to start the job after the action is taken against the exception.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFra.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151129iFAD81F05580F6F9A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFra.png" alt="0683p000009MFra.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 10:19:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T10:19:35Z</dc:date>
    <item>
      <title>Getting full Exception object.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-full-Exception-object/m-p/2359960#M124641</link>
      <description>&lt;P&gt;Below is my job. I am trying to get the Exception object using tAssertCatcher, but I am not able to do so.&lt;BR /&gt;My tFileOutputDelimited throwing the following error :&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;Exception in component tFileOutputDelimited_1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;java.io.FileNotFoundException: C:\out.csv (Access is denied)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;at java.io.FileOutputStream.open0(Native Method)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;at java.io.FileOutputStream.open(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;at java.io.FileOutputStream.&amp;lt;init&amp;gt;(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;at java.io.FileOutputStream.&amp;lt;init&amp;gt;(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;at first_project.temp_0_1.temp.tRowGenerator_1Process(temp.java:597)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;at first_project.temp_0_1.temp.runJobInTOS(temp.java:1720)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;at first_project.temp_0_1.temp.main(temp.java:1573)&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;I want to get the exception object and take necessary action, but I am getting all the values empty in tAssertCatcher.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;U&gt;The following is my tLogRow :&lt;/U&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;first_project.temp_0_1.temp.main(temp.java:1573)&lt;BR /&gt;.------+---+-------+---+--------+------+------+---------+-----------+---------.&lt;BR /&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tLogRow_1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;BR /&gt;|=-----+---+-------+---+--------+------+------+---------+-----------+--------&lt;BR /&gt;|moment|pid|project|job|language|origin|status|substatus|description|exception|&lt;BR /&gt;|=-----+---+-------+---+--------+------+------+---------+-----------+--------&lt;BR /&gt;'------+---+-------+---+--------+------+------+---------+-----------+---------'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My question is : How can I get the exact Exception object for any component when any exception occurs, so that I can take necessary action based on the exception, also I want to start the job after the action is taken against the exception.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFra.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151129iFAD81F05580F6F9A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFra.png" alt="0683p000009MFra.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-full-Exception-object/m-p/2359960#M124641</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Getting full Exception object.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-full-Exception-object/m-p/2359961#M124642</link>
      <description>Hi,&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;The&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;tAssert&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;&amp;nbsp;component works alongside&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;tAssertCatcher&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;&amp;nbsp;to evaluate the status of a Job execution.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;Could you please take a look at the related scenario in component reference:&lt;A href="https://help.talend.com/search/all?query=tAssert" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:tAssert&lt;/A&gt;&amp;nbsp;to re-design your workflow?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 12 Oct 2016 10:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-full-Exception-object/m-p/2359961#M124642</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-12T10:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Getting full Exception object.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-full-Exception-object/m-p/2359962#M124643</link>
      <description>Hi Sabrina, 
&lt;BR /&gt; 
&lt;BR /&gt;Now I have modified my Job and I am getting the exception object. 
&lt;BR /&gt; 
&lt;BR /&gt;In the job below you can see that I have used 
&lt;U&gt;&lt;B&gt;onComponentOk&lt;/B&gt;&lt;/U&gt; 
&lt;U&gt;&amp;nbsp;&lt;/U&gt;&amp;nbsp;which is completely wrong according to me. 
&lt;BR /&gt;Because the component 
&lt;B&gt;tFileOutputDelimited_1 &lt;/B&gt;is not ok, it contains error, So I am not understanding why 
&lt;B&gt;tAssertCatcher&lt;/B&gt; working correctly and giving me the exception object. 
&lt;BR /&gt; 
&lt;BR /&gt;Where as in my original question the behavior was straight forward i.e:. If the 
&lt;B&gt;tFileOutputDelimited&lt;/B&gt; contains error then go to 
&lt;B&gt;tAssertCatcher&lt;/B&gt; and give me the exception object which did not worked as expected but the above job is working fine and giving me the exception object which is exactly what I need. 
&lt;BR /&gt; 
&lt;BR /&gt;My question is : Is this correct ? 
&lt;BR /&gt;According to my understanding it is not. 
&lt;BR /&gt; 
&lt;BR /&gt;If possible please give me &amp;nbsp;explanation to this behavior, as I am not able to understand this.&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;I hope I am clear with my doubt and question. 
&lt;BR /&gt; 
&lt;BR /&gt;Best Regards 
&lt;BR /&gt; 
&lt;BR /&gt;Shivkumar 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFrf.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136638iB6F377CAF3B310FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFrf.png" alt="0683p000009MFrf.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 18 Oct 2016 10:49:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-full-Exception-object/m-p/2359962#M124643</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-18T10:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Getting full Exception object.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-full-Exception-object/m-p/2359963#M124644</link>
      <description>Hi,&lt;BR /&gt;Have you already checked the related scenario in component reference:&lt;A href="https://help.talend.com/search/all?query=tAssert" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:tAssert&lt;/A&gt;?&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana," sans-serif=""&gt;The&amp;nbsp;tAssert&amp;nbsp;component works alongside&amp;nbsp;tAssertCatcher&amp;nbsp;to evaluate the status of a Job execution.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana," sans-serif=""&gt;The work flow should be:trowgenerator--&amp;gt;tfileoutputdelimited--&amp;gt;onsubjobok--&amp;gt;tAssert&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana," sans-serif=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;tAssertCatcher&amp;nbsp;--&amp;gt;tjavarow--&amp;gt;tlogrow&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana," sans-serif=""&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana," sans-serif=""&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 19 Oct 2016 08:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-full-Exception-object/m-p/2359963#M124644</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-19T08:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Getting full Exception object.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-full-Exception-object/m-p/2359964#M124645</link>
      <description>Hi, 
&lt;BR /&gt; 
&lt;BR /&gt;Sorry to trouble you once again. 
&lt;BR /&gt; 
&lt;BR /&gt;I again modified my job.This time I did not made any connection to 
&lt;B&gt;tAssertCatcher &lt;/B&gt;and then I tried to run it. 
&lt;BR /&gt;I found the exception object. I experimented my job with error and with out error. 
&lt;BR /&gt;So according to me I have following conclusions. 
&lt;BR /&gt; 
&lt;BR /&gt;1. The 
&lt;B&gt;tAssertCatcher&lt;/B&gt; does not need any connection and it works at overall job level. 
&lt;BR /&gt;2. When an exception occurs it is triggered automatically and collects info about exception , which you can use , like the 
&lt;B&gt;tStatCatcher &lt;/B&gt;which works at job level. 
&lt;BR /&gt; 
&lt;BR /&gt;Below is my modified job. 
&lt;BR /&gt; 
&lt;BR /&gt;My&amp;nbsp; 
&lt;B&gt;tAssertCatcher &lt;/B&gt;collects data and works only when exception occurs else not. 
&lt;BR /&gt; 
&lt;BR /&gt;If you feel anything inappropriate or incorrect please correct me. 
&lt;BR /&gt; 
&lt;BR /&gt;Thank you for your response and support. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFrk.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158192i6610C65833763E6B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFrk.png" alt="0683p000009MFrk.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 19 Oct 2016 09:50:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-full-Exception-object/m-p/2359964#M124645</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-19T09:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Getting full Exception object.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-full-Exception-object/m-p/2359965#M124646</link>
      <description>Hi,&lt;BR /&gt;You should use tAssert component in your work flow which is used to p&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;rovide the Job status messages to&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;tAssertCatcher&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;In this way, tAssertcatcher can&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;work at overall job level.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;[font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="1"&gt;Note:T&lt;/FONT&gt;[/font]&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;he&amp;nbsp;tAssert&amp;nbsp;component works alongside&amp;nbsp;tAssertCatcher&amp;nbsp;to evaluate the status of a Job execution.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 19 Oct 2016 09:57:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-full-Exception-object/m-p/2359965#M124646</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-19T09:57:32Z</dc:date>
    </item>
  </channel>
</rss>

