<?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: Converting from integer to string gives null in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Converting-from-integer-to-string-gives-null/m-p/2319443#M89688</link>
    <description>&lt;P&gt;Not a problem. Whenever you get null where you are expecting a value, it is always a good idea to look at the data and the sequence of events. You knew that the data was OK, hence my first thought of it being down to the sequence of events. Thanks for letting us know that it is sorted &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Aug 2022 14:12:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-08-26T14:12:43Z</dc:date>
    <item>
      <title>Converting from integer to string gives null</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-from-integer-to-string-gives-null/m-p/2319440#M89685</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I try to display the number of rows (tFileRowCount) in String after conversion (for a string column in database), but I have "null" as value. However, before the conversion, the value is displayed well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000UxmW3AAJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143785i0C74FB412666C7BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000UxmW3AAJ.png" alt="0695b00000UxmW3AAJ.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;&lt;P&gt;In the tJava, I have :&lt;/P&gt;&lt;P&gt;&lt;B&gt;System.out.println(((Integer)globalMap.get("tFileRowCount_1_COUNT")));&lt;/B&gt;&lt;/P&gt;&lt;P&gt;and it displays my integer correctly like 25000.&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;P&gt;In the tJavaRow, I have : &lt;/P&gt;&lt;P&gt;&lt;B&gt;globalMap.put("nb_lignes_fic", String.valueOf(((Integer)globalMap.get("tFileRowCount_1_COUNT"))));&amp;nbsp;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;System.out.println(((String)globalMap.get("nb_lignes_fic")));&lt;/B&gt;&lt;/P&gt;&lt;P&gt;and it displays "null".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to convert this integer to a string for the string column that retrieves this data from the database. But I don't want to insert "null".&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-from-integer-to-string-gives-null/m-p/2319440#M89685</guid>
      <dc:creator>stephbzr</dc:creator>
      <dc:date>2024-11-15T22:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from integer to string gives null</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-from-integer-to-string-gives-null/m-p/2319441#M89686</link>
      <description>&lt;P&gt;Can you show us a bit more of your job please? This could be down to a timing issue. &lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 12:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-from-integer-to-string-gives-null/m-p/2319441#M89686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-26T12:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from integer to string gives null</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-from-integer-to-string-gives-null/m-p/2319442#M89687</link>
      <description>&lt;P&gt;Indeed you are right, it is a bad order of sequence. I corrected it by changing the order of the connectors. Thanks a lot for this idea !&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 13:02:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-from-integer-to-string-gives-null/m-p/2319442#M89687</guid>
      <dc:creator>stephbzr</dc:creator>
      <dc:date>2022-08-26T13:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from integer to string gives null</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-from-integer-to-string-gives-null/m-p/2319443#M89688</link>
      <description>&lt;P&gt;Not a problem. Whenever you get null where you are expecting a value, it is always a good idea to look at the data and the sequence of events. You knew that the data was OK, hence my first thought of it being down to the sequence of events. Thanks for letting us know that it is sorted &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 14:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-from-integer-to-string-gives-null/m-p/2319443#M89688</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-26T14:12:43Z</dc:date>
    </item>
  </channel>
</rss>

