<?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] Null pointer exception - tMap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257774#M39774</link>
    <description>&lt;P&gt;I know this may be not related to this but I working on 2 sheet of same excel file and trying to inserting one column each from both sheets to a table(single) by joining 2 sheets but I'm getting 0 rows on this inspite of having some data matches based on key.Later I found out that it is due to Talend trying to extract data from sheets as column1 --&amp;gt; column1 specified in schema but due to initial column is empty bydefault form source which not have any column name and that why on doing join based on key giving different column value from sheet as talend is assuming 1 blank column in sheet as schema first column data.&lt;/P&gt;&lt;P&gt;eg; row1 is&amp;nbsp;&lt;/P&gt;&lt;P&gt;|&amp;nbsp; &amp;nbsp; |id|name|&lt;/P&gt;&lt;P&gt;|&amp;nbsp; &amp;nbsp; |123|"Joe"|&lt;/P&gt;&lt;P&gt;|&amp;nbsp; &amp;nbsp; |124| "Jack"|&lt;/P&gt;&lt;P&gt;So on asking row1.id for join it inspite of taking 123 taking NULL(first column of 1st record) and on taking row1.name giving 123 instead of "Joe" .&lt;/P&gt;&lt;P&gt;Not related but will help someone in future.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2019 13:42:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-09-04T13:42:57Z</dc:date>
    <item>
      <title>[resolved] Null pointer exception - tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257751#M39751</link>
      <description>Hi everyone, 
&lt;BR /&gt;I am facing this error (c.f screenshot) for a while now. Usually Google is my friend, but not today. 
&lt;BR /&gt;Thank you for your advice, 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCGM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135064i595344980B7DA433/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCGM.png" alt="0683p000009MCGM.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCGR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134401i9A9F2FB78FDB4935/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCGR.png" alt="0683p000009MCGR.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCBE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134907i2008745FEA4D647A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCBE.png" alt="0683p000009MCBE.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;EDIT : 
&lt;BR /&gt;I think the error comes from the absence of a null test. Therefore I tried this 3 kind of test but none works. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;(String)row7.selling_price.equals(null))?0:row7.selling_price&lt;/PRE&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;(row7.selling_price.toString().equals(null))?0:row7.selling_price&lt;/PRE&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;(row7.selling_price == null)?0:row7.selling_price&lt;/PRE&gt;</description>
      <pubDate>Thu, 12 Nov 2015 06:19:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257751#M39751</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-12T06:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null pointer exception - tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257752#M39752</link>
      <description>Hi, 
&lt;BR /&gt;There is null pointer exception in your tMap component. 
&lt;BR /&gt;You need to handle the null value. Is your 
&lt;FONT size="3"&gt;&lt;FONT face="??"&gt;row7.selling_priceP"&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT size="3"&gt;&lt;FONT face="??"&gt;Integer" data type? If so, &lt;/FONT&gt;&lt;/FONT&gt;please parse Int to String firstly and then 
&lt;BR /&gt; 
&lt;FONT size="3"&gt;&lt;FONT face="??"&gt;row7.selling_priceP)&lt;/FONT&gt;&lt;/FONT&gt;==null|| 
&lt;FONT size="3"&gt;&lt;FONT face="??"&gt;row7.selling_priceP&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="" calibri=""&gt;.isEmpty())&lt;/FONT&gt;&lt;/FONT&gt;? value if it is null:do your further processing 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 12 Nov 2015 07:11:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257752#M39752</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-12T07:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null pointer exception - tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257753#M39753</link>
      <description>Hi xdshi,
&lt;BR /&gt;What do you mean by "
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;parse Int to String"&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;How can I do that and where ?
&lt;BR /&gt;Thx,</description>
      <pubDate>Thu, 12 Nov 2015 08:08:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257753#M39753</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-12T08:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null pointer exception - tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257754#M39754</link>
      <description>Hi, 
&lt;BR /&gt;Please take a look at the attached screenshots. 
&lt;BR /&gt;Or you can use String.valueof in your expression, such as, String.valueOf(row1.newColumn)==null||(String.valueOf(row1.newColumn).isEmpty() 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC9X.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128122i03E4BCAEA55093D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC9X.png" alt="0683p000009MC9X.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBwb.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129630i24B39BCC225A0C86/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBwb.png" alt="0683p000009MBwb.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 12 Nov 2015 08:33:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257754#M39754</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-12T08:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null pointer exception - tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257755#M39755</link>
      <description>The following code doesn't work (cf. screenshot) &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; 
&lt;BR /&gt;(String.valueOf(row8.payment_date)==null||String.valueOf(row8.payment_date).isEmpty())?false:true 
&lt;BR /&gt;I mean I get a "true" while I should get a "false" since row8.payment_date = null 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCGW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148366i9F3DFAC24C50CB14/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCGW.png" alt="0683p000009MCGW.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 12 Nov 2015 08:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257755#M39755</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-12T08:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null pointer exception - tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257756#M39756</link>
      <description>Hi,&lt;BR /&gt;The ternary operation in tMap should be:&lt;BR /&gt;Condition?value if true: value if false&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 12 Nov 2015 09:07:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257756#M39756</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-12T09:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null pointer exception - tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257757#M39757</link>
      <description>&lt;BR /&gt;My code is respecting the format.&lt;BR /&gt;&lt;BR /&gt;My destination_field is a boolean.&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;(String.valueOf(row8.payment_date)==null||String.valueOf(row8.payment_date).isEmpty())?false:true&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/PRE&gt;&lt;BR /&gt;IF row8.payment_date is null or empty&lt;BR /&gt;&amp;nbsp; &amp;nbsp;destination_field = false&lt;BR /&gt;ELSE&lt;BR /&gt;&amp;nbsp; &amp;nbsp;destination_field = true&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I face the same issue with a destination_field as a String and this code.&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;&lt;BR /&gt;(String.valueOf(row8.payment_date)==null||String.valueOf(row8.payment_date).isEmpty()) &amp;nbsp;? "NULL OR EMPTY"&amp;nbsp;: "NOT NULL AND NOT EMPTY"&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I also tried to use the following code but it doesn't work neither.&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;&lt;BR /&gt;(Relational.ISNULL(row8.payment_date)?false:true&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 12 Nov 2015 09:24:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257757#M39757</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-12T09:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null pointer exception - tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257758#M39758</link>
      <description>Hi,&lt;BR /&gt;What's the actual result you are facing? Is it still null pointer exception in tMap? Have you tried to check "Code" tab to see if there is any compile error?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 12 Nov 2015 09:55:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257758#M39758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-12T09:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null pointer exception - tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257759#M39759</link>
      <description>I am still looking for the right code to use in order to check if my Date field is null or not. 
&lt;BR /&gt;As you can see on the screenshot below this code doesn't give me the right output value. 
&lt;BR /&gt;Since the value of payment_date=null, that means that the condition is true then I should get the value right after the '?' which is in my case false. 
&lt;BR /&gt;We can clearly see on the screenshot I get a true 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;(String.valueOf(row8.payment_date)==null||String.valueOf(row8.payment_date).isEmpty())?false:true&lt;/PRE&gt; 
&lt;BR /&gt;Thx a lot for helping me on that issue 
&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;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC3f.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142970iC8532FB6D065147D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC3f.png" alt="0683p000009MC3f.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 12 Nov 2015 10:19:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257759#M39759</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-12T10:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null pointer exception - tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257760#M39760</link>
      <description>Why are you using "String.valueOf"? It is that which is causing you problems. To check to see if an object is null, all you need to do is use "==null". You also won't get an empty date if the object is a Date. So your check should be similar to below I believe....&lt;BR /&gt;&lt;PRE&gt;row8.payment_date==null ? false:true&lt;/PRE&gt;</description>
      <pubDate>Thu, 12 Nov 2015 12:33:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257760#M39760</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-12T12:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null pointer exception - tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257761#M39761</link>
      <description>Hi rhall_2.0, 
&lt;BR /&gt;I tried your solution before and as you can see on the screenshot below, it doesn't work neither &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; 
&lt;BR /&gt;Thx anyway. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC9S.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146604iCF3B60D4765167A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC9S.png" alt="0683p000009MC9S.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 13 Nov 2015 01:59:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257761#M39761</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-13T01:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null pointer exception - tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257762#M39762</link>
      <description>Just to summarize, please find below all the codes I already tried and that lead either to an ERROR or either to the wrong VALUE&lt;BR /&gt;WRONG VALUE Relational.ISNULL(row8.payment_date)?false:true&lt;BR /&gt;WRONG VALUE row8.payment_date==null?false:true&lt;BR /&gt;WRONG VALUE&amp;nbsp;row8.payment_date.equals(null)?false:true&lt;BR /&gt;ERROR row8.payment_date.isEmpty()?false:true&lt;BR /&gt;ERROR row8.payment_date==""?false:true&lt;BR /&gt;WRONG VALUE String.valueOf(row8.payment_date)==null?false:true&lt;BR /&gt;WRONG VALUE String.valueOf(row8.payment_date).equals(null)?false:true&lt;BR /&gt;WRONG VALUE String.valueOf(row8.payment_date).isEmpty()?false:true&lt;BR /&gt;WRONG VALUE String.valueOf(row8.payment_date)==""?false:true&lt;BR /&gt;WRONG VALUE row8.payment_date.toString()==null?false:true&lt;BR /&gt;WRONG VALUE row8.payment_date.toString().equals(null)?false:true&lt;BR /&gt;WRONG VALUE row8.payment_date.toString().isEmpty()?false:true&lt;BR /&gt;ERROR row8.payment_date.toString()=""?false:true&lt;BR /&gt;ERROR (String)row8.payment_date==null?false:true&lt;BR /&gt;ERROR (String)row8.payment_date.equals(null)?false:true&lt;BR /&gt;ERROR (String)row8.payment_date.isEmpty()?false:true&lt;BR /&gt;ERROR (String)row8.payment_date==""?false:true&lt;BR /&gt;Thank you for your advice,</description>
      <pubDate>Fri, 13 Nov 2015 02:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257762#M39762</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-13T02:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null pointer exception - tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257763#M39763</link>
      <description>Hi,
&lt;BR /&gt;Have you already tried like this?
&lt;BR /&gt;(row8.payment_date.equals(""))?false:true&amp;nbsp;
&lt;BR /&gt;Regards, May T.</description>
      <pubDate>Fri, 13 Nov 2015 04:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257763#M39763</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-13T04:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null pointer exception - tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257764#M39764</link>
      <description>Hi May T, 
&lt;BR /&gt;Thank you for this solution I didn't think about, but still it's not working (screenshot below) 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCGb.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148588iA3D0DAB52A825B5D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCGb.png" alt="0683p000009MCGb.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 13 Nov 2015 05:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257764#M39764</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-13T05:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null pointer exception - tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257765#M39765</link>
      <description>Hi, 
&lt;BR /&gt;Don't test with "Test" button of Expression Builder. 
&lt;BR /&gt;Can you please test by running the whole Job (with that code). 
&lt;BR /&gt;Regards, May T.</description>
      <pubDate>Fri, 13 Nov 2015 06:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257765#M39765</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-13T06:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null pointer exception - tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257766#M39766</link>
      <description>I finally find something working, but it's dirty 
&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;BR /&gt;I don't get the null pointer exception error anymore. 
&lt;BR /&gt; 
&lt;PRE&gt;((String.valueOf(row8.payment_date).equals("null"))&lt;BR /&gt;||&lt;BR /&gt;(String.valueOf(row8.payment_date).equals("NULL"))&lt;BR /&gt;||&lt;BR /&gt;(String.valueOf(row8.payment_date).isEmpty()))&lt;BR /&gt;?false&lt;BR /&gt;:true&amp;nbsp;&lt;/PRE&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks to all of you,</description>
      <pubDate>Fri, 13 Nov 2015 06:18:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257766#M39766</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-13T06:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null pointer exception - tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257767#M39767</link>
      <description>May T, I tried to run the job with your code, but I got the null pointer exception again. 
&lt;BR /&gt;Since I am facing so many troubles, do you think I forgot to configure something in Talend? 
&lt;BR /&gt;Thx. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCGS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152389iFB87D40C23AE85BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCGS.png" alt="0683p000009MCGS.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 13 Nov 2015 06:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257767#M39767</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-13T06:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null pointer exception - tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257768#M39768</link>
      <description>Hi,&lt;BR /&gt;I think it's not related with configuration.&lt;BR /&gt;I'm not sure but I think it's depend on Type(data type) of your components and data file.&lt;BR /&gt;Regards, May.</description>
      <pubDate>Fri, 13 Nov 2015 06:51:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257768#M39768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-13T06:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null pointer exception - tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257769#M39769</link>
      <description>&lt;BR /&gt;In MySQL, the field is recorded as DATE (with no parameters) and the values look like 'YYYY-MM-DD' 
&lt;BR /&gt;In Talend, inside the tMap, the field is identified as Date "dd-MM-yyyy" 
&lt;BR /&gt;=&amp;gt; So, I change the format in the tMap to "yyyy-MM-dd", but it doesn't change anything. I still got the error with the code below. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;(row8.payment_date.equals(""))?false:true&amp;nbsp;&lt;/PRE&gt; 
&lt;BR /&gt;Anyway, thank you for your help, it seems that I got no choice to keep my dirty solution 
&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;</description>
      <pubDate>Fri, 13 Nov 2015 07:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257769#M39769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-13T07:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Null pointer exception - tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257770#M39770</link>
      <description>Is "payment_date" a Date or a String? I assumed it was a Date since I didn't see anywhere where it said otherwise. If it is a String, then it is entirely possible that null is being represented as a String of "null". This is an annoying "feature" of Talend with the help of Java. If you have a null String and you concatenate it with a populated String, the null will be converted to "null".
&lt;BR /&gt;Demonstrated in the example below.....
&lt;BR /&gt;String hello = "hello";
&lt;BR /&gt;String nullValue = null;
&lt;BR /&gt;String result = hello+nullValue;
&lt;BR /&gt;System.out.println(result);
&lt;BR /&gt;If you run that code you will get ....
&lt;BR /&gt;"hellonull"
&lt;BR /&gt;You need to be aware of this when working with Strings that may have gone through a similar process.</description>
      <pubDate>Fri, 13 Nov 2015 10:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Null-pointer-exception-tMap/m-p/2257770#M39770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-13T10:23:23Z</dc:date>
    </item>
  </channel>
</rss>

