<?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 while passing variable from Main job to Joblet in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-while-passing-variable-from-Main-job-to/m-p/2349950#M116863</link>
    <description>&lt;P&gt;@Shicong Hong​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used different method and issue is solved now.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Mar 2023 02:33:19 GMT</pubDate>
    <dc:creator>BA621858188</dc:creator>
    <dc:date>2023-03-10T02:33:19Z</dc:date>
    <item>
      <title>Null pointer exception while passing variable from Main job to Joblet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-while-passing-variable-from-Main-job-to/m-p/2349946#M116859</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing an issue while passing the main job variable to Joblet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joblet design -&lt;/P&gt;&lt;P&gt;tprejob --&amp;gt; tdbconnection&lt;/P&gt;&lt;P&gt;Input (taking from the main job) ---&amp;gt; tjava (to store the input in context) ---&amp;gt; tdbrow (calling procedure) ---&amp;gt; (obsubjobok) ---&amp;gt; Triggeroutput&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Main job design -&lt;/P&gt;&lt;P&gt;Fixedflowinput(which is having variable that will pass as Input to Joblet) ---&amp;gt; calling above joblet---&amp;gt; onsubjobok ---&amp;gt; tjava(to print msg)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue-&lt;/P&gt;&lt;P&gt;I am creating one variable name and "abc" as value, in tfixedflowinput of main job and that I need to pass in Store procedure in joblet but am facing an error as "Null pointer exception". It is not able to pass that variable to joblet.&lt;/P&gt;&lt;P&gt;Can anyone help me on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using variable in joblet as below:&lt;/P&gt;&lt;P&gt;context.name=input_row.name;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone help me on this?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 04:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-while-passing-variable-from-Main-job-to/m-p/2349946#M116859</guid>
      <dc:creator>BA621858188</dc:creator>
      <dc:date>2023-03-09T04:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer exception while passing variable from Main job to Joblet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-while-passing-variable-from-Main-job-to/m-p/2349947#M116860</link>
      <description>&lt;P&gt;using tJavaRow replace of tJava in joblet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 07:49:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-while-passing-variable-from-Main-job-to/m-p/2349947#M116860</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-09T07:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer exception while passing variable from Main job to Joblet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-while-passing-variable-from-Main-job-to/m-p/2349948#M116861</link>
      <description>&lt;P&gt;@Shicong Hong​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using tjavarow only in my joblet. it was typo by mistake.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 09:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-while-passing-variable-from-Main-job-to/m-p/2349948#M116861</guid>
      <dc:creator>BA621858188</dc:creator>
      <dc:date>2023-03-09T09:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer exception while passing variable from Main job to Joblet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-while-passing-variable-from-Main-job-to/m-p/2349949#M116862</link>
      <description>&lt;P&gt;I am not able to reproduce the issue. You need to do more testing or debug the java code of Job to find out where the NPE was thrown, for example, print the value of context variable on tJavaRow, if you have the expected value, means the value was passed correctly from main job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://context.name/" alt="https://context.name/" target="_blank"&gt;context.name&lt;/A&gt;=input_row.name;&lt;/P&gt;&lt;P&gt;System.out.println(context.name);&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 02:19:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-while-passing-variable-from-Main-job-to/m-p/2349949#M116862</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-10T02:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer exception while passing variable from Main job to Joblet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-while-passing-variable-from-Main-job-to/m-p/2349950#M116863</link>
      <description>&lt;P&gt;@Shicong Hong​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used different method and issue is solved now.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 02:33:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-exception-while-passing-variable-from-Main-job-to/m-p/2349950#M116863</guid>
      <dc:creator>BA621858188</dc:creator>
      <dc:date>2023-03-10T02:33:19Z</dc:date>
    </item>
  </channel>
</rss>

