<?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: tAdvancedFileOutputXML Java exception: IllegalArgumentException in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-Java-exception-IllegalArgumentException/m-p/2358765#M123727</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Does this issue also repro on tFileOutputMSXML component?&lt;/P&gt;&lt;P&gt;Could you please try to select the option in the tAdvancedFileOutputXml component : Advanced settings &amp;gt; Generation mode &amp;gt; "Fast with low memory consumption" to see if it is OK with you?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Wed, 04 Aug 2021 04:05:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-08-04T04:05:07Z</dc:date>
    <item>
      <title>tAdvancedFileOutputXML Java exception: IllegalArgumentException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-Java-exception-IllegalArgumentException/m-p/2358762#M123724</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting the following exception when I try and use the tAdvancedFileOutputXML component:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exception in component tAdvancedFileOutputXML_5 (sketch_stock_transfer_xml)&lt;/P&gt;&lt;P&gt;java.lang.IllegalArgumentException: Illegal character in local name: 'soapenv:Envelope'.&lt;/P&gt;&lt;P&gt;	at org.dom4j.QName.validateNCName(QName.java:346)&lt;/P&gt;&lt;P&gt;	at org.dom4j.QName.&amp;lt;init&amp;gt;(QName.java:153)&lt;/P&gt;&lt;P&gt;	at org.dom4j.tree.QNameCache.createQName(QNameCache.java:245)&lt;/P&gt;&lt;P&gt;	at org.dom4j.tree.QNameCache.get(QNameCache.java:115)&lt;/P&gt;&lt;P&gt;	at org.dom4j.DocumentFactory.createQName(DocumentFactory.java:191)&lt;/P&gt;&lt;P&gt;	at org.dom4j.DocumentHelper.createQName(DocumentHelper.java:97)&lt;/P&gt;&lt;P&gt;	at infohub.sketch_stock_transfer_xml_0_9.sketch_stock_transfer_xml.tDBInput_3Process(sketch_stock_transfer_xml.java:2211)&lt;/P&gt;&lt;P&gt;	at infohub.sketch_stock_transfer_xml_0_9.sketch_stock_transfer_xml.runJobInTOS(sketch_stock_transfer_xml.java:2897)&lt;/P&gt;&lt;P&gt;	at infohub.sketch_stock_transfer_xml_0_9.sketch_stock_transfer_xml.main(sketch_stock_transfer_xml.java:2746)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000HADw6AAH.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146287i112B0A8FB63794C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000HADw6AAH.jpg" alt="0695b00000HADw6AAH.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exception appears to be a result of having a colon ":" character in the XML namespace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000HADwfAAH.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150598i54EC3BFC8DAE5436/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000HADwfAAH.jpg" alt="0695b00000HADwfAAH.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of curiosity, when I remove the colon from the name space, the same Java exception no longer occurs (although a different exception happens):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000HADxiAAH.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142688i0EFAA4B0BF656678/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000HADxiAAH.jpg" alt="0695b00000HADxiAAH.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000HADxsAAH.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136809i9202F55D60697B0D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000HADxsAAH.jpg" alt="0695b00000HADxsAAH.jpg" /&gt;&lt;/span&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the past year I have used this same XML component with the same XML namespace and did not encounter the Java exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using TOS 7.3.1 on OS X and have tried Java 14.0.2, 15.0.2 and 16.0.2 and get the same Java exception. I have also tried TOS on Windows 10 and get the same Java exception, so I'm fairly certain the issue is not limited to a specific operating environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone encountered a similar Java exception and determined a workaround I would be interested in hearing. Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-Java-exception-IllegalArgumentException/m-p/2358762#M123724</guid>
      <dc:creator>nate2</dc:creator>
      <dc:date>2024-11-15T23:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: tAdvancedFileOutputXML Java exception: IllegalArgumentException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-Java-exception-IllegalArgumentException/m-p/2358763#M123725</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Java 14.0.2, 15.0.2 and 16.0.2 are not list in the compatible Java environments table.&lt;/P&gt;&lt;P&gt;Please have a look at this online documentation about: T&lt;A href="https://help.talend.com/r/en-US/7.3/installation-guide-open-studio-for-data-integration-mac/compatible-java-environments" alt="https://help.talend.com/r/en-US/7.3/installation-guide-open-studio-for-data-integration-mac/compatible-java-environments" target="_blank"&gt;alendHelpCenter: Compatible Java Environments&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 06:18:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-Java-exception-IllegalArgumentException/m-p/2358763#M123725</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-03T06:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: tAdvancedFileOutputXML Java exception: IllegalArgumentException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-Java-exception-IllegalArgumentException/m-p/2358764#M123726</link>
      <description>&lt;P&gt;@Xiaodi Shi​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the pointer. I did not think to check the compatible Java environments table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have installed/configured Java 11 but still get the same error. In the job below I have added a statement to print the Java version:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000HAI57AAH.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136522i25D809B5ACCC26A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000HAI57AAH.jpg" alt="0695b00000HAI57AAH.jpg" /&gt;&lt;/span&gt;I have made sure the JDK compiler compliance level is set to 11 (as instructed in the documentation you kindly referenced):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000HAI3QAAX.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131244iBE111E90E6D72085/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000HAI3QAAX.jpg" alt="0695b00000HAI3QAAX.jpg" /&gt;&lt;/span&gt;Here is output from the command line with more details of the Java installation:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000HAI3uAAH.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136523iD2E1862B14FEB8E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000HAI3uAAH.jpg" alt="0695b00000HAI3uAAH.jpg" /&gt;&lt;/span&gt;Do you happen to know whether there might be some other settings I should check? &lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 08:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-Java-exception-IllegalArgumentException/m-p/2358764#M123726</guid>
      <dc:creator>nate2</dc:creator>
      <dc:date>2021-08-03T08:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: tAdvancedFileOutputXML Java exception: IllegalArgumentException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-Java-exception-IllegalArgumentException/m-p/2358765#M123727</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Does this issue also repro on tFileOutputMSXML component?&lt;/P&gt;&lt;P&gt;Could you please try to select the option in the tAdvancedFileOutputXml component : Advanced settings &amp;gt; Generation mode &amp;gt; "Fast with low memory consumption" to see if it is OK with you?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 04:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-Java-exception-IllegalArgumentException/m-p/2358765#M123727</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-04T04:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: tAdvancedFileOutputXML Java exception: IllegalArgumentException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-Java-exception-IllegalArgumentException/m-p/2358766#M123728</link>
      <description>&lt;P&gt;Hello @Xiaodi Shi​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to change the setting you suggested but was unable to find the memory consumption option. (Screenshot below.) Is there an alternative setting I can try?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000HATEKAA5.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157703iED267FDFAFDFC43F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000HATEKAA5.jpg" alt="0695b00000HATEKAA5.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 04:46:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-Java-exception-IllegalArgumentException/m-p/2358766#M123728</guid>
      <dc:creator>nate2</dc:creator>
      <dc:date>2021-08-04T04:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: tAdvancedFileOutputXML Java exception: IllegalArgumentException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-Java-exception-IllegalArgumentException/m-p/2358767#M123729</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Please have a look at my screenshot for details.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000HAftPAAT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137378i9E14928494918B6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000HAftPAAT.png" alt="0695b00000HAftPAAT.png" /&gt;&lt;/span&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 02:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-Java-exception-IllegalArgumentException/m-p/2358767#M123729</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-05T02:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: tAdvancedFileOutputXML Java exception: IllegalArgumentException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-Java-exception-IllegalArgumentException/m-p/2358768#M123730</link>
      <description>&lt;P&gt;@Xiaodi Shi​&amp;nbsp;​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for sharing the screenshot of the Advanced settings. (I now realize the screenshot I previously shared was incorrectly showing the job Advanced settings and not the component Advanced settings.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see the attached screenshot of how I see the component's Advanced settings. For some reason I do not see the "Generation mode" option on the current instance of the component. However, when I created a new instance of the component, the "Generation mode" option appeared. (See second screenshot.) I was able to successfully generated XML files as expected. Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am guessing there must have been an upgrade to the component sometime between the previous TOS version I was using and 7.3.1. If you happen to know whether the "Generate mode" option is a newer feature I would be interested in hearing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Before"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000HBECzAAP.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154072i1B212664F26BBFA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000HBECzAAP.jpg" alt="0695b00000HBECzAAP.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"After"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000HBGPqAAP.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132372i70EFC7227AA11191/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000HBGPqAAP.jpg" alt="0695b00000HBGPqAAP.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 07:32:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-Java-exception-IllegalArgumentException/m-p/2358768#M123730</guid>
      <dc:creator>nate2</dc:creator>
      <dc:date>2021-08-09T07:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: tAdvancedFileOutputXML Java exception: IllegalArgumentException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-Java-exception-IllegalArgumentException/m-p/2358769#M123731</link>
      <description>&lt;P&gt;@Nate Jensen​&amp;nbsp;, This option has been added since v2.3.2, this was a very old version. Find more information in this JIRA &lt;A href="https://jira.talendforge.org/browse/TDI-2651?jql=text%20~%20%22tAdvancedFileOutputXML%20Generation%20mode%22" alt="https://jira.talendforge.org/browse/TDI-2651?jql=text%20~%20%22tAdvancedFileOutputXML%20Generation%20mode%22" target="_blank"&gt;issue&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 03:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-Java-exception-IllegalArgumentException/m-p/2358769#M123731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-10T03:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: tAdvancedFileOutputXML Java exception: IllegalArgumentException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-Java-exception-IllegalArgumentException/m-p/2358770#M123732</link>
      <description>&lt;P&gt;@Shicong Hong​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply and the link to the JIRA issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been using the tFileOutputMSXML component successfully (without the "generation mode" option) since an earlier version of TOS 7. I'm not sure how/why the Java exception started showing up at this point in time, but that is okay--I just note my experience on this thread in-case other TOS users have the same issue and see this ticket.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you and @Xiaodi Shi​&amp;nbsp;for your expert insights. Most appreciated!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 06:38:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAdvancedFileOutputXML-Java-exception-IllegalArgumentException/m-p/2358770#M123732</guid>
      <dc:creator>nate2</dc:creator>
      <dc:date>2021-08-10T06:38:39Z</dc:date>
    </item>
  </channel>
</rss>

