<?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: tFileInputJSON: no Getter for field scale in class BigDecimal in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296253#M68937</link>
    <description>Hi&amp;nbsp; 
&lt;BR /&gt;I tested your example file with studio 6.1.1, &amp;nbsp;and it works, i select 'xpath' model to read the file, see 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009ME2W.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130682iA9710B962B5EA3C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009ME2W.png" alt="0683p000009ME2W.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009ME2b.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132470iCD331EAF13244AE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009ME2b.png" alt="0683p000009ME2b.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
    <pubDate>Sat, 30 Apr 2016 12:01:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-30T12:01:12Z</dc:date>
    <item>
      <title>tFileInputJSON: no Getter for field scale in class BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296252#M68936</link>
      <description>Hello, 
&lt;BR /&gt;I'm reading some JSON files using tFileInputJSON component configured as the attached screenshot. 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/65602/blob.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDr5.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153355i75E98F2D37FBAFE3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDr5.png" alt="0683p000009MDr5.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;The problem is: whenever a file has numeric values with large decimal scale like 0.39268000000000003 and not enclosed by double quotes, I get the following exception: 
&lt;BR /&gt; 
&lt;FONT color="#ff3333"&gt;java.lang.RuntimeException: no Getter for field scale in class java.math.BigDecimal&lt;/FONT&gt; 
&lt;BR /&gt;This happens no matter the data type configured in the component schema, even if everything is configured as String data type. 
&lt;BR /&gt;Here is a sample of the file: 
&lt;BR /&gt; 
&lt;BR /&gt;{ 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "cemaden": 
&lt;BR /&gt;} 
&lt;BR /&gt;The cause of this exception is highlighted in bold. If this field is enclosed by double quotes, the file is read without errors. 
&lt;BR /&gt;Is there a way to overwhelm this exception without editing the file? 
&lt;BR /&gt;Thanks in advance. 
&lt;BR /&gt;Anselmo</description>
      <pubDate>Thu, 28 Apr 2016 17:29:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296252#M68936</guid>
      <dc:creator>anselmopeixoto</dc:creator>
      <dc:date>2016-04-28T17:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputJSON: no Getter for field scale in class BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296253#M68937</link>
      <description>Hi&amp;nbsp; 
&lt;BR /&gt;I tested your example file with studio 6.1.1, &amp;nbsp;and it works, i select 'xpath' model to read the file, see 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009ME2W.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130682iA9710B962B5EA3C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009ME2W.png" alt="0683p000009ME2W.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009ME2b.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132470iCD331EAF13244AE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009ME2b.png" alt="0683p000009ME2b.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Sat, 30 Apr 2016 12:01:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296253#M68937</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-30T12:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputJSON: no Getter for field scale in class BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296254#M68938</link>
      <description>Hi shong, thank you. I'll try as you suggested. 
&lt;BR /&gt;Did it also succeeded in your environment using JsonPath in the Read by field? 
&lt;BR /&gt;According to the manual, "is recommended to read the data by JSONPath in order to gain better performance" 
&lt;BR /&gt; 
&lt;A href="https://help.talend.com/search/all?query=tFileInputJSON&amp;amp;content-lang=en" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=tFileInputJSON&amp;amp;content-lang=en&lt;/A&gt; 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Anselmo</description>
      <pubDate>Sat, 30 Apr 2016 23:14:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296254#M68938</guid>
      <dc:creator>anselmopeixoto</dc:creator>
      <dc:date>2016-04-30T23:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputJSON: no Getter for field scale in class BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296255#M68939</link>
      <description>Hi &amp;nbsp; 
&lt;BR /&gt;The JSONPath model does not work, it say that no data is read from this file. If the file is not very big, there is no obvious performance difference.&amp;nbsp; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Sun, 01 May 2016 04:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296255#M68939</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-01T04:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputJSON: no Getter for field scale in class BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296256#M68940</link>
      <description>Hello,
&lt;BR /&gt;I'm facing the same issue, both with tFileInputJson and tExtractJsonFields.&amp;nbsp;Also, if I try to use the xpath model I get "Cannot determine next state" error. So I'm stuck here... is there any way of solving any of those errors?
&lt;BR /&gt;Thanks.</description>
      <pubDate>Wed, 13 Jul 2016 08:59:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296256#M68940</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-07-13T08:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputJSON: no Getter for field scale in class BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296257#M68941</link>
      <description>Hi, 
&lt;BR /&gt;Regarding JSONPath, I reported a bug here: 
&lt;A href="https://jira.talendforge.org/browse/TDI-35990" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDI-35990&lt;/A&gt; 
&lt;BR /&gt;And about "Cannot determine next state" error with xpath I don't know what could cause this, maybe you could provide more details of your component's configuration. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Anselmo</description>
      <pubDate>Wed, 13 Jul 2016 12:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296257#M68941</guid>
      <dc:creator>anselmopeixoto</dc:creator>
      <dc:date>2016-07-13T12:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputJSON: no Getter for field scale in class BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296258#M68942</link>
      <description>Hi, 
&lt;BR /&gt;I am glad to see you guys working on this, since it is a big sticking point for my team whether to move ahead with Talend's Data Integration product. 
&lt;BR /&gt;Can the dev team also include a fix to the ticket for the tExtractJSONFields component as well? &amp;nbsp;It has the same issue with big decimals, and is the main problem I am having right now with the software. 
&lt;BR /&gt;In addition, when the fix is implemented, would it be possible to have the software handle decimal numbers that are too large for the BigDecimal datatype?&amp;nbsp; Having an option for the user to truncate or round just before the parse is done would be ideal, because it is very possible a JSON document could have these large problematic numbers, due to the way JavaScript handles numbers internally (i.e., a number is a number).</description>
      <pubDate>Wed, 13 Jul 2016 22:10:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296258#M68942</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-13T22:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputJSON: no Getter for field scale in class BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296259#M68943</link>
      <description>I have downloaded the latest version&amp;nbsp;TOS_BD-20160901_1543-V6.3.0M2, but still no luck?
&lt;BR /&gt;Any update by when it would be fixed?
&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 05 Sep 2016 09:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296259#M68943</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-09-05T09:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputJSON: no Getter for field scale in class BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296260#M68944</link>
      <description>Hello Ahmed, please follow jira ticket 
&lt;A href="https://jira.talendforge.org/browse/TDI-35990" target="_blank" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDI-35990&lt;/A&gt; 
&lt;BR /&gt;It seems that this bug is going to be resolved in the next release, 6.3.1. 
&lt;BR /&gt;Best regards, 
&lt;BR /&gt;Anselmo</description>
      <pubDate>Mon, 05 Sep 2016 15:59:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296260#M68944</guid>
      <dc:creator>anselmopeixoto</dc:creator>
      <dc:date>2016-09-05T15:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputJSON: no Getter for field scale in class BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296261#M68945</link>
      <description>Thanks&amp;nbsp; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Anselmo&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 14 Sep 2016 20:02:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296261#M68945</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-09-14T20:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputJSON: no Getter for field scale in class BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296262#M68946</link>
      <description>Hello guys, 
&lt;BR /&gt;I'm having the exact same issue with the tExtractJSONFields component, and followed these steps: 
&lt;BR /&gt; 
&lt;BR /&gt;upgrading Talend to 6.3.0 
&lt;BR /&gt;updating 3 components ( 
&lt;I&gt;accessors-smart-1.1&lt;/I&gt;, 
&lt;I&gt;asm-5.0.3&lt;/I&gt; and 
&lt;I&gt;json-smart-2.2.1&lt;/I&gt;) 
&lt;BR /&gt; 
&lt;BR /&gt;But no luck so far.. I can not even use Xpath instead of JsonPath because it throws the "Cannot determine next state" error reported above. 
&lt;BR /&gt;Has any of you found a workaround until the 6.3.1 release is available ? 
&lt;BR /&gt;Thanks for your tips,&amp;nbsp; 
&lt;BR /&gt;Maxime.</description>
      <pubDate>Mon, 26 Dec 2016 14:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296262#M68946</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-26T14:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputJSON: no Getter for field scale in class BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296263#M68947</link>
      <description>I solved it by having a tJavaRow and rounding the values.</description>
      <pubDate>Fri, 10 Feb 2017 12:37:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-no-Getter-for-field-scale-in-class-BigDecimal/m-p/2296263#M68947</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-10T12:37:16Z</dc:date>
    </item>
  </channel>
</rss>

