<?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: [resolved] tmap-How do i check null pointer exception in DATE data type in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-How-do-i-check-null-pointer-exception-in-DATE-data/m-p/2352539#M118916</link>
    <description>Null pointer exceptions can be real pain to identify. If you can share following details, it may be easier to answer your qyery: 
&lt;BR /&gt;1. How much complex is your tMap? Can you share a screenshot of the logic? 
&lt;BR /&gt;2. Try to take disconnect all inputs from tMap and attach them to tLogRow to see if any of the input column is coming as null where it should not be.&amp;nbsp; 
&lt;BR /&gt;4. Use the debug mode to run your program(in case you are not processing lot of data). Debug mode will stop when it encounters the error.&amp;nbsp; 
&lt;BR /&gt;3. Try to define all columns as nullable and see if error is still there. If error is no longer there then try to change the columns back to not nullable till you get the error.</description>
    <pubDate>Tue, 04 Oct 2016 05:33:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-10-04T05:33:51Z</dc:date>
    <item>
      <title>[resolved] tmap-How do i check null pointer exception in DATE data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-How-do-i-check-null-pointer-exception-in-DATE-data/m-p/2352538#M118915</link>
      <description>&lt;P&gt;We are getting information while sending info from source to target system.&lt;/P&gt;
&lt;PRE&gt;Exception in component tMap_1&lt;BR /&gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp;java.lang.NullPointerException&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at bigdata.copy_of_readsysproandsendmail_0_1.Copy_of_ReadSysproAndSendMail.tJDBCInput_2Process(Copy_of_ReadSysproAndSendMail.java:1937)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at bigdata.copy_of_readsysproandsendmail_0_1.Copy_of_ReadSysproAndSendMail.runJobInTOS(Copy_of_ReadSysproAndSendMail.java:5086)&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at bigdata.copy_of_readsysproandsendmail_0_1.Copy_of_ReadSysproAndSendMail.main(Copy_of_ReadSysproAndSendMail.java:4885)&lt;BR /&gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at bigdata.copy_of_readsysproandsendmail_0_1.Copy_of_ReadSysproAndSendMail.tJDBCInput_2Process(Copy_of_ReadSysproAndSendMail.java:2098)&lt;BR /&gt; &amp;nbsp; &amp;nbsp;at bigdata.copy_of_readsysproandsendmail_0_1.Copy_of_ReadSysproAndSendMail.runJobInTOS(Copy_of_ReadSysproAndSendMail.java:5355)&lt;BR /&gt; &amp;nbsp; &amp;nbsp;at bigdata.copy_of_readsysproandsendmail_0_1.Copy_of_ReadSysproAndSendMail.main(Copy_of_ReadSysproAndSendMail.java:5154)&lt;BR /&gt;Job Copy_of_ReadSysproAndSendMail ended at 23:16 03/10/2016. [exit code=0]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Input :&lt;/STRONG&gt; &amp;nbsp;Date data type is responsible for null values.&lt;BR /&gt;DNDB date type(source) ----&amp;gt;row1.DNDB(output) is Date data type. both are nullable.&lt;BR /&gt;&lt;STRONG&gt;We tried :&lt;/STRONG&gt;But did not work for us.&lt;BR /&gt;To avoid null&lt;BR /&gt;row1.DNDB==null?"null":row1.DNDB&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:20:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-How-do-i-check-null-pointer-exception-in-DATE-data/m-p/2352538#M118915</guid>
      <dc:creator>gt0731</dc:creator>
      <dc:date>2024-11-16T10:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap-How do i check null pointer exception in DATE data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-How-do-i-check-null-pointer-exception-in-DATE-data/m-p/2352539#M118916</link>
      <description>Null pointer exceptions can be real pain to identify. If you can share following details, it may be easier to answer your qyery: 
&lt;BR /&gt;1. How much complex is your tMap? Can you share a screenshot of the logic? 
&lt;BR /&gt;2. Try to take disconnect all inputs from tMap and attach them to tLogRow to see if any of the input column is coming as null where it should not be.&amp;nbsp; 
&lt;BR /&gt;4. Use the debug mode to run your program(in case you are not processing lot of data). Debug mode will stop when it encounters the error.&amp;nbsp; 
&lt;BR /&gt;3. Try to define all columns as nullable and see if error is still there. If error is no longer there then try to change the columns back to not nullable till you get the error.</description>
      <pubDate>Tue, 04 Oct 2016 05:33:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-How-do-i-check-null-pointer-exception-in-DATE-data/m-p/2352539#M118916</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-04T05:33:51Z</dc:date>
    </item>
  </channel>
</rss>

