<?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: How to process the next iteration when the first extract on tfilterrow returns null pointer exception? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235658#M24628</link>
    <description>&lt;P&gt;No problem &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;Here's the error stack:&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tFIlterNull_stack code.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2NF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145201i9EAE20DD6DAF2C4B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2NF.png" alt="0683p000009M2NF.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;I don't see an error on the code. My hunch is that it's a data issue, just need to handle it.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Feb 2019 10:30:16 GMT</pubDate>
    <dc:creator>jerownimow</dc:creator>
    <dc:date>2019-02-01T10:30:16Z</dc:date>
    <item>
      <title>How to process the next iteration when the first extract on tfilterrow returns null pointer exception?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235654#M24624</link>
      <description>&lt;P&gt;Hi Experts, Good day!&lt;BR /&gt;&lt;BR /&gt;I have a job:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tFIlterNull.PNG" style="width: 686px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2FW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146611i40C0E845292D495F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2FW.png" alt="0683p000009M2FW.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Inside the tMap:&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tFIlterNull2.PNG" style="width: 656px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2N0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145323i369E6526A99C0AAE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2N0.png" alt="0683p000009M2N0.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;The globalMap key will be used as a condition on tFilterRow to get the corresponding nxtMngrdn. However, when the record does not exist on the lookup it throws a NullPointerException error due to the fact that there's no row returned from tFilterRow.&lt;BR /&gt;What I want to have is to ignore the Null Pointer and continue with the process and for that specific record the output will be the values from the left table and only blank/null values from the lookup table if the record does not exist.&lt;BR /&gt;&lt;BR /&gt;For ex:&lt;BR /&gt;displayName;dn;manager&lt;BR /&gt;David Shays;cn=dshays;cn=vladimirs&lt;BR /&gt;When&amp;nbsp;cn=vladimirs does not exist on the filtered lookup, it will only return blank/null and it will not throw a Null Pointer error.&lt;BR /&gt;&lt;BR /&gt;tFilterRow is essential and should not be removed as it is used to get the next manager level.&lt;BR /&gt;&lt;BR /&gt;Please let me know your thoughts on this.&lt;/P&gt; 
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 07:42:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235654#M24624</guid>
      <dc:creator>jerownimow</dc:creator>
      <dc:date>2019-02-01T07:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to process the next iteration when the first extract on tfilterrow returns null pointer exception?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235655#M24625</link>
      <description>&lt;P&gt;Can you show us your "out" schema please? I suspect you can easily solve this by ensuring that the last 3 columns are set to "nullable" via the tick box in the schema. Since there are some expressions in these columns on the "out" column, I suspect you may need to ensure that those expressions are built to ensure that NULL doesn't cause a nullpointerexception. To do that, just carry out null checks before attempting to use the objects (columns).&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 09:16:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235655#M24625</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-01T09:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to process the next iteration when the first extract on tfilterrow returns null pointer exception?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235656#M24626</link>
      <description>&lt;P&gt;Thank you for your reply&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&amp;nbsp;.&lt;BR /&gt;Those expressions are for Handling Null values. I already tried ticking the nullable but still got the same error.&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nullable out.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2AC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147039i81EF2AD603B00DC7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2AC.png" alt="0683p000009M2AC.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I believe it's occuring on the tFilterRow since it will not return any record just like my example.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 09:54:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235656#M24626</guid>
      <dc:creator>jerownimow</dc:creator>
      <dc:date>2019-02-01T09:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to process the next iteration when the first extract on tfilterrow returns null pointer exception?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235657#M24627</link>
      <description>&lt;P&gt;OK, well my first suggestion was my Occam's razor suggestion &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can you post your error stack please? This should give more clues. You *may* be able to find out more information yourself using this. The error stack will provide some lines of Java code which are failing. If you click on the "Code" tab in the bottom left corner of your design window screen, you will see the Java code that is generated. This screen should show line numbers, if not there is a think grey strip on the left of the window showing code. Right click on that and you will see an option to show the line numbers. Take a look there and see if you can spot where the error is actually being triggered. This will help you solve this.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 10:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235657#M24627</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-01T10:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to process the next iteration when the first extract on tfilterrow returns null pointer exception?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235658#M24628</link>
      <description>&lt;P&gt;No problem &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;Here's the error stack:&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tFIlterNull_stack code.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2NF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145201i9EAE20DD6DAF2C4B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2NF.png" alt="0683p000009M2NF.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;I don't see an error on the code. My hunch is that it's a data issue, just need to handle it.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 10:30:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235658#M24628</guid>
      <dc:creator>jerownimow</dc:creator>
      <dc:date>2019-02-01T10:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to process the next iteration when the first extract on tfilterrow returns null pointer exception?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235659#M24629</link>
      <description>&lt;P&gt;Can you show me line 7482. That is the line the error is happening on. It looks like the error is in the tMap_1. Also, take a look here:&amp;nbsp;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCx4vCAC" target="_blank" rel="noopener"&gt;https://community.talend.com/t5/How-Tos-and-Best-Practices/How-to-debug-tMap-errors/td-p/40951&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This mini tutorial shows you how to effectively debug tMap errors.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 11:26:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235659#M24629</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-01T11:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to process the next iteration when the first extract on tfilterrow returns null pointer exception?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235660#M24630</link>
      <description>&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="line error.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2Ne.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157679iB86D216D9089AB93/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2Ne.png" alt="0683p000009M2Ne.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Here's line 7482. Thank you for sharing this link, I'll check this and refer to this link in the future.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 13:13:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235660#M24630</guid>
      <dc:creator>jerownimow</dc:creator>
      <dc:date>2019-02-01T13:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to process the next iteration when the first extract on tfilterrow returns null pointer exception?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235661#M24631</link>
      <description>&lt;P&gt;Can you post all of the expressions that involve columns from the lookup table? I *think* your CEO one might be the cause. You seem to check that the main column is not null and then I *think* you might be using a value from your lookup without checking for its null status.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 14:08:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235661#M24631</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-01T14:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to process the next iteration when the first extract on tfilterrow returns null pointer exception?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235662#M24632</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&amp;nbsp;. I've managed to fix the problem. Now my issue is on tLoop_1, it throws NullPointer on its first Iteration which is weird. I only expect this to be on infinite loop, but not this error.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tloop.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2Kg.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131166i4B9EA3DADCAE585D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2Kg.png" alt="0683p000009M2Kg.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;Can you help me again troubleshoot this piece?&lt;/P&gt; 
&lt;PRE&gt;tJava_2 code:&amp;nbsp;
String foo = "bar";
globalMap.put("inLoop", 0);

tLoop_1 settings:
Declaration: int i=0
Condition: (Integer)globalMap.get("inLoop"")!=1
Iteration: i++&lt;/PRE&gt; 
&lt;P&gt;Thank you in advance!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 06:28:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235662#M24632</guid>
      <dc:creator>jerownimow</dc:creator>
      <dc:date>2019-02-04T06:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to process the next iteration when the first extract on tfilterrow returns null pointer exception?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235663#M24633</link>
      <description>&lt;P&gt;This is okay now. I just move the onsubjob ok to tJava.&lt;BR /&gt;&lt;BR /&gt;Thank you for all your inputs,&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 00:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235663#M24633</guid>
      <dc:creator>jerownimow</dc:creator>
      <dc:date>2019-02-06T00:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to process the next iteration when the first extract on tfilterrow returns null pointer exception?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235664#M24634</link>
      <description>&lt;P&gt;Sorry I missed your question on Sunday. I'm afraid this is the first time I have been on since you raised it. However you solved it in exactly the way I would have suggested &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 13:18:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-process-the-next-iteration-when-the-first-extract-on/m-p/2235664#M24634</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-06T13:18:37Z</dc:date>
    </item>
  </channel>
</rss>

