<?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: tmap error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304185#M75985</link>
    <description>&lt;P&gt;Thank you for your support&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jul 2017 05:58:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-03T05:58:44Z</dc:date>
    <item>
      <title>tmap error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304172#M75972</link>
      <description>&lt;P&gt;when I run the job it starts perfectly but in between it stops and gives null pointer &amp;nbsp;exception&lt;/P&gt; 
&lt;P&gt;what should I do plz any one help me&lt;/P&gt; 
&lt;P&gt;thanks in advance&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 13:00:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304172#M75972</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-29T13:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: tmap error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304173#M75973</link>
      <description>&lt;P&gt;This is usually an indication that one of the expressions in your tMap uses a schema value in a way that doesn't handle null values. &amp;nbsp;This guide by our own&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&amp;nbsp;walks through the steps of creating an error output in a tMap component that will show you which row(s) cause the error:&lt;BR /&gt;&lt;A title="How to Debug tMap Errors" href="https://www.rilhia.com/quicktips/quick-tip-how-debug-tmap-errors" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.rilhia.com/quicktips/quick-tip-how-debug-tmap-errors&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 18:22:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304173#M75973</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2017-06-29T18:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: tmap error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304174#M75974</link>
      <description>&lt;P&gt;In general, you get null pointer exception tMap if your performing any string operations on null data like (&amp;lt;string&amp;gt;.split(",")) [If this is case can handle the null by following syntax &amp;lt;string&amp;gt; != null ? &lt;SPAN&gt;&amp;lt;string&amp;gt;.split(",") : null&lt;/SPAN&gt;] one of the use-case, if possible please share the tMap screenshot for more accuracy &amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 18:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304174#M75974</guid>
      <dc:creator>Bluemoon</dc:creator>
      <dc:date>2017-06-29T18:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: tmap error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304175#M75975</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Could you please post your current job setting screenshots on forum which will be helpful for us to address your issue?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 04:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304175#M75975</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-30T04:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: tmap error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304176#M75976</link>
      <description>&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LuvL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140290i1A30F5270FC4833E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LuvL.png" alt="0683p000009LuvL.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvGL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155656i70A0424E4A39F547/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvGL.png" alt="0683p000009LvGL.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="these are the components" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lv2e.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133135iE18739C290325706/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lv2e.png" alt="0683p000009Lv2e.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;these are the components&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="these are the joins" style="width: 636px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvFd.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143749i677ACAA2D15D2FED/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvFd.png" alt="0683p000009LvFd.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;these are the joins&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 07:22:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304176#M75976</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-30T07:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: tmap error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304177#M75977</link>
      <description>&lt;P&gt;there are 5 customer tables with different aliases&lt;/P&gt; 
&lt;P&gt;row3;c.customer&lt;/P&gt; 
&lt;P&gt;row7:cs.customer&lt;/P&gt; 
&lt;P&gt;row11:dc.customer&lt;/P&gt; 
&lt;P&gt;row12&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA5A.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143082iB236712184B767DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA5A.png" alt="0683p000009MA5A.png" /&gt;&lt;/span&gt;c.customer&lt;/P&gt; 
&lt;P&gt;row19:scu.customer&lt;/P&gt; 
&lt;P&gt;and two similar tables with different aliases&lt;/P&gt; 
&lt;P&gt;src.pin_config&lt;/P&gt; 
&lt;P&gt;drs.pin_config&lt;/P&gt; 
&lt;P&gt;and two cell_location tables with aliases&lt;/P&gt; 
&lt;P&gt;cla.cell_location&lt;/P&gt; 
&lt;P&gt;clc.cell_location&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 07:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304177#M75977</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-30T07:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: tmap error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304178#M75978</link>
      <description>&lt;P&gt;and also suggest me how to give right outer join in talend tmap component&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 11:56:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304178#M75978</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-30T11:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: tmap error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304179#M75979</link>
      <description>&lt;P&gt;If all those tables are in the same database, would it not make more sense to do the joins on the database side?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;To address your original issue, it looks like there are two&amp;nbsp;tMap output field that use a formula: SOURCE_BALANCE_B... and DESTINATION_BALANCE...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;To avoid null pointer exceptions, you'll probably want to check each field used for nulls and set an appropriate result for that case. (e.g. row18.TOTAL_QUOTA_BEFORE == null ? 0 : &amp;lt;your formula here&amp;gt;) &amp;nbsp;If you show the entire expression, we can help write the expression to handle nulls for all fields involved.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 14:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304179#M75979</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2017-06-30T14:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: tmap error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304180#M75980</link>
      <description>&lt;P&gt;row18.total_quota_before==null?0:&amp;lt;which formula to be used here&amp;gt; l'm not getting&lt;/P&gt;
&lt;P&gt;you want to see formula in the &amp;nbsp;expression builder...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jul 2017 13:36:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304180#M75980</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-02T13:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: tmap error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304181#M75981</link>
      <description>&lt;P&gt;its not row18 total_quota_before is from row1 and here are the expression builder pics&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 874px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvH4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137484iE8B29D991EFCDF96/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvH4.png" alt="0683p000009LvH4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture6.PNG" style="width: 816px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lutn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157408i9D2FBDD2DDBEB7B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lutn.png" alt="0683p000009Lutn.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jul 2017 13:47:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304181#M75981</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-02T13:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: tmap error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304182#M75982</link>
      <description>If you attempt to use a field in an expression and one of the values on one of the rows is null, you're going to get null pointer exceptions. You can identify the offending rows by following the guide in the link I posted, or you can make sure you handle nulls in all of your expressions.</description>
      <pubDate>Sun, 02 Jul 2017 19:20:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304182#M75982</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2017-07-02T19:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: tmap error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304183#M75983</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLooAAG"&gt;@cterenzi&lt;/A&gt;&amp;nbsp;is correct. You either need to find the fault (find the null ) and prevent it from happening OR you need to put some logic in your expressions to mitigate for nulls.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For example (not using your expressions) if I want to check for a String value of "red" in a column and return a true if it is there AND prevent a null pointer exception I could use the following code in the expression to actively handle the situation where my String column is null&lt;/P&gt; 
&lt;PRE&gt;row1.myString!=null ? row1.myString.compareToIgnoreCase("red")==0 : false&lt;/PRE&gt; 
&lt;P&gt;The above is an in-line IF and says "If myString is not null AND if it contains 'red' then return true, otherwise return false"&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jul 2017 21:27:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304183#M75983</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-02T21:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: tmap error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304184#M75984</link>
      <description>&lt;P&gt;in additional to all above answers and recommendations&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can balance, where to&amp;nbsp;&lt;SPAN&gt;manage nulls?:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;You can manage it in Talend, as many time suggested&lt;/LI&gt;
 &lt;LI&gt;or You can manage it by Database&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;In Your case it could make tMap more clean and not overloaded&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For&amp;nbsp;manage nulls by database You can change tMSSQLInput query and add COALESCE function for columns used in tMap formulas&lt;/P&gt;
&lt;PRE&gt;SELECT
    COALESCE(col1,0) as col1,
    COALESCE(col2,0) as col2
FROM table
WHERE
....&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;I prefer this way, because:&lt;BR /&gt;1) as I wrote it make tMap more readable&lt;BR /&gt;2) because SQL query it is plain text - I can use text edit with Search/Replace for change prepared query, and it faster than manually edit each tMap element&lt;BR /&gt;&lt;BR /&gt;Note - it not help You in case divide by 0 - this is You need handle right in tMap if necessary&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 01:44:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304184#M75984</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-07-03T01:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: tmap error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304185#M75985</link>
      <description>&lt;P&gt;Thank you for your support&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 05:58:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304185#M75985</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-03T05:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: tmap error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304186#M75986</link>
      <description>&lt;P&gt;Thank you for your support,I will try it&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 06:00:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304186#M75986</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-03T06:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: tmap error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304187#M75987</link>
      <description>&lt;P&gt;thanks for your support..&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 06:04:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmap-error/m-p/2304187#M75987</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-03T06:04:08Z</dc:date>
    </item>
  </channel>
</rss>

