<?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: Getting Null Pointer Exception in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Getting-Null-Pointer-Exception/m-p/2279392#M54573</link>
    <description>&lt;P&gt;Hi Manhor,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;As I already mentioned when my query runs I am able to get some location details. Using tFileCopy I am copying some files into one location and then trying to send the files present in that location. When I am running the job till file copy it is working fine however, after that it is throwing null pointer exception in toracleinput (query) component. What I feel while executing onSubJobOk it is failing. Please suggest is it the correct way to design the job.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaK4.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144415iC55F8E4CEADD6346/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaK4.jpg" alt="0683p000009MaK4.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Also please suggest if there are no records fetched tDie component would work. I have put a condition&amp;nbsp;(Integer)globalMap.get("tOracleInput _1_ NB_LINE") == 0&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please suggest&lt;/P&gt;</description>
    <pubDate>Thu, 28 May 2020 06:39:41 GMT</pubDate>
    <dc:creator>sbhadra</dc:creator>
    <dc:date>2020-05-28T06:39:41Z</dc:date>
    <item>
      <title>Getting Null Pointer Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-Null-Pointer-Exception/m-p/2279389#M54570</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am trying to copy some files which are present in different paths to one directory and then attach that directory and send an email.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaJ6.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134912i4EC10E82ECC67DDC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaJ6.jpg" alt="0683p000009MaJ6.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;The files are getting copied to intended location however after that it is throwing an null pointer exception in the toracleinput component. I have put an iterator to ensure that all the files locations are being iterated and all the files are being copied.&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;Please suggest if any changes needs to be done in the design if I want to copy some multiple files from different location where location values are being fetched from the database and then attach all the files into email.&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;Also, if there are no rows fetched in the query no email should be sent. I have attached a tDie component over there with a condition&amp;nbsp;(Integer)globalMap.get("tOracleInput _1_ NB_LINE") == 0. Will that be fine enough.&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;Please have a loo and suggest&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:18:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-Null-Pointer-Exception/m-p/2279389#M54570</guid>
      <dc:creator>sbhadra</dc:creator>
      <dc:date>2024-11-16T02:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Null Pointer Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-Null-Pointer-Exception/m-p/2279390#M54571</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion will be really appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 05:44:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-Null-Pointer-Exception/m-p/2279390#M54571</guid>
      <dc:creator>sbhadra</dc:creator>
      <dc:date>2020-05-28T05:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Null Pointer Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-Null-Pointer-Exception/m-p/2279391#M54572</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPI7AAO"&gt;@sbhadra&lt;/A&gt;, can you your job design? show the error where are you getting?&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 05:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-Null-Pointer-Exception/m-p/2279391#M54572</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-28T05:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Null Pointer Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-Null-Pointer-Exception/m-p/2279392#M54573</link>
      <description>&lt;P&gt;Hi Manhor,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;As I already mentioned when my query runs I am able to get some location details. Using tFileCopy I am copying some files into one location and then trying to send the files present in that location. When I am running the job till file copy it is working fine however, after that it is throwing null pointer exception in toracleinput (query) component. What I feel while executing onSubJobOk it is failing. Please suggest is it the correct way to design the job.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaK4.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144415iC55F8E4CEADD6346/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaK4.jpg" alt="0683p000009MaK4.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Also please suggest if there are no records fetched tDie component would work. I have put a condition&amp;nbsp;(Integer)globalMap.get("tOracleInput _1_ NB_LINE") == 0&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please suggest&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 06:39:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-Null-Pointer-Exception/m-p/2279392#M54573</guid>
      <dc:creator>sbhadra</dc:creator>
      <dc:date>2020-05-28T06:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Null Pointer Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-Null-Pointer-Exception/m-p/2279393#M54574</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPI7AAO"&gt;@sbhadra&lt;/A&gt;&amp;nbsp;, take runif from tfilecopy and connect to email body component and give ru if condition like&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;(Integer)globalMap.get("tOracleInput _1_ NB_LINE") &amp;gt; 0&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 07:19:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-Null-Pointer-Exception/m-p/2279393#M54574</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-28T07:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Null Pointer Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-Null-Pointer-Exception/m-p/2279394#M54575</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPI7AAO"&gt;@sbhadra&lt;/A&gt;&amp;nbsp;, I belive you were getting&amp;nbsp;&lt;SPAN&gt;Null Pointer Exception in tSetglobvar because when there is no data.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 07:23:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-Null-Pointer-Exception/m-p/2279394#M54575</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-28T07:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Null Pointer Exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-Null-Pointer-Exception/m-p/2279395#M54576</link>
      <description>&lt;P&gt;Hi Manohar,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't have a single file which needs to be sent through email. There are multiple files hence, when all the files are getting copied I am trying to send the email. However, after all the files are copied I am getting a null pointer exception.&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 07:44:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-Null-Pointer-Exception/m-p/2279395#M54576</guid>
      <dc:creator>sbhadra</dc:creator>
      <dc:date>2020-05-28T07:44:50Z</dc:date>
    </item>
  </channel>
</rss>

