<?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 in dateparser (tmap) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/null-in-dateparser-tmap/m-p/2482223#M141285</link>
    <description>&lt;P&gt;thanks this helped me.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Sep 2024 10:00:28 GMT</pubDate>
    <dc:creator>ashokpokhriyal</dc:creator>
    <dc:date>2024-09-18T10:00:28Z</dc:date>
    <item>
      <title>null in dateparser (tmap)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/null-in-dateparser-tmap/m-p/2195541#M102</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;i want to convert from string with this value "yyyy-MM-dd' 'HH:mm:ss" to date&amp;nbsp;"yyyy-MM-dd' 'HH:mm:ss". but i have this error:&lt;/P&gt; 
&lt;PRE&gt;java.lang.NullPointerException
	at routines.system.FastDateParser$DateParser.parse(FastDateParser.java:127)
	at java.text.DateFormat.parse(Unknown Source)
	at routines.TalendDate.parseDate(TalendDate.java:928)
	at routines.TalendDate.parseDate(TalendDate.java:886)
	at ffh.ods_collecte_preparation_licence_info_1_0_1.ODS_Collecte_Preparation_licence_info_1.tDBInput_1Process(ODS_Collecte_Preparation_licence_info_1.java:4563)
	at ffh.ods_collecte_preparation_licence_info_1_0_1.ODS_Collecte_Preparation_licence_info_1.runJobInTOS(ODS_Collecte_Preparation_licence_info_1.java:7607)
	at ffh.ods_collecte_preparation_licence_info_1_0_1.ODS_Collecte_Preparation_licence_info_1.main(ODS_Collecte_Preparation_licence_info_1.java:7282)
Exception in component tMap_2 (ODS_Collecte_Preparation_licence_info_1)
java.lang.RuntimeException: java.text.ParseException: Unparseable date: "null"
	at routines.TalendDate.parseDate(TalendDate.java:942)
	at routines.TalendDate.parseDate(TalendDate.java:886)
	at ffh.ods_collecte_preparation_licence_info_1_0_1.ODS_Collecte_Preparation_licence_info_1.tDBInput_1Process(ODS_Collecte_Preparation_licence_info_1.java:4563)
	at ffh.ods_collecte_preparation_licence_info_1_0_1.ODS_Collecte_Preparation_licence_info_1.runJobInTOS(ODS_Collecte_Preparation_licence_info_1.java:7607)
	at ffh.ods_collecte_preparation_licence_info_1_0_1.ODS_Collecte_Preparation_licence_info_1.main(ODS_Collecte_Preparation_licence_info_1.java:7282)
Caused by: java.text.ParseException: Unparseable date: "null"
	at java.text.DateFormat.parse(Unknown Source)
	at routines.TalendDate.parseDate(TalendDate.java:928)
	... 4 more&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;do you have a picture with my tmap&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7Ij.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138685iBD0D34A2988DEA5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7Ij.png" alt="0683p000009M7Ij.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;best regards&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:58:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/null-in-dateparser-tmap/m-p/2195541#M102</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: null in dateparser (tmap)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/null-in-dateparser-tmap/m-p/2195542#M103</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;Could you please remove the single quotes and parse the date?&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6wv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143588iE7FACC2E8C1F1F42/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6wv.png" alt="0683p000009M6wv.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;Relational.ISNULL(row2.data)? null:
TalendDate.parseDate("yyyy-MM-dd HH:mm:ss",row2.data) &lt;/PRE&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;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 23:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/null-in-dateparser-tmap/m-p/2195542#M103</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-15T23:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: null in dateparser (tmap)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/null-in-dateparser-tmap/m-p/2482223#M141285</link>
      <description>&lt;P&gt;thanks this helped me.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 10:00:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/null-in-dateparser-tmap/m-p/2482223#M141285</guid>
      <dc:creator>ashokpokhriyal</dc:creator>
      <dc:date>2024-09-18T10:00:28Z</dc:date>
    </item>
  </channel>
</rss>

