<?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: Data_Type converstion Error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356225#M121799</link>
    <description>&lt;P&gt;Again i'm getting java.lang.NullPointerException.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jul 2021 11:22:54 GMT</pubDate>
    <dc:creator>Talend_ent</dc:creator>
    <dc:date>2021-07-21T11:22:54Z</dc:date>
    <item>
      <title>Data_Type converstion Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356216#M121790</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to convert integer column to string getting "java. lang.NumberFormatException: For input string:" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my input integer column is as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  1234&lt;/P&gt;&lt;P&gt;     4467&lt;/P&gt;&lt;P&gt;   4646&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;opt:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1234&lt;/P&gt;&lt;P&gt;4467&lt;/P&gt;&lt;P&gt;4646&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with &lt;B&gt;Integer.toString(row1.emp_num)&lt;/B&gt; it throwing Number format exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions would be helpful &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Talend_ent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:55:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356216#M121790</guid>
      <dc:creator>Talend_ent</dc:creator>
      <dc:date>2024-11-15T23:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Data_Type converstion Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356217#M121791</link>
      <description>&lt;P&gt;The input column contains leading spaces.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 04:40:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356217#M121791</guid>
      <dc:creator>Talend_ent</dc:creator>
      <dc:date>2021-07-21T04:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Data_Type converstion Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356218#M121792</link>
      <description>&lt;P&gt;Hi, have you tried String.valueOf(row1.emp_num) ?&lt;/P&gt;&lt;P&gt;Send me Love and kudos&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 06:44:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356218#M121792</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-07-21T06:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Data_Type converstion Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356219#M121793</link>
      <description>&lt;P&gt;@guenneguez jeremy​ yes, I tried with  String.ValueOf() getting same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 06:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356219#M121793</guid>
      <dc:creator>Talend_ent</dc:creator>
      <dc:date>2021-07-21T06:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Data_Type converstion Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356220#M121794</link>
      <description>&lt;P&gt;with wich component do you read data ?&lt;/P&gt;&lt;P&gt;what is your data source (csv ,database,xml...)?&lt;/P&gt;&lt;P&gt;are you succeed in reading it as number ?&lt;/P&gt;&lt;P&gt;if it's csv for example just change the type of your column in the schema to string in tfileinputdelimited component&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 06:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356220#M121794</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-07-21T06:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Data_Type converstion Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356221#M121795</link>
      <description>&lt;P&gt;@guenneguez jeremy​&amp;nbsp; my source is xml and I changed the datatype as a string it is working fine .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I using datatype converstion in tMap getting null pointer exception here is my tmap expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;row1.emp_num.equals(null)||row1.emp_num==null?null:Integer.parseInt(row1.emp_num.trim());&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any workaround.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 07:14:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356221#M121795</guid>
      <dc:creator>Talend_ent</dc:creator>
      <dc:date>2021-07-21T07:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Data_Type converstion Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356222#M121796</link>
      <description>&lt;P&gt;(row1.emp_num!=null &amp;amp;&amp;amp; !row1.emp_num.equals("null"))?Integer.parseInt(row1.emp_num.trim()):null&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(row1.emp_num!=null &amp;amp;&amp;amp; !(row1.emp_num.replaceAll("\\D")).equals("") )?Integer.parseInt(row1.emp_num.trim()):null&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for the second one i test null value then i look if when i delete all non digit char there is an empty value or not&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 07:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356222#M121796</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-07-21T07:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Data_Type converstion Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356223#M121797</link>
      <description>&lt;P&gt;For the first expression it throwing null pointer exception. coming to the second one in&lt;B&gt; replaceall method&lt;/B&gt; you're using single argument instead of two. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;attachment shows the error for second expression.&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000H83bnAAB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138025iEC9E109C483692D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000H83bnAAB.png" alt="0695b00000H83bnAAB.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 09:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356223#M121797</guid>
      <dc:creator>Talend_ent</dc:creator>
      <dc:date>2021-07-21T09:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Data_Type converstion Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356224#M121798</link>
      <description>&lt;P&gt;sorry my fault :&lt;/P&gt;&lt;P&gt;(row1.emp_num!=null &amp;amp;&amp;amp; !(row1.emp_num.replaceAll("\\D","")).equals("") )?Integer.parseInt(row1.emp_num.trim()):null&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 09:50:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356224#M121798</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-07-21T09:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Data_Type converstion Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356225#M121799</link>
      <description>&lt;P&gt;Again i'm getting java.lang.NullPointerException.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 11:22:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356225#M121799</guid>
      <dc:creator>Talend_ent</dc:creator>
      <dc:date>2021-07-21T11:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Data_Type converstion Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356226#M121800</link>
      <description>&lt;P&gt;couls you send some capture of the components , input flow ,input output schema of the component ?&lt;/P&gt;&lt;P&gt;cause I try with this in entry as string :&lt;/P&gt;&lt;P&gt;&amp;nbsp;1234&lt;/P&gt;&lt;P&gt;4467&lt;/P&gt;&lt;P&gt;4646&lt;/P&gt;&lt;P&gt;opt:&lt;/P&gt;&lt;P&gt;1234&lt;/P&gt;&lt;P&gt;4467&lt;/P&gt;&lt;P&gt;4646&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and in output int nullable&lt;/P&gt;&lt;P&gt;it works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;result :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1234&lt;/P&gt;&lt;P&gt;4467&lt;/P&gt;&lt;P&gt;4646&lt;/P&gt;&lt;P&gt;null&lt;/P&gt;&lt;P&gt;1234&lt;/P&gt;&lt;P&gt;4467&lt;/P&gt;&lt;P&gt;4646&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 12:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356226#M121800</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-07-21T12:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Data_Type converstion Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356227#M121801</link>
      <description>&lt;P&gt;Hi  @guenneguez jeremy please find the attachments regarding job design and respective component configuration.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 15:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356227#M121801</guid>
      <dc:creator>Talend_ent</dc:creator>
      <dc:date>2021-07-21T15:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Data_Type converstion Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356228#M121802</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000H85r4AAB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132865i2675A62E0CD4FAE1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000H85r4AAB.png" alt="0695b00000H85r4AAB.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 15:37:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356228#M121802</guid>
      <dc:creator>Talend_ent</dc:creator>
      <dc:date>2021-07-21T15:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Data_Type converstion Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356229#M121803</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000H85rJAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151241iD1C5CD654E161F00/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000H85rJAAR.png" alt="0695b00000H85rJAAR.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 15:39:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356229#M121803</guid>
      <dc:creator>Talend_ent</dc:creator>
      <dc:date>2021-07-21T15:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Data_Type converstion Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356230#M121804</link>
      <description>&lt;P&gt;Ok var1 is an int ,it doesn’t support null value, so set Integer instead of int in the schema of var1 and in the tmap &lt;A href="http://output.it" alt="http://output.it" target="_blank"&gt;output schema checked null for your int type of var1 field. it&lt;/A&gt; will transform it as Integer wich support null value.&lt;/P&gt;&lt;P&gt;Send me Love and Kudos&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 16:16:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-Type-converstion-Error/m-p/2356230#M121804</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-07-21T16:16:51Z</dc:date>
    </item>
  </channel>
</rss>

