<?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: Exception in component tFileInputExcel_1 in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tFileInputExcel-1/m-p/2269577#M47773</link>
    <description>Hi there,
&lt;BR /&gt;I have tried checking and unchecking the box the read xlsx. &amp;nbsp;When it is unchecked I get the following error. &amp;nbsp;Any other ideas?
&lt;BR /&gt;Exception in component tFileInputExcel_1
&lt;BR /&gt;java.lang.ArrayIndexOutOfBoundsException: 10
&lt;BR /&gt; at jxl.read.biff.Window2Record.&amp;lt;init&amp;gt;(Window2Record.java:95)
&lt;BR /&gt; at jxl.read.biff.SheetReader.read(SheetReader.java:542)
&lt;BR /&gt; at jxl.read.biff.SheetImpl.readSheet(SheetImpl.java:716)&amp;nbsp;</description>
    <pubDate>Thu, 17 Nov 2016 19:19:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-11-17T19:19:07Z</dc:date>
    <item>
      <title>Exception in component tFileInputExcel_1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tFileInputExcel-1/m-p/2269575#M47771</link>
      <description>I am getting one of two errors in a tfileInputExcel component when trying to read an excel file into a t-map. &amp;nbsp;The ftp_get is grabbing the excel file from an ftp and placing it in the remote directory as expected, but I get the error when trying to read it. &amp;nbsp;I have tried using a specific file and file stream and get the error either way. &amp;nbsp;I have several other jobs set up that work the same way and work with no issues, all using a context variable for the directory path. &amp;nbsp;The only difference with this job is am using two variables current year and current month to determine which subfolder to look for the files on in the ftp. &amp;nbsp;The file structure is Vendor Name&amp;gt;&amp;gt;Year&amp;gt;&amp;gt;Month&amp;gt;&amp;gt; files 
&lt;BR /&gt;I'm using the global variable component to create the variables&amp;nbsp; 
&lt;BR /&gt;key="current_year" value =&amp;nbsp;TalendDate.getDate("CCYY") 
&lt;BR /&gt;key="current_month" value =&amp;nbsp;TalendDate.getDate("MMM") 
&lt;BR /&gt;from there i use tftpfile_list&amp;gt;&amp;gt;iterate to flow&amp;gt;&amp;gt; 
&lt;BR /&gt;and using the following logic to determine which subfolder to iterate over (in this case i am looking in the 2016&amp;gt;&amp;gt;NOV folder 
&lt;BR /&gt;remote directory = "/users/finance/vendors/dms/" + ((String)globalMap.get("current_year")) + "/" + ((String)globalMap.get("current_month")) 
&lt;BR /&gt;I determine which file to grab based on a history table and then use ftpget&amp;gt;&amp;gt;tfileinputexcel 
&lt;BR /&gt;error messages 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/387454/error_tfile_input.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCL7.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139942i7CD248E368753C9E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCL7.jpg" alt="0683p000009MCL7.jpg" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/387454/dms_error_message2.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCGN.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134932i4EA405B5A95E7EC5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCGN.jpg" alt="0683p000009MCGN.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/A&gt; 
&lt;BR /&gt;job flow 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/387454/dms_job.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCG4.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146619i43E26D98CD67E347/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCG4.jpg" alt="0683p000009MCG4.jpg" /&gt;&lt;/span&gt;&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/387454/tftpfilelist.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCLC.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142596i7468C7E48430C4E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCLC.jpg" alt="0683p000009MCLC.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/387454/titerate.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MByz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137855iE05E8A12B17B9D3A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MByz.png" alt="0683p000009MByz.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/387454/tftpget.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC5f.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154184i1DB6CA7D306EC277/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC5f.jpg" alt="0683p000009MC5f.jpg" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/387454/tfileinput.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCIQ.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149667iED081A2FAC2C5284/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCIQ.jpg" alt="0683p000009MCIQ.jpg" /&gt;&lt;/span&gt; &lt;/A&gt;&amp;nbsp; 
&lt;BR /&gt;Any assistance is greatly appreciated!!</description>
      <pubDate>Thu, 17 Nov 2016 05:52:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tFileInputExcel-1/m-p/2269575#M47771</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-17T05:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component tFileInputExcel_1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tFileInputExcel-1/m-p/2269576#M47772</link>
      <description>I not sure for 100% (generally text of error different), but it exactly have problem when selected wrong type of excel
&lt;BR /&gt;In You case - checkbox "read xlxs", but error about opening file.xls&amp;nbsp;
&lt;BR /&gt;check - what version of excel file You try to open, try to test with unchecked check-box</description>
      <pubDate>Thu, 17 Nov 2016 08:03:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tFileInputExcel-1/m-p/2269576#M47772</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2016-11-17T08:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component tFileInputExcel_1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tFileInputExcel-1/m-p/2269577#M47773</link>
      <description>Hi there,
&lt;BR /&gt;I have tried checking and unchecking the box the read xlsx. &amp;nbsp;When it is unchecked I get the following error. &amp;nbsp;Any other ideas?
&lt;BR /&gt;Exception in component tFileInputExcel_1
&lt;BR /&gt;java.lang.ArrayIndexOutOfBoundsException: 10
&lt;BR /&gt; at jxl.read.biff.Window2Record.&amp;lt;init&amp;gt;(Window2Record.java:95)
&lt;BR /&gt; at jxl.read.biff.SheetReader.read(SheetReader.java:542)
&lt;BR /&gt; at jxl.read.biff.SheetImpl.readSheet(SheetImpl.java:716)&amp;nbsp;</description>
      <pubDate>Thu, 17 Nov 2016 19:19:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tFileInputExcel-1/m-p/2269577#M47773</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-17T19:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component tFileInputExcel_1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tFileInputExcel-1/m-p/2269578#M47774</link>
      <description>look at this (if not do before) -&amp;nbsp; 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCqK7CAK" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/quot-ArrayIndexOutOfBoundsException-quot-while-using-quot/td-p/107997&lt;/A&gt; 
&lt;BR /&gt;try to test next variant - open this file in excel and save it in last format(some other) and re-check job with single file only (make a txt job just from 1 component tLog) 
&lt;BR /&gt;it give information for feature steps. On one project we found similar problem, and after long investigation found single person in company who use outdated excel and some time edit files - upgrade his office and problem gone 
&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;</description>
      <pubDate>Thu, 17 Nov 2016 23:47:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tFileInputExcel-1/m-p/2269578#M47774</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2016-11-17T23:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component tFileInputExcel_1</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tFileInputExcel-1/m-p/2269579#M47775</link>
      <description>Hi there, 
&lt;BR /&gt;I have replaced the tfileinputexcel with the custom components&amp;nbsp; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;tFileExcelWorkBook &amp;amp; tFileExcelSheetInput.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt;However, I am now getting the following error when trying to read the file: 
&lt;BR /&gt;Exception in component tFileExcelWorkbookOpen_1 
&lt;BR /&gt;org.apache.poi.hssf.OldExcelFormatException: The supplied spreadsheet seems to be Excel 5.0/7.0 (BIFF5) format. POI only supports BIFF8 format (from Excel versions 97/2000/XP/2003)&amp;nbsp; 
&lt;BR /&gt;It looks like its the excel version is older? &amp;nbsp;What can I do to be able to read it? &amp;nbsp;The files are being generated from an outside vendor 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/387454/dms2.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCBK.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149445i3169F83B78ED03AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCBK.jpg" alt="0683p000009MCBK.jpg" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/387454/tfileexcelworkbook.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCEn.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142541i181D2C9FF41C66B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCEn.jpg" alt="0683p000009MCEn.jpg" /&gt;&lt;/span&gt; &lt;/A&gt;</description>
      <pubDate>Sun, 20 Nov 2016 22:25:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tFileInputExcel-1/m-p/2269579#M47775</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-20T22:25:50Z</dc:date>
    </item>
  </channel>
</rss>

