<?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 null pointer exception in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258012#M39947</link>
    <description>I have the exactly the same problem and when I executed the workaround the line of code was removed in the files. This post has been a great help.</description>
    <pubDate>Thu, 12 Apr 2012 04:02:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-04-12T04:02:40Z</dc:date>
    <item>
      <title>Tmap null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2257997#M39932</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I'm using Java TOS 2.4.0.RC1.&lt;BR /&gt;I'm using a tWaitForFile to start a mixing a xml File and doing a lookup on DB2 AS400 table.&lt;BR /&gt;During the first iteration i have no problem all succeed but the second iteration make a nullpointerException in Tmap.&lt;BR /&gt;&lt;BR /&gt;Exception in component tMap_1&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt; at rfid.rfid_0_1.rfid.tWaitForFile_1Process(rfid.java:2051)&lt;BR /&gt; at rfid.rfid_0_1.rfid.tAS400Connection_1Process(rfid.java:261)&lt;BR /&gt; at rfid.rfid_0_1.rfid.runJobInTOS(rfid.java:3940)&lt;BR /&gt; at rfid.rfid_0_1.rfid.main(rfid.java:3852)&lt;BR /&gt;It's seem due to lookup component but i' don't understand why.&lt;BR /&gt;&lt;BR /&gt;Thanks for reply&lt;BR /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 14:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2257997#M39932</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2257998#M39933</link>
      <description>Hello ben23 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Exception in component tMap_1&lt;BR /&gt;java.lang.NullPointerException&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;1) Make sure your columns are nullable when you define the schema. 
&lt;BR /&gt;2) The NullPointerException indicate there are some null value on lookup table, so you need to deal with the null value on corresponding columns on expression filed of tmap, for example: 
&lt;BR /&gt;row1.name==null?value1:row1.name 
&lt;BR /&gt;3) please read the related 2927 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 28 May 2008 07:07:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2257998#M39933</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-28T07:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2257999#M39934</link>
      <description>Hi,&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;Normally my values cannot be null because the second iteration was maked with the same file and the same value in the lookup table.&lt;BR /&gt;It's seem due to lookup table during the loop, because the table was loaded only once.&lt;BR /&gt;How can we load the lookup table at each iteration ?&lt;BR /&gt;Thanks for reply&lt;BR /&gt;ben23</description>
      <pubDate>Wed, 28 May 2008 09:29:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2257999#M39934</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-28T09:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258000#M39935</link>
      <description>Hi,&lt;BR /&gt;Any idea for this problem ?&lt;BR /&gt;Thanks for reply,&lt;BR /&gt;Ben23</description>
      <pubDate>Thu, 29 May 2008 08:27:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258000#M39935</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-29T08:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258001#M39936</link>
      <description>Can you show us metadata of your tMap input tables ?</description>
      <pubDate>Thu, 29 May 2008 09:12:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258001#M39936</guid>
      <dc:creator>amaumont</dc:creator>
      <dc:date>2008-05-29T09:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258002#M39937</link>
      <description>Hi, 
&lt;BR /&gt;You can find in upload image my configuration for tmap and TWaitForFile component. And the result of the job with the same data xml file and same data table for two iterations. 
&lt;BR /&gt;Thanks for reply, 
&lt;BR /&gt;ben23 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Thu, 29 May 2008 09:57:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258002#M39937</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-29T09:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258003#M39938</link>
      <description>Hello ben23 
&lt;BR /&gt;I have reproduced your job and checked that it should be a bug on tMap. Can you report a bug on our bugtracker with detailed information?
&lt;BR /&gt;Thanks for your support!
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Thu, 29 May 2008 10:29:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258003#M39938</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-29T10:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258004#M39939</link>
      <description>Hi shong, 
&lt;BR /&gt;Sorry what do you want exactly ? 
&lt;BR /&gt;Should i make a report on this page 
&lt;A href="http://www.talendforge.org/bugs/my_view_page.php" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/bugs/my_view_page.php&lt;/A&gt; ? 
&lt;BR /&gt;And in this case what i should post ? 
&lt;BR /&gt;Thanks for reply, 
&lt;BR /&gt;Ben23</description>
      <pubDate>Thu, 29 May 2008 10:51:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258004#M39939</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-29T10:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258005#M39940</link>
      <description>Your error come from an interaction problem between Iterate connection and free memory of lookups.
&lt;BR /&gt;You can follow the 3966 which describe which modifications could be done from 2.4 RC3 before a definitive solution for 2.5.0.
&lt;BR /&gt;We are being to find a definitive solution to this problem, in fact we have two choices for the moment:
&lt;BR /&gt; - empty always lookups data from memory, which implies your error
&lt;BR /&gt; - does not empty lookups data from memory, which implies that lookups data are accumulated in the different lookups of job
&lt;BR /&gt;Two workarounds exist:
&lt;BR /&gt; - comments all free memory/files calls into tMap_end.javajet template
&lt;BR /&gt; &amp;gt; edit TOS-All-r14257-V2.4.0RC2/plugins/org.talend.designer.components.localprovider_2.4.0.RC2_r14257/components/tMap_end.inc.javajet
&lt;BR /&gt; &amp;gt; comment lines 91, 111, 115 to keep data in memory and temporary files for next iterations
&lt;BR /&gt; &amp;gt; tMap_end.javajet have to be modified also, add simply a space and save it to be recompiled
&lt;BR /&gt; - design your job like : 
&lt;BR /&gt; Job1:
&lt;BR /&gt; ---Iterate---&amp;gt; tRunJob(call of job2)
&lt;BR /&gt; 
&lt;BR /&gt; Job2:
&lt;BR /&gt; -----------------&amp;gt; tMap -&amp;gt; Output
&lt;BR /&gt; --Lookup-----&amp;gt;</description>
      <pubDate>Thu, 29 May 2008 11:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258005#M39940</guid>
      <dc:creator>amaumont</dc:creator>
      <dc:date>2008-05-29T11:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258006#M39941</link>
      <description>Hi amaumont, 
&lt;BR /&gt;Thanks for your reply. 
&lt;BR /&gt;I try your solution to call my job with a tRunJob and it's worked. But with this solution I haven't a permanent connection, and it's a problem because my job must be in real time. 
&lt;BR /&gt;It's possible to share connection between two jobs ? 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;ben23</description>
      <pubDate>Thu, 29 May 2008 14:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258006#M39941</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-29T14:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258007#M39942</link>
      <description>Sorry, we can't share variables between jobs for the moment, it will possible a day but I don't know when. 
&lt;BR /&gt;You can wait for the 2.4 RC4 or modify the templates like described above. 
&lt;BR /&gt;amaumont</description>
      <pubDate>Thu, 29 May 2008 14:43:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258007#M39942</guid>
      <dc:creator>amaumont</dc:creator>
      <dc:date>2008-05-29T14:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258008#M39943</link>
      <description>Ok thanks for your answer.&lt;BR /&gt;Regards,&lt;BR /&gt;ben23</description>
      <pubDate>Thu, 29 May 2008 14:46:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258008#M39943</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-29T14:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258009#M39944</link>
      <description>I have the same problem on Talend 4.0.2, but when I tried to execute the 1st workaround, I saw that the code was already removed in the files.</description>
      <pubDate>Mon, 12 Jul 2010 15:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258009#M39944</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-12T15:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258010#M39945</link>
      <description>Hi Everyone,
&lt;BR /&gt; In my job.in tMap Component am getting null Pointer Exception Error.the error which am getting in my job is :
&lt;BR /&gt;Exception in component tMap_1
&lt;BR /&gt;java.lang.NullPointerException
&lt;BR /&gt; at demo.bagmakers_new_0_1.BagMakers_New.tFileInputExcel_1Process(BagMakers_New.java:13692)
&lt;BR /&gt; at demo.bagmakers_new_0_1.BagMakers_New.runJobInTOS(BagMakers_New.java:16145)
&lt;BR /&gt; at demo.bagmakers_new_0_1.BagMakers_New.main(BagMakers_New.java:16016)
&lt;BR /&gt; disconnected
&lt;BR /&gt;Job BagMakers_New ended at 09:34 01/02/2012. 
&lt;BR /&gt; Can anyone help me out in resolving this error its urgent...
&lt;BR /&gt;Thanks in Advance,
&lt;BR /&gt;Sruthi</description>
      <pubDate>Wed, 01 Feb 2012 04:17:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258010#M39945</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-02-01T04:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258011#M39946</link>
      <description>Hi Sruthi&lt;BR /&gt;You'd better upload screenshots of tMap.&lt;BR /&gt;Then we can figure out and fix it.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Wed, 01 Feb 2012 04:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258011#M39946</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-01T04:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258012#M39947</link>
      <description>I have the exactly the same problem and when I executed the workaround the line of code was removed in the files. This post has been a great help.</description>
      <pubDate>Thu, 12 Apr 2012 04:02:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258012#M39947</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-12T04:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258013#M39948</link>
      <description>Sorry to restart the thread.
&lt;BR /&gt;But I am getting the same error in Talend 5.3. 
&lt;BR /&gt;Checked the component java file, but I dont find anything to be commented on line 91 and 111.
&lt;BR /&gt;Please help me to resolve this. This has happened suddenly. I didn't face this issue earlier.
&lt;BR /&gt;Keyur</description>
      <pubDate>Wed, 20 Nov 2013 13:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258013#M39948</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-20T13:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258014#M39949</link>
      <description>We need more info such as map rule. You are probably doing some java processing on a null value in your map rule.</description>
      <pubDate>Wed, 20 Nov 2013 14:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258014#M39949</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2013-11-20T14:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258015#M39950</link>
      <description>Thanks for the reply. &lt;BR /&gt;It is indeed the case. I have rectified it.</description>
      <pubDate>Thu, 21 Nov 2013 08:47:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258015#M39950</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-21T08:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap null pointer exception</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258016#M39951</link>
      <description>Hey,&lt;BR /&gt;I am having the same problem too, how do i solve this error ,&lt;BR /&gt;even due the records are saved to the database successfully i just dont like seeing this error and i not sure if it might make the job fail in future .&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Thanks&lt;BR /&gt;chidozie</description>
      <pubDate>Tue, 23 Sep 2014 12:12:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-null-pointer-exception/m-p/2258016#M39951</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-23T12:12:53Z</dc:date>
    </item>
  </channel>
</rss>

