<?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: txmlMAp issue: java.lang.RuntimeException: row1.body can't be empty in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281783#M56210</link>
    <description>&lt;P&gt;The solution that&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt; suggested should work using tConvertType.&amp;nbsp; You may have something configured incorrectly.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;See the output of my test job:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;Starting job TestXmlBodyToMap at 21:15 13/06/2019.

[statistics] connecting to socket on port 3807
[statistics] connected
.----------------------------------------------------------------------------------------------------------------------------------------------------------.
|                                                                      #1. tLogRow_1                                                                       |
+--------+-------------------------------------------------------------------------------------------------------------------------------------------------+
| key    | value                                                                                                                                           |
+--------+-------------------------------------------------------------------------------------------------------------------------------------------------+
| string | &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;people&amp;gt;&amp;lt;person&amp;gt;&amp;lt;id&amp;gt;1&amp;lt;/id&amp;gt;&amp;lt;name&amp;gt;Bob&amp;lt;/name&amp;gt;&amp;lt;/person&amp;gt;&amp;lt;person&amp;gt;&amp;lt;id&amp;gt;2&amp;lt;/id&amp;gt;&amp;lt;name&amp;gt;Sally&amp;lt;/name&amp;gt;&amp;lt;/person&amp;gt;&amp;lt;/people&amp;gt; |
+--------+-------------------------------------------------------------------------------------------------------------------------------------------------+

.--------------.
|#1. tLogRow_2 |
+------+-------+
| key  | value |
+------+-------+
| id   | 1     |
| name | Bob   |
+------+-------+

.--------------.
|#2. tLogRow_2 |
+------+-------+
| key  | value |
+------+-------+
| id   | 2     |
| name | Sally |
+------+-------+

[statistics] disconnected

Job TestXmlBodyToMap ended at 21:15 13/06/2019. [exit code=0]&lt;/PRE&gt; 
&lt;P&gt;and the screenshot of the job showing the details of the tConvertType component:&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="xml-string-to-doc.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5tx.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139311i6AF1DE03F1F9E32D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5tx.png" alt="0683p000009M5tx.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I am also attaching the export of my test project in case you want to look at all the details.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lvvo"&gt;TestXmlBodyToMap.zip&lt;/A&gt;</description>
    <pubDate>Fri, 14 Jun 2019 02:19:25 GMT</pubDate>
    <dc:creator>nfz11</dc:creator>
    <dc:date>2019-06-14T02:19:25Z</dc:date>
    <item>
      <title>txmlMAp issue: java.lang.RuntimeException: row1.body can't be empty</title>
      <link>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281777#M56204</link>
      <description>&lt;P&gt;I am using a tRestclient component which returns xml response. I am using tXMLMap to parse the xml. After defining the input structure i am gettting this issue. See below for my job. I am able to get response from rest client but tXMLMAP gives this error. Please see all screenshots below:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&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="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzWT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156334iC7C0AE352F9EF93D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzWT.png" alt="0683p000009LzWT.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 964px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzWY.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136787iD072F5B3CCAFE378/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzWY.jpg" alt="0683p000009LzWY.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 909px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzAJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131434i9E9B5F69523C86DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzAJ.png" alt="0683p000009LzAJ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 21:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281777#M56204</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-12T21:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: txmlMAp issue: java.lang.RuntimeException: row1.body can't be empty</title>
      <link>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281778#M56205</link>
      <description>&lt;P&gt;Place a tLogRow after your tRestClient and look at the data. Set the tLogRow to show the data "Vertical" mode. I suspect your data is coming back in the String column and not the Body column.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 15:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281778#M56205</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-14T15:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: txmlMAp issue: java.lang.RuntimeException: row1.body can't be empty</title>
      <link>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281779#M56206</link>
      <description>Yes it comes back in string column. How do I process that. If I select 'covert response to dom document' checkbox in advanced settings i don't get any error but no data gets transferred also.</description>
      <pubDate>Fri, 14 Sep 2018 15:15:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281779#M56206</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-14T15:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: txmlMAp issue: java.lang.RuntimeException: row1.body can't be empty</title>
      <link>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281780#M56207</link>
      <description>&lt;P&gt;I'm assuming the data comes back as an XML String. If that is the case an easy way to solve this is to simply place a tConvertType component after your tRestClient component and convert the String to a Document. Then pass the String as a Document to your tXMLMap component. You could add a tMap after the tConvertType and simply move the String Document to output as the Body column if you want to keep it logical. This will be caused by the service you are calling and there is likely a way to force it to send back an XML document. However since I do not know or have access to your service, this is the easiest way of solving your issue &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 15:28:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281780#M56207</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-14T15:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: txmlMAp issue: java.lang.RuntimeException: row1.body can't be empty</title>
      <link>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281781#M56208</link>
      <description>&lt;P&gt;Did this resolve your issue?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 09:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281781#M56208</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-19T09:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: txmlMAp issue: java.lang.RuntimeException: row1.body can't be empty</title>
      <link>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281782#M56209</link>
      <description>&lt;P&gt;Getting a response from tRestClient properly as shown below but facing the same "&lt;FONT color="#FF0000"&gt;txmlMAp issue: java.lang.RuntimeException: row1.body can't be empty&lt;/FONT&gt;" Issue&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XML_Response.jpg" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5ts.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145516iE0039B0A1FD322D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5ts.jpg" alt="0683p000009M5ts.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Tried the string to document part but it didn't work.&lt;/P&gt; 
&lt;P&gt;Any other possible way of resolving this issue?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 00:23:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281782#M56209</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-14T00:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: txmlMAp issue: java.lang.RuntimeException: row1.body can't be empty</title>
      <link>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281783#M56210</link>
      <description>&lt;P&gt;The solution that&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt; suggested should work using tConvertType.&amp;nbsp; You may have something configured incorrectly.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;See the output of my test job:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;Starting job TestXmlBodyToMap at 21:15 13/06/2019.

[statistics] connecting to socket on port 3807
[statistics] connected
.----------------------------------------------------------------------------------------------------------------------------------------------------------.
|                                                                      #1. tLogRow_1                                                                       |
+--------+-------------------------------------------------------------------------------------------------------------------------------------------------+
| key    | value                                                                                                                                           |
+--------+-------------------------------------------------------------------------------------------------------------------------------------------------+
| string | &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;people&amp;gt;&amp;lt;person&amp;gt;&amp;lt;id&amp;gt;1&amp;lt;/id&amp;gt;&amp;lt;name&amp;gt;Bob&amp;lt;/name&amp;gt;&amp;lt;/person&amp;gt;&amp;lt;person&amp;gt;&amp;lt;id&amp;gt;2&amp;lt;/id&amp;gt;&amp;lt;name&amp;gt;Sally&amp;lt;/name&amp;gt;&amp;lt;/person&amp;gt;&amp;lt;/people&amp;gt; |
+--------+-------------------------------------------------------------------------------------------------------------------------------------------------+

.--------------.
|#1. tLogRow_2 |
+------+-------+
| key  | value |
+------+-------+
| id   | 1     |
| name | Bob   |
+------+-------+

.--------------.
|#2. tLogRow_2 |
+------+-------+
| key  | value |
+------+-------+
| id   | 2     |
| name | Sally |
+------+-------+

[statistics] disconnected

Job TestXmlBodyToMap ended at 21:15 13/06/2019. [exit code=0]&lt;/PRE&gt; 
&lt;P&gt;and the screenshot of the job showing the details of the tConvertType component:&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="xml-string-to-doc.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5tx.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139311i6AF1DE03F1F9E32D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5tx.png" alt="0683p000009M5tx.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I am also attaching the export of my test project in case you want to look at all the details.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lvvo"&gt;TestXmlBodyToMap.zip&lt;/A&gt;</description>
      <pubDate>Fri, 14 Jun 2019 02:19:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281783#M56210</guid>
      <dc:creator>nfz11</dc:creator>
      <dc:date>2019-06-14T02:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: txmlMAp issue: java.lang.RuntimeException: row1.body can't be empty</title>
      <link>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281784#M56211</link>
      <description>&lt;P&gt;Thank you so much for the Test Job. I found out the issue.&lt;/P&gt;&lt;P&gt;Appreciate your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jun 2019 00:16:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281784#M56211</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-15T00:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: txmlMAp issue: java.lang.RuntimeException: row1.body can't be empty</title>
      <link>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281785#M56212</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just need very quick help , which I am trying to fetch the records from rest getting an issue as below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[statistics] connecting to socket on port 3487&lt;BR /&gt;[statistics] connected&lt;BR /&gt;Exception in component tXMLMap_1_TXMLMAP_OUT (Test_Job_1)&lt;BR /&gt;java.lang.RuntimeException: row3.string can't be empty&lt;BR /&gt;at bat_integration.test_job_1_0_1.Test_Job_1.tRESTClient_1Process(Test_Job_1.java:1923)&lt;BR /&gt;at bat_integration.test_job_1_0_1.Test_Job_1.runJobInTOS(Test_Job_1.java:2883)&lt;BR /&gt;at bat_integration.test_job_1_0_1.Test_Job_1.main(Test_Job_1.java:2709)&lt;BR /&gt;[FATAL]: bat_integration.test_job_1_0_1.Test_Job_1 - tXMLMap_1_TXMLMAP_OUT row3.string can't be empty&lt;BR /&gt;java.lang.RuntimeException: row3.string can't be empty&lt;BR /&gt;at bat_integration.test_job_1_0_1.Test_Job_1.tRESTClient_1Process(Test_Job_1.java:1923)&lt;BR /&gt;at bat_integration.test_job_1_0_1.Test_Job_1.runJobInTOS(Test_Job_1.java:2883)&lt;BR /&gt;at bat_integration.test_job_1_0_1.Test_Job_1.main(Test_Job_1.java:2709)&lt;BR /&gt;[statistics] disconnected&lt;/P&gt;&lt;P&gt;Job Test_Job_1 ended at 18:05 04/03/2020. [exit code=1]&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009MPJN"&gt;code.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lxyo"&gt;Output.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lxyt"&gt;Source1.PNG&lt;/A&gt;</description>
      <pubDate>Wed, 04 Mar 2020 17:13:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281785#M56212</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-04T17:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: txmlMAp issue: java.lang.RuntimeException: row1.body can't be empty</title>
      <link>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281786#M56213</link>
      <description>&lt;P&gt;Shree, could you share your solution?? I'm facing the very same issue as you were.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:02:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/txmlMAp-issue-java-lang-RuntimeException-row1-body-can-t-be/m-p/2281786#M56213</guid>
      <dc:creator>lfsffernandes</dc:creator>
      <dc:date>2020-09-28T20:02:20Z</dc:date>
    </item>
  </channel>
</rss>

