<?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: Nullpointer exception when using variable in tRestClient in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Nullpointer-exception-when-using-variable-in-tRestClient/m-p/2273864#M50717</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;With tFlowToIterate, the default name from global variables is based on input flow, not output flow.&lt;/P&gt; 
&lt;P&gt;So, replace "row2.address" by "row1.address" and try again.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jun 2017 11:55:42 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2017-06-13T11:55:42Z</dc:date>
    <item>
      <title>Nullpointer exception when using variable in tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Nullpointer-exception-when-using-variable-in-tRestClient/m-p/2273863#M50716</link>
      <description>&lt;P&gt;Hello Talend Community&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am attempting the following.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Read from database, create variable, use variable in a REST service parameter for execution.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Attached is my job details and error.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When I change the variable from&amp;nbsp;((String)globalMap.get("row2.address")) to static "1", everything works fine&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Job Steps:&lt;/P&gt; 
&lt;P&gt;tMysqlInput--(Main)-&amp;gt;tFlowToIterate--(Iterate)---&amp;gt;tFixedFlowInput--(Main)--&amp;gt;TRESTClient---&amp;gt;tLogRow&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have looked at this thread (&lt;A href="https://www.talendforge.org/forum/viewtopic.php?pid=140765#p140765" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.talendforge.org/forum/viewtopic.php?pid=140765#p140765&lt;/A&gt;) but the steps also leads to the same result&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="configRest.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Luha.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136765iC00C4B862727F697/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Luha.png" alt="0683p000009Luha.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error.PNG" style="width: 871px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Luew.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151585i986C1B4B6F023360/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Luew.png" alt="0683p000009Luew.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="job.PNG" style="width: 611px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LtjR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129159iD87589497532D30B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LtjR.png" alt="0683p000009LtjR.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Job&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:38:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Nullpointer-exception-when-using-variable-in-tRestClient/m-p/2273863#M50716</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Nullpointer exception when using variable in tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Nullpointer-exception-when-using-variable-in-tRestClient/m-p/2273864#M50717</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;With tFlowToIterate, the default name from global variables is based on input flow, not output flow.&lt;/P&gt; 
&lt;P&gt;So, replace "row2.address" by "row1.address" and try again.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 11:55:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Nullpointer-exception-when-using-variable-in-tRestClient/m-p/2273864#M50717</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-06-13T11:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Nullpointer exception when using variable in tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Nullpointer-exception-when-using-variable-in-tRestClient/m-p/2273865#M50718</link>
      <description>&lt;P&gt;Thanks TRF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Worked like a charm!!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 13:21:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Nullpointer-exception-when-using-variable-in-tRestClient/m-p/2273865#M50718</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-13T13:21:44Z</dc:date>
    </item>
  </channel>
</rss>

