<?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: Null Pointer exception in tRunJob in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323414#M93262</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; The screen shot doesn't seems to have the details of&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;tDBRow_1 where the error is present. But I could see that the table name value in your components do not have any value.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I would recommend you to use a dummy value or a random table name so that it is not generating any unwanted null pointer error.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2019 17:10:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-05-22T17:10:27Z</dc:date>
    <item>
      <title>Null Pointer exception in tRunJob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323408#M93256</link>
      <description>&lt;P&gt;&lt;FONT size="3"&gt;Hi,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;I created a job in which data is loaded into redshift tables from the files present in S3. This is working fine when I run it individually but when I place it in tRunJob, I am getting the following error:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF0000"&gt;Exception in component tDBRow_1 (EXT_CT_DATE_D)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;java.lang.NullPointerException&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at local_project.ext_ct_date_d_0_1.EXT_CT_DATE_D.tDBRow_1Process(EXT_CT_DATE_D.java:1083)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at local_project.ext_ct_date_d_0_1.EXT_CT_DATE_D.tS3Put_1Process(EXT_CT_DATE_D.java:979)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at local_project.ext_ct_date_d_0_1.EXT_CT_DATE_D.tS3Connection_1Process(EXT_CT_DATE_D.java:640)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at local_project.ext_ct_date_d_0_1.EXT_CT_DATE_D.runJobInTOS(EXT_CT_DATE_D.java:2734)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at local_project.ext_ct_date_d_0_1.EXT_CT_DATE_D.runJob(EXT_CT_DATE_D.java:2538)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at local_project.stage_load_encapsulated_0_1.Stage_Load_Encapsulated.tRunJob_1Process(Stage_Load_Encapsulated.java:574)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at local_project.stage_load_encapsulated_0_1.Stage_Load_Encapsulated.runJobInTOS(Stage_Load_Encapsulated.java:956)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000"&gt;at local_project.stage_load_encapsulated_0_1.Stage_Load_Encapsulated.main(Stage_Load_Encapsulated.java:710)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;Can anyone please help me out.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 10:24:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323408#M93256</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-22T10:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer exception in tRunJob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323409#M93257</link>
      <description>screenshots plz</description>
      <pubDate>Wed, 22 May 2019 11:39:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323409#M93257</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-22T11:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer exception in tRunJob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323410#M93258</link>
      <description>Screenshot would be needed.
&lt;BR /&gt;
&lt;BR /&gt;Also check if your context are passed correctly to child job when you are running using tRunJob.</description>
      <pubDate>Wed, 22 May 2019 13:11:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323410#M93258</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-05-22T13:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer exception in tRunJob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323411#M93259</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Attached the screenshots.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LvMV"&gt;Individual_Job.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LvPV"&gt;tRunJob.png&lt;/A&gt;</description>
      <pubDate>Wed, 22 May 2019 13:30:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323411#M93259</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-22T13:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer exception in tRunJob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323412#M93260</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; The screenshots are unfortunately not having full information as you have not shared the flow of the job where you are making call using tRunJob. Based on existing details, below are my thoughts.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The null pointer issue is happening in&amp;nbsp;&lt;SPAN&gt;tDBRow_1 element. Are you passing any value to this element through any variables? If the answer is yes, the passing of values to this variable is not happening properly when you can calling them from the parent job. The best way to verify it will be by printing all the variables in a tjava to console before calling tDBRow_1.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Please give more screenshots&amp;nbsp;of how you are calling the job, the component screenshot of tDBRow_1 etc. so that we can provide more thoughts.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 15:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323412#M93260</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-22T15:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer exception in tRunJob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323413#M93261</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am not passing any variables.&lt;/P&gt;&lt;P&gt;It is running without any error if done individually. Only when placed in trunJob, it is throwing null pointer exception. Attached the screenshots of components.&lt;/P&gt;&lt;P&gt;Please let me know if you need any further information.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LvaC"&gt;component_Invidiual_Job.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LvcD"&gt;component_Job.png&lt;/A&gt;</description>
      <pubDate>Wed, 22 May 2019 16:27:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323413#M93261</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-22T16:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer exception in tRunJob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323414#M93262</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; The screen shot doesn't seems to have the details of&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;tDBRow_1 where the error is present. But I could see that the table name value in your components do not have any value.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I would recommend you to use a dummy value or a random table name so that it is not generating any unwanted null pointer error.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 17:10:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323414#M93262</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-22T17:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer exception in tRunJob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323415#M93263</link>
      <description>&lt;P&gt;Each DB access (input/output) opens its own connection?&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 17:11:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323415#M93263</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-22T17:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer exception in tRunJob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323416#M93264</link>
      <description>Hi Nikhil,&lt;BR /&gt;Even though I give a random value in table name, I am facing the same error.</description>
      <pubDate>Thu, 23 May 2019 07:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323416#M93264</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-23T07:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer exception in tRunJob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323417#M93265</link>
      <description>No.</description>
      <pubDate>Thu, 23 May 2019 07:05:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323417#M93265</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-23T07:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer exception in tRunJob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323418#M93266</link>
      <description>&lt;P&gt;The problem is that, you are using a connection that is not yet created&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="make sure you first create the connection.PNG" style="width: 790px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4QQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140461i4B28D141DFFD9EA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4QQ.png" alt="0683p000009M4QQ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Use tprejob to be sure you first open the connection before doing any other operation.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 11:24:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-in-tRunJob/m-p/2323418#M93266</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-23T11:24:52Z</dc:date>
    </item>
  </channel>
</rss>

