<?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 t_map  java.lang.ArrayIndexOutOfBoundsException in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/t-map-java-lang-ArrayIndexOutOfBoundsException/m-p/2271903#M49355</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I 'm using three t_map to lookup&amp;nbsp; from three different&amp;nbsp; postgres tables&amp;nbsp;and than insert into one postgres table .&lt;/P&gt; 
&lt;P&gt;But I'm getting the error below :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Exception in component tMap_3 (Load_DimSong)&lt;BR /&gt;java.lang.ArrayIndexOutOfBoundsException: 1&lt;BR /&gt;at decisionalproject.load_dimsong_0_1.Load_DimSong.tDBInput_3Process(Load_DimSong.java:3293)&lt;BR /&gt;at decisionalproject.load_dimsong_0_1.Load_DimSong.runJobInTOS(Load_DimSong.java:6365)&lt;BR /&gt;at decisionalproject.load_dimsong_0_1.Load_DimSong.main(Load_DimSong.java:6214) .&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;DB Version : v9.X&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is&amp;nbsp;&amp;nbsp;my job Load_DimSong.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Load_DimSong_Job.PNG" style="width: 796px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1Oh.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143184iD20A7437FB787A31/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1Oh.png" alt="0683p000009M1Oh.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&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;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 24 Nov 2018 08:07:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-24T08:07:27Z</dc:date>
    <item>
      <title>t_map  java.lang.ArrayIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/t-map-java-lang-ArrayIndexOutOfBoundsException/m-p/2271903#M49355</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I 'm using three t_map to lookup&amp;nbsp; from three different&amp;nbsp; postgres tables&amp;nbsp;and than insert into one postgres table .&lt;/P&gt; 
&lt;P&gt;But I'm getting the error below :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Exception in component tMap_3 (Load_DimSong)&lt;BR /&gt;java.lang.ArrayIndexOutOfBoundsException: 1&lt;BR /&gt;at decisionalproject.load_dimsong_0_1.Load_DimSong.tDBInput_3Process(Load_DimSong.java:3293)&lt;BR /&gt;at decisionalproject.load_dimsong_0_1.Load_DimSong.runJobInTOS(Load_DimSong.java:6365)&lt;BR /&gt;at decisionalproject.load_dimsong_0_1.Load_DimSong.main(Load_DimSong.java:6214) .&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;DB Version : v9.X&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is&amp;nbsp;&amp;nbsp;my job Load_DimSong.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Load_DimSong_Job.PNG" style="width: 796px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1Oh.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143184iD20A7437FB787A31/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1Oh.png" alt="0683p000009M1Oh.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&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;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Nov 2018 08:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/t-map-java-lang-ArrayIndexOutOfBoundsException/m-p/2271903#M49355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-24T08:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: t_map  java.lang.ArrayIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/t-map-java-lang-ArrayIndexOutOfBoundsException/m-p/2271904#M49356</link>
      <description>&lt;P&gt;So, what in tMap_3 ?&lt;/P&gt;</description>
      <pubDate>Sat, 24 Nov 2018 11:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/t-map-java-lang-ArrayIndexOutOfBoundsException/m-p/2271904#M49356</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-11-24T11:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: t_map  java.lang.ArrayIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/t-map-java-lang-ArrayIndexOutOfBoundsException/m-p/2271905#M49357</link>
      <description>&lt;P&gt;this is what in tmap3 :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmap3.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1QT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140497i58D654EB3DA1E7F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1QT.png" alt="0683p000009M1QT.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Nov 2018 11:29:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/t-map-java-lang-ArrayIndexOutOfBoundsException/m-p/2271905#M49357</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-24T11:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: t_map  java.lang.ArrayIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/t-map-java-lang-ArrayIndexOutOfBoundsException/m-p/2271906#M49358</link>
      <description>&lt;P&gt;The expressions for local variables are not visible.&lt;/P&gt;
&lt;P&gt;Do we have to guess them?&lt;/P&gt;</description>
      <pubDate>Sun, 25 Nov 2018 18:00:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/t-map-java-lang-ArrayIndexOutOfBoundsException/m-p/2271906#M49358</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-11-25T18:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: t_map  java.lang.ArrayIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/t-map-java-lang-ArrayIndexOutOfBoundsException/m-p/2271907#M49359</link>
      <description>&lt;P&gt;I'm sorry .&lt;/P&gt; 
&lt;P&gt;my date_release is in this format yyyy-mm-jj&lt;BR /&gt;and I want to extract month , year and month+year from this date .&lt;BR /&gt;here are&amp;nbsp;my expressions &amp;nbsp;:&lt;BR /&gt;lookup_release_dates_album.date_release.split("-")[0] for&amp;nbsp; variable dateYear&lt;BR /&gt;lookup_release_dates_album.date_release.split("-")[1] for variable dateMonth&lt;BR /&gt;lookup_release_dates_album.date_release.split("-")[0] +lookup_release_dates_album.date_release.split("-")[1] for variable datemonthYear.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Nov 2018 18:10:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/t-map-java-lang-ArrayIndexOutOfBoundsException/m-p/2271907#M49359</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-25T18:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: t_map  java.lang.ArrayIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/t-map-java-lang-ArrayIndexOutOfBoundsException/m-p/2271908#M49360</link>
      <description>&lt;P&gt;Is&amp;nbsp;&lt;SPAN&gt;lookup_release_dates_album.date_release allways populated?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I suggest you to transform the expression like this in case of:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;lookup_release_dates_album.date_release != null ? lookup_release_dates_album.date_release.split("-")[1] : null&lt;/PRE&gt; 
&lt;P&gt;You may also refer to this link for a technic to avoid multiple calls to the String.split() method&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D73p000004kWJjCAM#M88000" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/extract-fullname-to-firstname-and-middlename-and-lastname/m-p/142507#M88000&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Nov 2018 18:17:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/t-map-java-lang-ArrayIndexOutOfBoundsException/m-p/2271908#M49360</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-11-25T18:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: t_map  java.lang.ArrayIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/t-map-java-lang-ArrayIndexOutOfBoundsException/m-p/2271909#M49361</link>
      <description>&lt;P&gt;Is&amp;nbsp;&lt;SPAN&gt;lookup_release_dates_album.date_release allways populated?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I suggest you to transform the expression like this in case of:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;lookup_release_dates_album.date_release != null ? lookup_release_dates_album.date_release.split("-")[1] : null&lt;/PRE&gt; 
&lt;P&gt;You may also refer to this link for a technic to avoid multiple calls to the String.split() method&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D73p000004kWJjCAM#M88000" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/extract-fullname-to-firstname-and-middlename-and-lastname/m-p/142507#M88000&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Nov 2018 18:18:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/t-map-java-lang-ArrayIndexOutOfBoundsException/m-p/2271909#M49361</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-11-25T18:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: t_map  java.lang.ArrayIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/t-map-java-lang-ArrayIndexOutOfBoundsException/m-p/2271910#M49362</link>
      <description>&lt;P&gt;Thank you so much !&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I also added a condition&amp;nbsp;&lt;SPAN&gt;song.date_release.length()&amp;gt;4 when I want to extract the month&amp;nbsp; because sometimes the date comes with this format YYYY so my condition becomes :&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;(song.date_release!=null &amp;amp;&amp;amp;&lt;BR /&gt;song.date_release.length()&amp;gt;4 )?&lt;BR /&gt;song.date_release.split("-")[1]:null&lt;/P&gt; 
&lt;P&gt;Thank you again ! you helped me a lot .&lt;/P&gt; 
&lt;P&gt;I 'll try to change my splitted strings&amp;nbsp;in the same way in&amp;nbsp; the link u provided me with .&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 10:02:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/t-map-java-lang-ArrayIndexOutOfBoundsException/m-p/2271910#M49362</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-26T10:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: t_map  java.lang.ArrayIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/t-map-java-lang-ArrayIndexOutOfBoundsException/m-p/2271911#M49363</link>
      <description>&lt;P&gt;Thank's to mark your cas as solved.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 08:53:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/t-map-java-lang-ArrayIndexOutOfBoundsException/m-p/2271911#M49363</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-11-27T08:53:36Z</dc:date>
    </item>
  </channel>
</rss>

