<?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 java.lang.NumberFormatException: null  error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NumberFormatException-null-error/m-p/2227576#M19146</link>
    <description>&lt;P&gt;I'm on version 7.1.1 I am passing data into Salesforce (Output)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm getting another error i can't figure out what's going on in the tmap:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Error:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;java.lang.NumberFormatException: null&lt;BR /&gt;at java.lang.Integer.parseInt(Unknown Source)&lt;BR /&gt;at java.lang.Integer.valueOf(Unknown Source)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I've taken a screen shot of the mapping....most are string to string.... it's just one column where both the input and output are type BigDecimal that is the only one I can think of that might have an issue with NumberFormatException?&amp;nbsp;"0".equals(row16.YR_HSLD_INCOME)? null : row16.YR_HSLD_INCOME&amp;nbsp; I added the "0".equals just in case that would fix it but it didn't. (I don't think I really need that).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-07-12 at 10.28.27 AM.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6Zg.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151499iFE245AEFFE105927/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6Zg.png" alt="0683p000009M6Zg.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jul 2019 18:33:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-07-12T18:33:13Z</dc:date>
    <item>
      <title>java.lang.NumberFormatException: null  error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NumberFormatException-null-error/m-p/2227576#M19146</link>
      <description>&lt;P&gt;I'm on version 7.1.1 I am passing data into Salesforce (Output)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm getting another error i can't figure out what's going on in the tmap:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Error:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;java.lang.NumberFormatException: null&lt;BR /&gt;at java.lang.Integer.parseInt(Unknown Source)&lt;BR /&gt;at java.lang.Integer.valueOf(Unknown Source)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I've taken a screen shot of the mapping....most are string to string.... it's just one column where both the input and output are type BigDecimal that is the only one I can think of that might have an issue with NumberFormatException?&amp;nbsp;"0".equals(row16.YR_HSLD_INCOME)? null : row16.YR_HSLD_INCOME&amp;nbsp; I added the "0".equals just in case that would fix it but it didn't. (I don't think I really need that).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-07-12 at 10.28.27 AM.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6Zg.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151499iFE245AEFFE105927/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6Zg.png" alt="0683p000009M6Zg.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 18:33:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NumberFormatException-null-error/m-p/2227576#M19146</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-12T18:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NumberFormatException: null  error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NumberFormatException-null-error/m-p/2227577#M19147</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; I believe you are trying to do a string processing function to a numeric value. Could you please try below snippet and let us know the results?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;row16.YR_HSLD_INCOME==0?null:row16.YR_HSLD_INCOME&lt;/PRE&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 19:42:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NumberFormatException-null-error/m-p/2227577#M19147</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-12T19:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NumberFormatException: null  error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NumberFormatException-null-error/m-p/2227578#M19148</link>
      <description>&lt;P&gt;It's actually a BigDecimal to a Big Decimal and when i tried your solution i got a pop up error instead&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-07-12 at 11.49.31 AM.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6Zv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139803i98776D943179B1C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6Zv.png" alt="0683p000009M6Zv.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 19:49:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NumberFormatException-null-error/m-p/2227578#M19148</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-12T19:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NumberFormatException: null  error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NumberFormatException-null-error/m-p/2227579#M19149</link>
      <description>&lt;P&gt;Ok.. Lets try BigDecimal function then.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(row2.data.compareTo(BigDecimal.ZERO)== 0)?null:row2.data &lt;/PRE&gt;
&lt;P&gt;Please try like above and let us know your results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 20:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NumberFormatException-null-error/m-p/2227579#M19149</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-12T20:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NumberFormatException: null  error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NumberFormatException-null-error/m-p/2227580#M19150</link>
      <description>&lt;P&gt;so strange, i tried your BigDecimal version and still getting the Null error! All other Output columns are mostly string to string and one date to date. Any other ideas? I'm completely stuck. Thanks!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-07-16 at 9.45.17 AM.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6cB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129849i03936F9D783A6B84/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6cB.png" alt="0683p000009M6cB.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-07-16 at 9.45.39 AM.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6cG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146302iB908EE1694BCCC73/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6cG.png" alt="0683p000009M6cG.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 17:52:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NumberFormatException-null-error/m-p/2227580#M19150</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-16T17:52:20Z</dc:date>
    </item>
  </channel>
</rss>

