<?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: tFileInputDelimited - Exception Error with white spaces in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileInputDelimited-Exception-Error-with-white-spaces/m-p/2311391#M82436</link>
    <description>Hello, 
&lt;BR /&gt;" Model Name" is not a valid Number for your column. 
&lt;BR /&gt;It really looks like the first line of your file. If so, you may add a header of 1 to your tFileInputDelimited. 
&lt;BR /&gt;Else you need to read it as a String and use a tSchemaComplianceCheck. 
&lt;BR /&gt;Regards,</description>
    <pubDate>Wed, 24 Oct 2007 16:37:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-10-24T16:37:26Z</dc:date>
    <item>
      <title>tFileInputDelimited - Exception Error with white spaces</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputDelimited-Exception-Error-with-white-spaces/m-p/2311390#M82435</link>
      <description>Hi - I've run across a problem with the tFileInputDelimited component. I have a delimited file using the "|" character as the column delimiter. Some of the columns have some embedded white spaces though ( I think they are tab characters). When I attempt to import the file, I'm getting an exception error. Some come in fine, but the records that appear to have the additional white spaces cause the exception error. I tried using a tMap with a trim() expression to trim off the white space, but the error occurs in the tFileInputDelimited component before reaching the tMap. If I use a text editor to remove the white spaces (or tab characters) it works fine. 
&lt;BR /&gt;is there a way to ignore the white spaces or tab characters and avoid the exception error? Just hoping to avoid any pre-processing of the file before the import. 
&lt;BR /&gt;I'm using Talend 2.2.0 on windows. Error message is: 
&lt;BR /&gt;Exception in component tFileInputDelimited_2 
&lt;BR /&gt;java.lang.NumberFormatException: For input string: " Model Name" 
&lt;BR /&gt; at java.lang.NumberFormatException.forInputString(Unknown Source) 
&lt;BR /&gt; at java.lang.Integer.parseInt(Unknown Source) 
&lt;BR /&gt; at java.lang.Integer.parseInt(Unknown Source) 
&lt;BR /&gt; at routines.system.ParserUtils.parseTo_Integer(ParserUtils.java:73) 
&lt;BR /&gt; at newweb.ldsimport.LDSImport.tFileInputDelimited_2Process(LDSImport.java:186) 
&lt;BR /&gt; at newweb.ldsimport.LDSImport.runJob(LDSImport.java:510) 
&lt;BR /&gt; at newweb.ldsimport.LDSImport.main(LDSImport.java:448)</description>
      <pubDate>Sat, 16 Nov 2024 14:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputDelimited-Exception-Error-with-white-spaces/m-p/2311390#M82435</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputDelimited - Exception Error with white spaces</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputDelimited-Exception-Error-with-white-spaces/m-p/2311391#M82436</link>
      <description>Hello, 
&lt;BR /&gt;" Model Name" is not a valid Number for your column. 
&lt;BR /&gt;It really looks like the first line of your file. If so, you may add a header of 1 to your tFileInputDelimited. 
&lt;BR /&gt;Else you need to read it as a String and use a tSchemaComplianceCheck. 
&lt;BR /&gt;Regards,</description>
      <pubDate>Wed, 24 Oct 2007 16:37:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputDelimited-Exception-Error-with-white-spaces/m-p/2311391#M82436</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-10-24T16:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputDelimited - Exception Error with white spaces</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputDelimited-Exception-Error-with-white-spaces/m-p/2311392#M82437</link>
      <description>Thanks for the reply, but "Model Name" is the String, not the header name. And it works fine on other rows in the file unless there are embedded tabs in the data.</description>
      <pubDate>Wed, 24 Oct 2007 17:23:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputDelimited-Exception-Error-with-white-spaces/m-p/2311392#M82437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-10-24T17:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputDelimited - Exception Error with white spaces</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputDelimited-Exception-Error-with-white-spaces/m-p/2311393#M82438</link>
      <description>Hi headjoog,&amp;nbsp;&lt;BR /&gt;Did you get any solution, even i'm facing same issue. Can you please help me out.</description>
      <pubDate>Tue, 05 Jul 2016 07:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputDelimited-Exception-Error-with-white-spaces/m-p/2311393#M82438</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-05T07:54:31Z</dc:date>
    </item>
  </channel>
</rss>

