<?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: tfileinputexcel empty row in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295672#M68418</link>
    <description>Hello guy
&lt;BR /&gt;I see the first line is the header in you excel file, so do you set the header as 1 on tFileInputExcel componnet?
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
    <pubDate>Fri, 25 Dec 2009 02:17:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-12-25T02:17:37Z</dc:date>
    <item>
      <title>tfileinputexcel empty row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295667#M68413</link>
      <description>Hello.&lt;BR /&gt;I want to do something which seems quite simple to me.&lt;BR /&gt;I have a tfileinputexcel component and a tadvancedXMLoutput.&lt;BR /&gt;In my excel file, some rows can sometimes be empty if the data isn't available.&lt;BR /&gt;I want that in this case, the XML bounds doesn't appear in the final XML file.&lt;BR /&gt;For example:&lt;BR /&gt;With a Excel like this&lt;BR /&gt;&lt;PRE&gt;    ID        B    C     D&lt;BR /&gt;classic      111   222   333&lt;BR /&gt;c_empty      111         333&lt;/PRE&gt;&lt;BR /&gt;I want to get this :&lt;BR /&gt;&lt;PRE&gt;&amp;lt;A id="classic"&amp;gt;&lt;BR /&gt;   &amp;lt;b&amp;gt;111&amp;lt;/b&amp;gt;&lt;BR /&gt;   &amp;lt;c&amp;gt;222&amp;lt;/c&amp;gt;&lt;BR /&gt;   &amp;lt;d&amp;gt;333&amp;lt;/d&amp;gt;&lt;BR /&gt;&amp;lt;/A&amp;gt;&lt;BR /&gt;&amp;lt;A id="c_empty"&amp;gt;&lt;BR /&gt;  &amp;lt;b&amp;gt;111&amp;lt;/b&amp;gt;&lt;BR /&gt;  &amp;lt;d&amp;gt;333&amp;lt;/d&amp;gt;&lt;BR /&gt;&amp;lt;/A&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;The schema of the xlsx has the 'nullable' check, but i get a "IllegalStateException: Bad cell type" when it tries to convert the empty cell into 'string/numeric/...'&lt;BR /&gt;What is missing ?&lt;BR /&gt;Thanks.</description>
      <pubDate>Sat, 16 Nov 2024 13:37:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295667#M68413</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: tfileinputexcel empty row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295668#M68414</link>
      <description>Hello
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;The schema of the xlsx has the 'nullable' check, but i get a "IllegalStateException: Bad cell type" when it tries to convert the empty cell into 'string/numeric/...'&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Set the data type as string, see my screeshots.
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Thu, 24 Dec 2009 09:56:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295668#M68414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-24T09:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: tfileinputexcel empty row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295669#M68415</link>
      <description>I thought this should work, but i already have string for all my fields. 
&lt;BR /&gt;It seems that the empty cells in Excel are considered not as 'null' but as "". 
&lt;BR /&gt;So i got the same schema as you but not still the exception... 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;The URGENCY field is empty in Excel. 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Thu, 24 Dec 2009 10:06:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295669#M68415</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-24T10:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: tfileinputexcel empty row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295670#M68416</link>
      <description>Hello 
&lt;BR /&gt;Have you still got the same error even you have string for all my fields? Please show us the whole error message.
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Thu, 24 Dec 2009 10:10:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295670#M68416</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-24T10:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: tfileinputexcel empty row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295671#M68417</link>
      <description>&lt;PRE&gt;Démarrage du jobOP_SK a 11:03 24/12/2009.&lt;BR /&gt; connecting to socket on port 4178&lt;BR /&gt; connected&lt;BR /&gt;log4j:WARN No appenders could be found for logger (org.openxml4j.opc).&lt;BR /&gt;log4j:WARN Please initialize the log4j system properly.&lt;BR /&gt;Exception in component tFileInputExcel_3&lt;BR /&gt;java.lang.IllegalStateException: Bad cell type (3)&lt;BR /&gt;	at org.apache.poi.xssf.usermodel.XSSFFormulaEvaluator.evaluate(XSSFFormulaEvaluator.java:102)&lt;BR /&gt;	at sk.op_sk_0_1.OP_SK.tFileInputExcel_3Process(OP_SK.java:3147)&lt;BR /&gt;	at sk.op_sk_0_1.OP_SK.runJobInTOS(OP_SK.java:5926)&lt;BR /&gt;	at sk.op_sk_0_1.OP_SK.main(OP_SK.java:5822)&lt;BR /&gt; disconnected&lt;BR /&gt;Job OP_SK terminé à 11:03 24/12/2009. &lt;/PRE&gt; 
&lt;BR /&gt;With debugger it stops here: 
&lt;BR /&gt; 
&lt;PRE&gt;	for (int i = 0; i &amp;lt; 70; i++) {&lt;BR /&gt;						if (i + start_column_tFileInputExcel_3 &amp;lt; actual_end_column_tFileInputExcel_3) {&lt;BR /&gt;							org.apache.poi.ss.usermodel.Cell cell_tFileInputExcel_3 = row_tFileInputExcel_3&lt;BR /&gt;									.getCell(i + start_column_tFileInputExcel_3);&lt;BR /&gt;							if (cell_tFileInputExcel_3 != null) {&lt;BR /&gt;								switch (evaluator_tFileInputExcel_3.evaluate(&lt;BR /&gt;										cell_tFileInputExcel_3).getCellType()) {&lt;BR /&gt;								case org.apache.poi.ss.usermodel.Cell.CELL_TYPE_STRING:&lt;BR /&gt;									temp_row_tFileInputExcel_3&lt;I&gt; = cell_tFileInputExcel_3&lt;BR /&gt;											.getRichStringCellValue()&lt;BR /&gt;											.getString();&lt;BR /&gt;									break;&lt;BR /&gt;								case org.apache.poi.ss.usermodel.Cell.CELL_TYPE_NUMERIC:&lt;BR /&gt;									if (org.apache.poi.ss.usermodel.DateUtil&lt;BR /&gt;											.isCellDateFormatted(cell_tFileInputExcel_3)) {&lt;BR /&gt;										temp_row_tFileInputExcel_3&lt;I&gt; = cell_tFileInputExcel_3&lt;BR /&gt;												.getDateCellValue().toString();&lt;BR /&gt;									} else {&lt;BR /&gt;...&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt; 
&lt;BR /&gt;I updated the previous post with screenshots.</description>
      <pubDate>Thu, 24 Dec 2009 10:16:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295671#M68417</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-24T10:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: tfileinputexcel empty row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295672#M68418</link>
      <description>Hello guy
&lt;BR /&gt;I see the first line is the header in you excel file, so do you set the header as 1 on tFileInputExcel componnet?
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Fri, 25 Dec 2009 02:17:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295672#M68418</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-25T02:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: tfileinputexcel empty row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295673#M68419</link>
      <description>I am getting the same message&lt;BR /&gt;Exception in component tFileInputExcel_2&lt;BR /&gt;java.lang.IllegalStateException: Bad cell type (3)&lt;BR /&gt;field type is set as string, it is nullable and also the header is set to 1.&lt;BR /&gt;What could be the error?</description>
      <pubDate>Thu, 18 Feb 2010 20:42:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295673#M68419</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-18T20:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: tfileinputexcel empty row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295674#M68420</link>
      <description>Seems an exception risen Apache POI code (maybe due to inconsistent call) 
&lt;BR /&gt;Just as a test, try to remove all custom formatting and all formulas in excel and retry with all as strings.</description>
      <pubDate>Sat, 20 Feb 2010 14:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295674#M68420</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-20T14:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: tfileinputexcel empty row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295675#M68421</link>
      <description>OT: shong - for curiosity - are you using a specific software to make screenshots and annotation?</description>
      <pubDate>Sat, 20 Feb 2010 14:59:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295675#M68421</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-20T14:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: tfileinputexcel empty row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295676#M68422</link>
      <description>To emaxt6, i am using snagit 8 to capture screenshots.
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
      <pubDate>Sun, 21 Feb 2010 01:46:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295676#M68422</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-21T01:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: tfileinputexcel empty row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295677#M68423</link>
      <description>ok thanks shong seems a nice tool.</description>
      <pubDate>Sun, 21 Feb 2010 14:17:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295677#M68423</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-21T14:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: tfileinputexcel empty row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295678#M68424</link>
      <description>We are facing an Issue while extracting data from Excel 2007 File.&lt;BR /&gt; connecting to socket on port 3420&lt;BR /&gt; connected&lt;BR /&gt;Exception in component tFileInputExcel_2&lt;BR /&gt;java.lang.IllegalStateException: Bad cell type (3)&lt;BR /&gt;Did you come across this error.&lt;BR /&gt;Talend Version: 3.2.3 Integration Suite&lt;BR /&gt;Source: Excel 2007 (.xlsx)&lt;BR /&gt;Target: Mysql&lt;BR /&gt;I have 9 columns with blank cells here and there. At Talend level: I designated all columns as Nullable and Strings.</description>
      <pubDate>Tue, 06 Apr 2010 01:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295678#M68424</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-06T01:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: tfileinputexcel empty row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295679#M68425</link>
      <description>Hello vamsi27 
&lt;BR /&gt;Can you try to check/uncheck the 'Don't validate the cells' box on advanced settings panel and test again?. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 06 Apr 2010 04:37:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295679#M68425</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-06T04:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: tfileinputexcel empty row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295680#M68426</link>
      <description>Hello Shong,
&lt;BR /&gt;We are using .xlsx file as source.
&lt;BR /&gt;I see the option you suggested for xls file but not xlsx file.</description>
      <pubDate>Tue, 06 Apr 2010 06:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295680#M68426</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-06T06:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: tfileinputexcel empty row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295681#M68427</link>
      <description>Solution for the above Issue: (Anders Geving From Linked in pointed me to this link) 
&lt;BR /&gt; 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vD1CTCA0" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/How-can-add-extra-jdbc-settings-to-a-MySQL-connection/td-p/65450&lt;/A&gt; 
&lt;BR /&gt;Download the latest patch. This fixed my issue. 
&lt;BR /&gt;I added the latest Java Jet file to the components folder in talend and it worked for me.</description>
      <pubDate>Wed, 07 Apr 2010 18:41:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tfileinputexcel-empty-row/m-p/2295681#M68427</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-07T18:41:07Z</dc:date>
    </item>
  </channel>
</rss>

