<?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: [resolved] String--&amp;gt;BigDecimal conversion error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-String-gt-BigDecimal-conversion-error/m-p/2312680#M83610</link>
    <description>Yes it was null- I forget to include it in query &lt;BR /&gt;though added maunally in scheme&lt;BR /&gt;So in DB table it was filled but Null in Talend</description>
    <pubDate>Wed, 26 Sep 2012 14:49:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-09-26T14:49:31Z</dc:date>
    <item>
      <title>[resolved] String--&gt;BigDecimal conversion error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-String-gt-BigDecimal-conversion-error/m-p/2312678#M83608</link>
      <description>Hi All 
&lt;BR /&gt;found here : 
&lt;BR /&gt; 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vClyFCAS" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/DATA-TYPE-CONVERSION/td-p/81837&lt;/A&gt; 
&lt;BR /&gt;1. String--&amp;gt;BigDecimal 
&lt;BR /&gt;new java.math.BigDecimal(row1.columnName) 
&lt;BR /&gt;trying to do : 
&lt;BR /&gt;new java.math.BigDecimal(row1.price_txt) 
&lt;BR /&gt;in row1.price_txt (DB table) all values : '1234' 
&lt;BR /&gt;get error : 
&lt;BR /&gt;Exception in component tMap_1 
&lt;BR /&gt;java.lang.NullPointerException 
&lt;BR /&gt; at java.math.BigDecimal.&amp;lt;init&amp;gt;(Unknown Source) 
&lt;BR /&gt; at thinkbi_dev.j_context2_test_0_1.j_context2_test.tOracleInput_1Process(j_context2_test.java:1952) 
&lt;BR /&gt; at thinkbi_dev.j_context2_test_0_1.j_context2_test.runJobInTOS(j_context2_test.java:3268) 
&lt;BR /&gt; at thinkbi_dev.j_context2_test_0_1.j_context2_test.main(j_context2_test.java:3020) 
&lt;BR /&gt;Any ideas ? 
&lt;BR /&gt;1952 java code string 
&lt;BR /&gt;out1_tmp.p_bigdec = new java.math.BigDecimal( 
&lt;BR /&gt; row1.price_txt);</description>
      <pubDate>Wed, 26 Sep 2012 09:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-String-gt-BigDecimal-conversion-error/m-p/2312678#M83608</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-26T09:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] String--&gt;BigDecimal conversion error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-String-gt-BigDecimal-conversion-error/m-p/2312679#M83609</link>
      <description>Hi,&lt;BR /&gt;Probably your String is null sometimes. To avoid an NPE you could use a structure like this:&lt;BR /&gt;row1.price_txt != null ? new java.math.BigDecimal(row1.proce_txt) : null;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;Regards,&lt;BR /&gt;Arno</description>
      <pubDate>Wed, 26 Sep 2012 10:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-String-gt-BigDecimal-conversion-error/m-p/2312679#M83609</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-26T10:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] String--&gt;BigDecimal conversion error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-String-gt-BigDecimal-conversion-error/m-p/2312680#M83610</link>
      <description>Yes it was null- I forget to include it in query &lt;BR /&gt;though added maunally in scheme&lt;BR /&gt;So in DB table it was filled but Null in Talend</description>
      <pubDate>Wed, 26 Sep 2012 14:49:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-String-gt-BigDecimal-conversion-error/m-p/2312680#M83610</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-26T14:49:31Z</dc:date>
    </item>
  </channel>
</rss>

