<?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 for date field from source in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-for-date-field-from-source/m-p/2300302#M72541</link>
    <description>&lt;P&gt;Can you show us the exact error message you get please? By that I mean, the error reported in the output Window. Something is null when it is being called or being used if you are getting a NullPointerException.&lt;/P&gt;</description>
    <pubDate>Wed, 04 May 2022 23:12:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-05-04T23:12:19Z</dc:date>
    <item>
      <title>Null Pointer exception for date field from source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-for-date-field-from-source/m-p/2300298#M72537</link>
      <description>&lt;P&gt;Hello Friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need your help on clearing an issue, when i tried to implement SCD2 Concept&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my source&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cust_id Cust_ty_id Cust_nm Birth_dt&lt;/P&gt;&lt;P&gt;1          101              John        null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i tried to use tMap to compare the source and Lookup using the variable formula&lt;/P&gt;&lt;P&gt;row3.BIRTH_DT==null ||row2.BIRTH_DT==null?"1":row3.BIRTH_DT.equals(row2.BIRTH_DT)?"0":"1"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im getting the Null pointer exception. Arrached the screenshot of the tMap and Job&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:57:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-for-date-field-from-source/m-p/2300298#M72537</guid>
      <dc:creator>VRadhakrishnan1651487711</dc:creator>
      <dc:date>2024-11-15T22:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer exception for date field from source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-for-date-field-from-source/m-p/2300299#M72538</link>
      <description>&lt;P&gt;It's difficult to see all of your logic in the screenshots, but what is happening is that you are trying to call a method on an object that is null. The first thing that should be done before calling methods on objects is to ensure that the object is not null. I suspect that this is not the logic that is directly causing this, but the column methods that are called on the output of this logic. I see it is either 1 or 0. See if you can check the output data. I'd look at the dates that are being processed with methods as your first port of call.&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 15:24:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-for-date-field-from-source/m-p/2300299#M72538</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-04T15:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer exception for date field from source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-for-date-field-from-source/m-p/2300300#M72539</link>
      <description>&lt;P&gt;Hi rhall&lt;/P&gt;&lt;P&gt;I have used &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(row3.BIRTH_DT==null )? null :&amp;nbsp;&lt;/P&gt;&lt;P&gt;row3.BIRTH_DT.equals(row2.BIRTH_DT)?"0":"1"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if birth_dt is null then insert/update as null else compare and set 1 or 0&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 16:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-for-date-field-from-source/m-p/2300300#M72539</guid>
      <dc:creator>VRadhakrishnan1651487711</dc:creator>
      <dc:date>2022-05-04T16:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer exception for date field from source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-for-date-field-from-source/m-p/2300301#M72540</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000QFy7aAAD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149418i86F8F44DF9387B2F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000QFy7aAAD.png" alt="0695b00000QFy7aAAD.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 16:42:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-for-date-field-from-source/m-p/2300301#M72540</guid>
      <dc:creator>VRadhakrishnan1651487711</dc:creator>
      <dc:date>2022-05-04T16:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer exception for date field from source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-for-date-field-from-source/m-p/2300302#M72541</link>
      <description>&lt;P&gt;Can you show us the exact error message you get please? By that I mean, the error reported in the output Window. Something is null when it is being called or being used if you are getting a NullPointerException.&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 23:12:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-for-date-field-from-source/m-p/2300302#M72541</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-04T23:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer exception for date field from source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-for-date-field-from-source/m-p/2300303#M72542</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000RgApLAAV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131136i34DC683F573AC663/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000RgApLAAV.png" alt="0695b00000RgApLAAV.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 03:44:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-for-date-field-from-source/m-p/2300303#M72542</guid>
      <dc:creator>VRadhakrishnan1651487711</dc:creator>
      <dc:date>2022-05-05T03:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Null Pointer exception for date field from source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-for-date-field-from-source/m-p/2300304#M72543</link>
      <description>&lt;P&gt;@Vinothkumar Radhakrishnan​&amp;nbsp;,the error might come from other expression such as TalendDate.parseDate(String pattern, String  date_string) in the output table of tMap, go to check expression one by one and confirm which expression throws the error. &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, 05 May 2022 06:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Null-Pointer-exception-for-date-field-from-source/m-p/2300304#M72543</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-05T06:58:33Z</dc:date>
    </item>
  </channel>
</rss>

