<?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 error in tmap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343969#M111673</link>
    <description>&lt;P&gt;Hi Nikhil,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have handled this in variable still getting the same error. I also tried your expression but no luck still the issue remains same.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;row78.newColumn5==null?null&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;tringHandling.LEFT(row78.newColumn5, 3)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;Gourav&lt;/P&gt;</description>
    <pubDate>Thu, 30 May 2019 14:54:55 GMT</pubDate>
    <dc:creator>gouravd_7</dc:creator>
    <dc:date>2019-05-30T14:54:55Z</dc:date>
    <item>
      <title>Null pointer error in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343967#M111671</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Getting error in tmap , i have applied all columns as nullable but have lookups with another tmap.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the attached screenshot of the tmap and the sub job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gourav&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:42:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343967#M111671</guid>
      <dc:creator>gouravd_7</dc:creator>
      <dc:date>2024-11-16T05:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer error in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343968#M111672</link>
      <description>&lt;P&gt;Hi Gourav,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The issue is happening at tMap42 which means that Null pointer exception is coming from function. There are two functions here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;a) the left function at Var section&lt;/P&gt;
&lt;P&gt;b) the output filter based on equal condition.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To avoid this issue, please add a Null check at the beginning. If the value is null, do not pass the data to the functions. For example,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;!Relational.ISNULL(Var.var1) &amp;amp;&amp;amp; ("SEG").equals.Var.var1&lt;/PRE&gt;
&lt;P&gt;The Null check should be the first function for all verifications in your tMap operation if there is any chance of having null value in input data.&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>Thu, 30 May 2019 14:23:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343968#M111672</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-30T14:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer error in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343969#M111673</link>
      <description>&lt;P&gt;Hi Nikhil,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have handled this in variable still getting the same error. I also tried your expression but no luck still the issue remains same.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;row78.newColumn5==null?null&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;tringHandling.LEFT(row78.newColumn5, 3)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;Gourav&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 14:54:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343969#M111673</guid>
      <dc:creator>gouravd_7</dc:creator>
      <dc:date>2019-05-30T14:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer error in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343970#M111674</link>
      <description>&lt;P&gt;Hi Gourav,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The rule number 1 is that you cannot equate null value to another null. You will have to do it by following way.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;Relational.ISNULL(row78.newColumn5)?null:StringHandling.LEFT(row78.newColumn5, 3)&lt;/PRE&gt; 
&lt;P&gt;I hope this will resolve your issue. Please spare a second to mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Kudos will be a bonus!&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>Thu, 30 May 2019 15:17:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343970#M111674</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-30T15:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer error in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343971#M111675</link>
      <description>&lt;P&gt;Hi Nikhil,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tried the above expression too but the error remains same.&lt;/P&gt;
&lt;P&gt;Error:&lt;/P&gt;
&lt;P&gt;Exception in component tMap_43 (MAGNITUDE_SCRIPT_INDUSINT)&lt;BR /&gt;java.lang.Exception: java.lang.NullPointerException&lt;BR /&gt;at group_directory.magnitude_script_indusint_0_1.MAGNITUDE_SCRIPT_INDUSINT.tLDAPInput_16Process(MAGNITUDE_SCRIPT_INDUSINT.java:5275)&lt;BR /&gt;at group_directory.magnitude_script_indusint_0_1.MAGNITUDE_SCRIPT_INDUSINT.runJobInTOS(MAGNITUDE_SCRIPT_INDUSINT.java:6433)&lt;BR /&gt;at group_directory.magnitude_script_indusint_0_1.MAGNITUDE_SCRIPT_INDUSINT.main(MAGNITUDE_SCRIPT_INDUSINT.java:6059)&lt;BR /&gt;Caused by: java.lang.NullPointerException&lt;BR /&gt;at group_directory.magnitude_script_indusint_0_1.MAGNITUDE_SCRIPT_INDUSINT.tLDAPInput_16Process(MAGNITUDE_SCRIPT_INDUSINT.java:5041)&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 15:27:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343971#M111675</guid>
      <dc:creator>gouravd_7</dc:creator>
      <dc:date>2019-05-30T15:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer error in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343972#M111676</link>
      <description>&lt;P&gt;Hi Gourav,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Please remove the tMap and put a tLogrow to verify various null value components. Add the Null check function wherever needed. Its clearly says the error is Null value issue and the issue is at tMap component.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;So put a tLogrow before and after this component for verification. Also add few columns at a time to track the problematic column. There are no easy solutions other than data verification in this case.&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>Thu, 30 May 2019 15:43:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343972#M111676</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-30T15:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer error in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343973#M111677</link>
      <description>&lt;P&gt;Hi&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;From the screenshots the error may come in two cases from your job.&lt;/P&gt; 
&lt;P&gt;1. the variable var1&lt;/P&gt; 
&lt;P&gt;2. You are concatenating required columns and passing it to the output column DN. Did you verify is there any of the column is getting is null?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For point no 1:&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&amp;nbsp;provided the exact check condition to you.&lt;/P&gt; 
&lt;P&gt;For point no 2: Please check the columns that you are concatenating and apply null handling to those columns as well.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 16:05:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343973#M111677</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-30T16:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer error in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343974#M111678</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOvBAAW"&gt;@gouravd_7&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Are you still facing the issue or whether the details helped you to locate the problem area?&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>Fri, 31 May 2019 21:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343974#M111678</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-31T21:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer error in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343975#M111679</link>
      <description>&lt;P&gt;Hi Nikhil,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am still facing the issue as the job has 8 subjobs with multiple lookups in one Sub job seems there is lot of tmap issues which don't exactly pointing to the tmap instead its point to the Input just before the lookup.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;As all errors are of null pointer and the person who designed the job has not handled it properly everywhere so , I am handling it now.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I will post the solution once done with the same.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for the follow up.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;Gourav&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 10:26:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343975#M111679</guid>
      <dc:creator>gouravd_7</dc:creator>
      <dc:date>2019-06-03T10:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer error in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343976#M111680</link>
      <description>hi
&lt;BR /&gt;just give try like this
&lt;BR /&gt;row78.newColumn5!=null?stringHandling.LEFT(row78.newColumn5, 3):null</description>
      <pubDate>Mon, 03 Jun 2019 12:09:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343976#M111680</guid>
      <dc:creator>bhagyarekha</dc:creator>
      <dc:date>2019-06-03T12:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer error in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343977#M111681</link>
      <description>&lt;P&gt;Ok&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOvBAAW"&gt;@gouravd_7&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Its a quite common mistake happens in Talend jobs. Good that you are verifying the entire data flow for null validations.&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>Mon, 03 Jun 2019 18:23:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343977#M111681</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-03T18:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer error in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343978#M111682</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;After applying so many changes in tmap still was not able to fix the issue and since I was doing an inner join , I switched the main and lookup which surprisingly solved the issue.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;As it was an inner join nothing much affected and the job runs finally &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks everyone who helped me to fixing the issue but tmap works really weird at times sounds funny that after switching the main and lookup issue resolved.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;Gourav&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 10:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-pointer-error-in-tmap/m-p/2343978#M111682</guid>
      <dc:creator>gouravd_7</dc:creator>
      <dc:date>2019-06-10T10:39:15Z</dc:date>
    </item>
  </channel>
</rss>

