<?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: Unparseable number error for tFileInputExcel component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Unparseable-number-error-for-tFileInputExcel-component/m-p/2332993#M101819</link>
    <description>Hi&lt;BR /&gt;Alternatively you can upgrade your talend version, I can not reproduce the problem in 5.3.0&lt;BR /&gt;Regards,&lt;BR /&gt;Brandon</description>
    <pubDate>Fri, 24 May 2013 13:36:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-05-24T13:36:29Z</dc:date>
    <item>
      <title>Unparseable number error for tFileInputExcel component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unparseable-number-error-for-tFileInputExcel-component/m-p/2332988#M101814</link>
      <description>Hi all,
&lt;BR /&gt;We have an excel spreadsheet which the tFileInputExcel component is reading from. There are cells in the spreadsheet that contain the following custom formatting:
&lt;BR /&gt;#,##0.0,_);(#,##0.0,);"-"
&lt;BR /&gt;The part to note in the above formatting string is the "-". When a value of 0 is detected a dash is displayed in the cell.
&lt;BR /&gt;In our job when the tFileInputExcel component tries to read a cell with this formatting that contains the dash the following error occurs: 
&lt;BR /&gt;Exception in component tFileInputExcel_3
&lt;BR /&gt;java.text.ParseException: Unparseable number: ""-""
&lt;BR /&gt; at java.text.NumberFormat.parse(Unknown Source)
&lt;BR /&gt; at emt.loadfinancereportspreadsheet_0_1.LoadFinanceReportSpreadsheet.tFileInputExcel_3Process(LoadFinanceReportSpreadsheet.java:9807)
&lt;BR /&gt; at... 
&lt;BR /&gt;From viewing line 9807 I can see that the value of .getCellType() is CELL_TYPE_FORMULA (as I would have expected) and that the value of .getCachedFormulaResultType() is CELL_TYPE_NUMERIC (which I believe is incorrect due to the cell possibly containing a string).
&lt;BR /&gt;Is this a bug?
&lt;BR /&gt;This error was encountered in Talend Open Studio for Data Integration version 5.1.2.
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Michael</description>
      <pubDate>Thu, 16 May 2013 14:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unparseable-number-error-for-tFileInputExcel-component/m-p/2332988#M101814</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-16T14:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unparseable number error for tFileInputExcel component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unparseable-number-error-for-tFileInputExcel-component/m-p/2332989#M101815</link>
      <description>Hi, 
&lt;BR /&gt;How to set your schema? Is it a String type? Screenshot of schema and work flow will be appreciated. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEWb.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134232i7DD4B37BD1A67E53/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEWb.png" alt="0683p000009MEWb.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEWg.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147209i75E6B0298D5D3E6B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEWg.png" alt="0683p000009MEWg.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 17 May 2013 04:13:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unparseable-number-error-for-tFileInputExcel-component/m-p/2332989#M101815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-17T04:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unparseable number error for tFileInputExcel component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unparseable-number-error-for-tFileInputExcel-component/m-p/2332990#M101816</link>
      <description>Hi Sabrina, 
&lt;BR /&gt;Thanks for the reply. 
&lt;BR /&gt;Please find attached four images demonstrating my situation. 
&lt;BR /&gt;Image 1 shows my workflow and the error that is produced. 
&lt;BR /&gt;Image 2 shows my schema and that it is set to read it as a string. 
&lt;BR /&gt;Image 3 displays the generated code that fails. On line 1125 the cell is successfully identified as a formula. The code on lines 1126 and 1127 identify the result type as being numeric and then on line 1142 you assume you can convert the value to a number. This is the line that fails as it tries to convert "-" to a number. 
&lt;BR /&gt;Image 4 shows an example of the spreadsheet the job is trying to read. If you can reproduce this on your end you should be able to replicate the error. The formatting is only set on cell A1. Cell A1 has a value of =B1 and cell B1 has a value of 0. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Michael 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEWl.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131263i50012E56E66DFFF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEWl.png" alt="0683p000009MEWl.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEV0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135584iB44DD7A0440A8B7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEV0.png" alt="0683p000009MEV0.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEWq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145651i9AA4D00BBB251DA1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEWq.png" alt="0683p000009MEWq.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEWv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/127841iCAE8A479603F6B84/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEWv.png" alt="0683p000009MEWv.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 17 May 2013 09:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unparseable-number-error-for-tFileInputExcel-component/m-p/2332990#M101816</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-17T09:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unparseable number error for tFileInputExcel component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unparseable-number-error-for-tFileInputExcel-component/m-p/2332991#M101817</link>
      <description>Hi,
&lt;BR /&gt;Is there any update on my issue? If my last post wasn't clear I can try to be clearer.
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Michael</description>
      <pubDate>Wed, 22 May 2013 15:06:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unparseable-number-error-for-tFileInputExcel-component/m-p/2332991#M101817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-22T15:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unparseable number error for tFileInputExcel component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unparseable-number-error-for-tFileInputExcel-component/m-p/2332992#M101818</link>
      <description>Your picture shows the problem in the generated code. The format method is not needed here and this format method is what causes the problem.&lt;BR /&gt;As far as Talend has fixed this issue you can try the component tFileExcelSheetInput from talend exchange. This component does not have this bug. It would be great to know if it helps you to solve your problem.</description>
      <pubDate>Wed, 22 May 2013 19:48:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unparseable-number-error-for-tFileInputExcel-component/m-p/2332992#M101818</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-22T19:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unparseable number error for tFileInputExcel component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unparseable-number-error-for-tFileInputExcel-component/m-p/2332993#M101819</link>
      <description>Hi&lt;BR /&gt;Alternatively you can upgrade your talend version, I can not reproduce the problem in 5.3.0&lt;BR /&gt;Regards,&lt;BR /&gt;Brandon</description>
      <pubDate>Fri, 24 May 2013 13:36:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unparseable-number-error-for-tFileInputExcel-component/m-p/2332993#M101819</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-24T13:36:29Z</dc:date>
    </item>
  </channel>
</rss>

