<?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: Identity transform tjavarow, reflection fields in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Identity-transform-tjavarow-reflection-fields/m-p/2254628#M37583</link>
    <description>Oops, used input_row twice.. it worked after I fixed it</description>
    <pubDate>Sat, 22 Dec 2018 04:37:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-12-22T04:37:06Z</dc:date>
    <item>
      <title>Identity transform tjavarow, reflection fields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Identity-transform-tjavarow-reflection-fields/m-p/2254627#M37582</link>
      <description>&lt;P&gt;I'm trying to just trying to copy input fields to output fields,&amp;nbsp;using tJavarow, and I'm getting the error&amp;nbsp;&lt;FONT size="1 2 3 4 5 6 7" color="#800000"&gt;java.lang.IllegalArgumentException: Can not set boolean field&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;This is my code,&lt;/P&gt;
&lt;PRE&gt;        Field[] input_row_f = input_row.getClass().getDeclaredFields();
        Field[] output_row_f = input_row.getClass().getDeclaredFields();

        for (int i = 0; i &amp;lt; input_row_f.length; i++) {
            Field input_field = input_row_f[i];
            Field output_field = output_row_f[i];

            int mod = input_field.getModifiers();
            if (!Modifier.isStatic(mod) &amp;amp;&amp;amp; Modifier.isPublic(mod)) {
            
	           output_field.set(output_row, input_field.get(input_row));
	        }
        }&lt;/PRE&gt;
&lt;P&gt;Shouldn't this work?&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm not even changing the values from one to the other, and the schema is the same in both directions.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Dec 2018 04:28:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Identity-transform-tjavarow-reflection-fields/m-p/2254627#M37582</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-22T04:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Identity transform tjavarow, reflection fields</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Identity-transform-tjavarow-reflection-fields/m-p/2254628#M37583</link>
      <description>Oops, used input_row twice.. it worked after I fixed it</description>
      <pubDate>Sat, 22 Dec 2018 04:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Identity-transform-tjavarow-reflection-fields/m-p/2254628#M37583</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-22T04:37:06Z</dc:date>
    </item>
  </channel>
</rss>

