<?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 Join problems in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tMap-Join-problems/m-p/2286363#M59985</link>
    <description>Thank you very much amaumont, that was the issue that was causing it to fail. Very impressed with this software so far....its making my life a great deal easier!</description>
    <pubDate>Fri, 11 Jan 2008 14:28:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-01-11T14:28:06Z</dc:date>
    <item>
      <title>tMap Join problems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-Join-problems/m-p/2286357#M59979</link>
      <description>Hi,
&lt;BR /&gt;Am very new to TOS and hope you have an answer to my question. I am trying to do a JOIN in tMap using 2 table schema's (both tPostgresqlInput components). I am getting the following error:
&lt;BR /&gt; Exception in component tMap_1
&lt;BR /&gt;java.lang.NullPointerException
&lt;BR /&gt; at advice_now.tranformlinklibrary.TranformLinkLibrary.tPostgresqlInput_1Process(TranformLinkLibrary.java:468)
&lt;BR /&gt; at advice_now.tranformlinklibrary.TranformLinkLibrary.runJob(TranformLinkLibrary.java:1567)
&lt;BR /&gt; at advice_now.tranformlinklibrary.TranformLinkLibrary.main(TranformLinkLibrary.java:1500)
&lt;BR /&gt;An example of my generated Java code is below and the error is referring to this line:
&lt;BR /&gt;tHash_Lookup_row2.get(row2HashKey);
&lt;BR /&gt;
&lt;BR /&gt;
&lt;PRE&gt;				java.util.List&amp;lt;row2Struct&amp;gt; listFromLookup_row2 = null;&lt;BR /&gt;				row2Struct row2ObjectFromLookup = null;&lt;BR /&gt;				if (!rejectedInnerJoin_tMap_1) { // G 20&lt;BR /&gt;					row2HashKey.hashCodeDirty = true;&lt;BR /&gt;					tHash_Lookup_row2.get(row2HashKey);&lt;BR /&gt;					if (tHash_Lookup_row2.hasResult()) { // G 90&lt;BR /&gt;						if (tHash_Lookup_row2.resultIsObject()) { // G 49&lt;BR /&gt;							row2ObjectFromLookup = (row2Struct) tHash_Lookup_row2&lt;BR /&gt;									.getResultObject();&lt;BR /&gt;							sizeResultsFromLookup_row2 = row2ObjectFromLookup != null ? 1&lt;BR /&gt;									: -1;&lt;BR /&gt;						} else { // G 49&lt;BR /&gt;							listFromLookup_row2 = (java.util.List&amp;lt;row2Struct&amp;gt;) tHash_Lookup_row2&lt;BR /&gt;									.getResultList();&lt;BR /&gt;							sizeResultsFromLookup_row2 = listFromLookup_row2 != null ? listFromLookup_row2&lt;BR /&gt;									.size()&lt;BR /&gt;									: -1;&lt;BR /&gt;						}&lt;BR /&gt;					} // G 90&lt;BR /&gt;					else { // G 91&lt;BR /&gt;						rejectedInnerJoin_tMap_1 = true;&lt;BR /&gt;						forceLooprow2 = true;&lt;BR /&gt;					} // G 91&lt;BR /&gt;				} // G 20&lt;BR /&gt;				else { // G 21&lt;BR /&gt;					forceLooprow2 = true;&lt;BR /&gt;				} // G 21&lt;/PRE&gt;
&lt;BR /&gt;Does anyone know what is happening here? Your help would be much appreciated.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Harin</description>
      <pubDate>Sat, 16 Nov 2024 14:29:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-Join-problems/m-p/2286357#M59979</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T14:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: tMap Join problems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-Join-problems/m-p/2286358#M59980</link>
      <description>Hi
&lt;BR /&gt;Which version of TOS did you use?
&lt;BR /&gt;Can you upload some screenshots of your job and tMap?
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Fri, 11 Jan 2008 02:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-Join-problems/m-p/2286358#M59980</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-01-11T02:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: tMap Join problems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-Join-problems/m-p/2286359#M59981</link>
      <description>Hi,&lt;BR /&gt;I have uploaded images below of the following:&lt;BR /&gt;1. Job&lt;BR /&gt;2. tMap&lt;BR /&gt;3. library(input) properties&lt;BR /&gt;4. libraryData(input) properties&lt;BR /&gt;5 output properties&lt;BR /&gt;Regards,&lt;BR /&gt;Harin&lt;BR /&gt;Also i am using version:&lt;BR /&gt;Version: 2.2.4&lt;BR /&gt;Build id: r7943-20080107-1407</description>
      <pubDate>Fri, 11 Jan 2008 08:59:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-Join-problems/m-p/2286359#M59981</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-01-11T08:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: tMap Join problems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-Join-problems/m-p/2286360#M59982</link>
      <description>I can't reproduce your error, I used same type of inputs and outputs, set same lookup configuration with ALL MATCHES mode and INNER JOIN lookup.
&lt;BR /&gt;Can you post your entirely code job ?
&lt;BR /&gt;Thank you.</description>
      <pubDate>Fri, 11 Jan 2008 11:24:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-Join-problems/m-p/2286360#M59982</guid>
      <dc:creator>amaumont</dc:creator>
      <dc:date>2008-01-11T11:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: tMap Join problems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-Join-problems/m-p/2286361#M59983</link>
      <description>Job code below. Sorry code tags didnt work for this for some reason. 
  &lt;BR /&gt; 
  &lt;BR /&gt;// ============================================================================ 
  &lt;BR /&gt;// 
  &lt;BR /&gt;// Copyright (c) 2005-2007, Talend Inc. 
  &lt;BR /&gt;// 
  &lt;BR /&gt;// This source code has been automatically generated by Talend Open Studio 
  &lt;BR /&gt;// / JobDesigner (CodeGenerator version 2.2.4.r7943). 
  &lt;BR /&gt;// You can find more information about Talend products at 
  &lt;A href="http://www.talend.com"&gt;www.talend.com&lt;/A&gt;. 
  &lt;BR /&gt;// You may distribute this code under the terms of the GNU LGPL license 
  &lt;BR /&gt;// ( 
  &lt;A href="http://www.gnu.org/licenses/lgpl.html"&gt;http://www.gnu.org/licenses/lgpl.html&lt;/A&gt;). 
  &lt;BR /&gt;// 
  &lt;BR /&gt;// ============================================================================ 
  &lt;BR /&gt;package advice_now.tranformlinklibrary; 
  &lt;BR /&gt;import routines.DataOperation; 
  &lt;BR /&gt;import routines.Mathematical; 
  &lt;BR /&gt;import routines.Numeric; import routines.Relational; import routines.StringHandling;
 &lt;BR /&gt;&lt;BR /&gt;To see the whole post, download it &lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009MdEi"&gt;here&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009MdEi"&gt;OriginalPost.pdf&lt;/A&gt;</description>
      <pubDate>Fri, 11 Jan 2008 11:41:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-Join-problems/m-p/2286361#M59983</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-01-11T11:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: tMap Join problems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-Join-problems/m-p/2286362#M59984</link>
      <description>I think I found the origin of error, it seems you have a filter set in your lookup such as :&lt;BR /&gt;&lt;PRE&gt;row1.library_type == 3&lt;/PRE&gt;&lt;BR /&gt;The problem is that "library_type" is an Integer object type and the value 3 is a primitive value.&lt;BR /&gt;When java compare library_type and 3 when library_type is null, java throws a NullPointerException.&lt;BR /&gt;To get round this problem you can use one of these syntaxes:&lt;BR /&gt;&lt;PRE&gt;row1.library_type != null &amp;amp;&amp;amp; row1.library_type == 3&lt;/PRE&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;PRE&gt;new Integer(3).equals(row1.library_type)&lt;/PRE&gt;&lt;BR /&gt;I hope this is the solution, I didn't see other explanation to the problem.</description>
      <pubDate>Fri, 11 Jan 2008 13:11:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-Join-problems/m-p/2286362#M59984</guid>
      <dc:creator>amaumont</dc:creator>
      <dc:date>2008-01-11T13:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: tMap Join problems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-Join-problems/m-p/2286363#M59985</link>
      <description>Thank you very much amaumont, that was the issue that was causing it to fail. Very impressed with this software so far....its making my life a great deal easier!</description>
      <pubDate>Fri, 11 Jan 2008 14:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-Join-problems/m-p/2286363#M59985</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-01-11T14:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: tMap Join problems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-Join-problems/m-p/2286364#M59986</link>
      <description>Good news ! 
&lt;BR /&gt;this is a common problem encountered with Java and its Autoboxing mode (automatic conversion between primitive and Object).</description>
      <pubDate>Fri, 11 Jan 2008 14:47:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-Join-problems/m-p/2286364#M59986</guid>
      <dc:creator>amaumont</dc:creator>
      <dc:date>2008-01-11T14:47:59Z</dc:date>
    </item>
  </channel>
</rss>

