<?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 tAdvancedFileOutputXML StringIndexOutOfBoundsException in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-StringIndexOutOfBoundsException/m-p/2233628#M23241</link>
    <description>I am using&amp;nbsp;tAdvancedFileOutputXML to create a xml file that has an inner loop inside the main loop (tXMLMap was unable to perform that). The main loop xml data is written as follows: tHashInput --&amp;gt;&amp;nbsp;tAdvancedFileOutputXML.
&lt;BR /&gt;Here is the screenshot of the&amp;nbsp;XML tree in tAdvancedFileOutputXML component:
&lt;BR /&gt; 
&lt;BR /&gt;On running the job here is the exception I get:
&lt;BR /&gt;Exception in component tAdvancedFileOutputXML_3
&lt;BR /&gt;java.lang.StringIndexOutOfBoundsException: String index out of range: -1
&lt;BR /&gt; at java.lang.String.charAt(String.java:658)
&lt;BR /&gt; at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1129)
&lt;BR /&gt; at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:949)
&lt;BR /&gt; at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301)
&lt;BR /&gt; at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1136)
&lt;BR /&gt; at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:954)
&lt;BR /&gt; at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301)
&lt;BR /&gt; at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1136)
&lt;BR /&gt; at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:954)
&lt;BR /&gt; at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301)
&lt;BR /&gt; at org.dom4j.io.XMLWriter.write(XMLWriter.java:344)
&lt;BR /&gt; at riits_dev.job_511_lcs_000_getroadwork_0_1.job_511_lcs_000_getRoadwork.tHashInput_3Process(job_511_lcs_000_getRoadwork.java:1651)
&lt;BR /&gt; at riits_dev.job_511_lcs_000_getroadwork_0_1.job_511_lcs_000_getRoadwork.tRunJob_1Process(job_511_lcs_000_getRoadwork.java:7546)
&lt;BR /&gt;: riits_dev.job_511_lcs_000_getroadwork_0_1.job_511_lcs_000_getRoadwork - tAdvancedFileOutputXML_3 String index out of range: -1
&lt;BR /&gt; at riits_dev.job_511_lcs_000_getroadwork_0_1.job_511_lcs_000_getRoadwork.runJobInTOS(job_511_lcs_000_getRoadwork.java:7835)
&lt;BR /&gt; at riits_dev.job_511_lcs_000_getroadwork_0_1.job_511_lcs_000_getRoadwork.main(job_511_lcs_000_getRoadwork.java:7669)
&lt;BR /&gt;Is this a known issue that has a fix or workaround? Or am I using the component incorrectly?</description>
    <pubDate>Fri, 09 Dec 2016 01:24:28 GMT</pubDate>
    <dc:creator>manaskarandikar</dc:creator>
    <dc:date>2016-12-09T01:24:28Z</dc:date>
    <item>
      <title>tAdvancedFileOutputXML StringIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-StringIndexOutOfBoundsException/m-p/2233628#M23241</link>
      <description>I am using&amp;nbsp;tAdvancedFileOutputXML to create a xml file that has an inner loop inside the main loop (tXMLMap was unable to perform that). The main loop xml data is written as follows: tHashInput --&amp;gt;&amp;nbsp;tAdvancedFileOutputXML.
&lt;BR /&gt;Here is the screenshot of the&amp;nbsp;XML tree in tAdvancedFileOutputXML component:
&lt;BR /&gt; 
&lt;BR /&gt;On running the job here is the exception I get:
&lt;BR /&gt;Exception in component tAdvancedFileOutputXML_3
&lt;BR /&gt;java.lang.StringIndexOutOfBoundsException: String index out of range: -1
&lt;BR /&gt; at java.lang.String.charAt(String.java:658)
&lt;BR /&gt; at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1129)
&lt;BR /&gt; at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:949)
&lt;BR /&gt; at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301)
&lt;BR /&gt; at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1136)
&lt;BR /&gt; at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:954)
&lt;BR /&gt; at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301)
&lt;BR /&gt; at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1136)
&lt;BR /&gt; at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:954)
&lt;BR /&gt; at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301)
&lt;BR /&gt; at org.dom4j.io.XMLWriter.write(XMLWriter.java:344)
&lt;BR /&gt; at riits_dev.job_511_lcs_000_getroadwork_0_1.job_511_lcs_000_getRoadwork.tHashInput_3Process(job_511_lcs_000_getRoadwork.java:1651)
&lt;BR /&gt; at riits_dev.job_511_lcs_000_getroadwork_0_1.job_511_lcs_000_getRoadwork.tRunJob_1Process(job_511_lcs_000_getRoadwork.java:7546)
&lt;BR /&gt;: riits_dev.job_511_lcs_000_getroadwork_0_1.job_511_lcs_000_getRoadwork - tAdvancedFileOutputXML_3 String index out of range: -1
&lt;BR /&gt; at riits_dev.job_511_lcs_000_getroadwork_0_1.job_511_lcs_000_getRoadwork.runJobInTOS(job_511_lcs_000_getRoadwork.java:7835)
&lt;BR /&gt; at riits_dev.job_511_lcs_000_getroadwork_0_1.job_511_lcs_000_getRoadwork.main(job_511_lcs_000_getRoadwork.java:7669)
&lt;BR /&gt;Is this a known issue that has a fix or workaround? Or am I using the component incorrectly?</description>
      <pubDate>Fri, 09 Dec 2016 01:24:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-StringIndexOutOfBoundsException/m-p/2233628#M23241</guid>
      <dc:creator>manaskarandikar</dc:creator>
      <dc:date>2016-12-09T01:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: tAdvancedFileOutputXML StringIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-StringIndexOutOfBoundsException/m-p/2233629#M23242</link>
      <description>Hi&amp;nbsp; 
&lt;BR /&gt;Where is screenshot? Can you please try to upload it again? How many data does it process? 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 09 Dec 2016 03:19:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-StringIndexOutOfBoundsException/m-p/2233629#M23242</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-09T03:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: tAdvancedFileOutputXML StringIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-StringIndexOutOfBoundsException/m-p/2233630#M23243</link>
      <description>Thanks for the quick reply. It seems when I use the UPLOAD option to paste image in the message it is not working.
&lt;BR /&gt;I actually got rid of the error by removing all the namespaces. I do want to add the namespaces tough.
&lt;BR /&gt;I expect to process about 10,000 Talend rows every minute.</description>
      <pubDate>Fri, 09 Dec 2016 03:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-StringIndexOutOfBoundsException/m-p/2233630#M23243</guid>
      <dc:creator>manaskarandikar</dc:creator>
      <dc:date>2016-12-09T03:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: tAdvancedFileOutputXML StringIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-StringIndexOutOfBoundsException/m-p/2233631#M23244</link>
      <description>xml_tree_tAdvancedFileOutputXML.pdf.pdf
&lt;BR /&gt;I had to print a PDF of the image. It should be attached to this message.</description>
      <pubDate>Fri, 09 Dec 2016 03:40:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-StringIndexOutOfBoundsException/m-p/2233631#M23244</guid>
      <dc:creator>manaskarandikar</dc:creator>
      <dc:date>2016-12-09T03:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: tAdvancedFileOutputXML StringIndexOutOfBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-StringIndexOutOfBoundsException/m-p/2233632#M23245</link>
      <description>Hi&amp;nbsp;
&lt;BR /&gt;The attachment is still not available, can you please export your job and send it to me via email? I will check it.
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 09 Dec 2016 04:51:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-StringIndexOutOfBoundsException/m-p/2233632#M23245</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-09T04:51:11Z</dc:date>
    </item>
  </channel>
</rss>

