<?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: NullPointer Exception in tMap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252541#M36151</link>
    <description>&lt;P&gt;How to find null column if we have so many columns in given file&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jan 2020 07:23:03 GMT</pubDate>
    <dc:creator>Vijay_K_N</dc:creator>
    <dc:date>2020-01-22T07:23:03Z</dc:date>
    <item>
      <title>NullPointer Exception in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252534#M36144</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
&lt;P&gt;I have a talend job that throws NullPointer Exception no matter what I try.&lt;/P&gt;
&lt;P&gt;Job design goes something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tHiveInput --&amp;gt; tMap --&amp;gt; tHDFS&lt;/P&gt;
&lt;P&gt;I did the null check wherever I have used functions for transformations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tHiveInput--&amp;gt;tLogRow - All records from source are flowing to tLogRow and printed on console.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tHiveInput --&amp;gt; tMap - job throws NullPointer after 1st record itself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Raghuram&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 07:54:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252534#M36144</guid>
      <dc:creator>Raghuram_Puram</dc:creator>
      <dc:date>2019-11-13T07:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: NullPointer Exception in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252535#M36145</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQGkAAO"&gt;@rchinta&lt;/A&gt;&amp;nbsp;, what are you doing in tMap. I believe you might have written some expression .&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;something like below.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;for example:-&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;row1.col1.equals("IND")? "INDIA" :row1.col1&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;re-write below way ,so that you will not get null pointer exception.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;("IND").equals(row1.col1)? "INDIA" :row1.col1&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 08:35:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252535#M36145</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-11-13T08:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: NullPointer Exception in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252536#M36146</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQGkAAO"&gt;@rchinta&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can you please share more screenshots of Tmap and their datatypes,expression filter&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;Manish&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 08:51:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252536#M36146</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-13T08:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: NullPointer Exception in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252537#M36147</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LONkAAO"&gt;@vitspltalend&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please find the tMap below. Input data volume is low, am testing on a dataset of 150 records only.&lt;/P&gt; 
&lt;P&gt;I have done a debug run also and couldnt come to any conclusion.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="tmap.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8PC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131612i9BD74974FC9AFFB7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8PC.png" alt="0683p000009M8PC.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 09:11:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252537#M36147</guid>
      <dc:creator>Raghuram_Puram</dc:creator>
      <dc:date>2019-11-13T09:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: NullPointer Exception in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252538#M36148</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQGkAAO"&gt;@rchinta&lt;/A&gt;&amp;nbsp;, it would be on different files ,where you were not handling null values and trying to check for some other expressions like journal_desc.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 09:20:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252538#M36148</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-11-13T09:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: NullPointer Exception in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252539#M36149</link>
      <description>&lt;P&gt;What I usually do is: I copy the job and I delete some fields so I try to find wich field is the problematic one&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 10:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252539#M36149</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-13T10:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: NullPointer Exception in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252540#M36150</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPJaAAO"&gt;@haralba&lt;/A&gt;&amp;nbsp;Thanks for the suggestion, it worked. I tried to check the mappings one by one and found that there was a context variable mapped to one of the fields which value was not assigned/loaded.&lt;/P&gt; 
&lt;P&gt;Evidently, that column was an Integer type and couldn't take Null values in it.&lt;/P&gt; 
&lt;P&gt;Removed that mapping and job was working fine.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 12:55:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252540#M36150</guid>
      <dc:creator>Raghuram_Puram</dc:creator>
      <dc:date>2019-11-20T12:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: NullPointer Exception in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252541#M36151</link>
      <description>&lt;P&gt;How to find null column if we have so many columns in given file&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 07:23:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252541#M36151</guid>
      <dc:creator>Vijay_K_N</dc:creator>
      <dc:date>2020-01-22T07:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: NullPointer Exception in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252542#M36152</link>
      <description>&lt;A href="https://community.qlik.com/s/profile/0053p000007LQNDAA4"&gt;@lli&lt;/A&gt;, you can use tSchemaCompianceCheck to check the Null value base on the schema.</description>
      <pubDate>Wed, 22 Jan 2020 08:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252542#M36152</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-22T08:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: NullPointer Exception in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252543#M36153</link>
      <description>&lt;P&gt;if we have so many columns how can i manually check....if we put custom defined option in schemacomplaince check there is one option is available i.e nullable ,,why we need to tick all the columns to check if that column have nulls or not&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 06:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/NullPointer-Exception-in-tMap/m-p/2252543#M36153</guid>
      <dc:creator>Vijay_K_N</dc:creator>
      <dc:date>2020-01-31T06:19:09Z</dc:date>
    </item>
  </channel>
</rss>

