<?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: tMongoDBBulkLoad Exception in Thread-2 java.lang.StringIndexOutofBoundsException in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tMongoDBBulkLoad-Exception-in-Thread-2-java-lang/m-p/2294305#M67201</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Your index is out of range. Did you fill in MongoDB directory field with the MongoDB home directory? Could you share your tMongoDBBulkLoad component setting screenshot here and mask your sensitive data?&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Sep 2020 08:35:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-09-23T08:35:45Z</dc:date>
    <item>
      <title>tMongoDBBulkLoad Exception in Thread-2 java.lang.StringIndexOutofBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMongoDBBulkLoad-Exception-in-Thread-2-java-lang/m-p/2294304#M67200</link>
      <description>&lt;P&gt;I'm using a working DEV env trying out tMongoDBBulkLoad component from JSON file following Talend's scenario guide (&lt;A href="https://help.talend.com/reader/ywFNwfAK5Tww4ABGvi5PrQ/GT43dlXDtEuuirlA8BSKPw" target="_blank"&gt;https://help.talend.com/reader/ywFNwfAK5Tww4ABGvi5PrQ/GT43dlXDtEuuirlA8BSKPw&lt;/A&gt;). However I keep getting the following error and cannot figure out what is causing it. I have the appropriate certs to access db set from JVM arguments to use cacerts. Any experienced similar error and had any luck resolving it? Thanks, help is much appreciated! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exception in thread "Thread-2" java.lang.StringIndexOutOfBoundsException: String index out of range: -20&lt;/P&gt;&lt;P&gt;	at java.lang.String.substring(Unknown Source)&lt;/P&gt;&lt;P&gt;	at pocs.mongodb_poc_0_1.MongoDB_POC$2.run(MongoDB_POC.java:475)&lt;/P&gt;&lt;P&gt;2020-09-22T11:04:58.219-0400	Failed: (Unauthorized) there are no users authenticated&lt;/P&gt;&lt;P&gt;2020-09-22T11:04:58.219-0400	0 document(s) imported successfully. 0 document(s) failed to import.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:24:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMongoDBBulkLoad-Exception-in-Thread-2-java-lang/m-p/2294304#M67200</guid>
      <dc:creator>Wchan1594662165</dc:creator>
      <dc:date>2024-11-16T01:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: tMongoDBBulkLoad Exception in Thread-2 java.lang.StringIndexOutofBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMongoDBBulkLoad-Exception-in-Thread-2-java-lang/m-p/2294305#M67201</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Your index is out of range. Did you fill in MongoDB directory field with the MongoDB home directory? Could you share your tMongoDBBulkLoad component setting screenshot here and mask your sensitive data?&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 08:35:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMongoDBBulkLoad-Exception-in-Thread-2-java-lang/m-p/2294305#M67201</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-23T08:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: tMongoDBBulkLoad Exception in Thread-2 java.lang.StringIndexOutofBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMongoDBBulkLoad-Exception-in-Thread-2-java-lang/m-p/2294306#M67202</link>
      <description>&lt;P&gt;Hi Sabrina,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I set it to where my monogoDB home directory is. Is the index out of range in my JSON file or other? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, I noticed in Talend's component guide for tMongoDBBulkLoad (https://help.talend.com/reader/ywFNwfAK5Tww4ABGvi5PrQ/_eESGZatUg0YPq8FcgA1gg) it says there's the "NEGOTIATION" option when "required authentication" is checked. However, I don't have that option in my Talend and I think that is also affecting the authentication as this is what I select in tMongoDBInput job and it works fine to access db. Thanks!&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009p8CjAAI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130553i88B01B3ED0657D4C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009p8CjAAI.png" alt="0693p000009p8CjAAI.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009p8E1AAI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142971i88A34B1CD4400C08/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009p8E1AAI.png" alt="0693p000009p8E1AAI.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 13:42:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMongoDBBulkLoad-Exception-in-Thread-2-java-lang/m-p/2294306#M67202</guid>
      <dc:creator>Wchan1594662165</dc:creator>
      <dc:date>2020-09-23T13:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: tMongoDBBulkLoad Exception in Thread-2 java.lang.StringIndexOutofBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMongoDBBulkLoad-Exception-in-Thread-2-java-lang/m-p/2294307#M67203</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;What's your mongodb version? V 2.6? Components were all updated with appropriate authentication capabilities depending on mongodb version.&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>Thu, 24 Sep 2020 09:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMongoDBBulkLoad-Exception-in-Thread-2-java-lang/m-p/2294307#M67203</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-24T09:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: tMongoDBBulkLoad Exception in Thread-2 java.lang.StringIndexOutofBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMongoDBBulkLoad-Exception-in-Thread-2-java-lang/m-p/2294308#M67204</link>
      <description>&lt;P&gt;I'm using MongoDB 3.6.5 Enterprise. I think I found the cause of the issue but I'm unable to fix it. It seems in tMongoDBBulkLoad, I'm missing the option to "Set Authentication Database" but according to Talend's 7.3 guide, this component should have this setting. (see image below)(https://help.talend.com/reader/ywFNwfAK5Tww4ABGvi5PrQ/_eESGZatUg0YPq8FcgA1gg)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would I get this setting available in tMongoDBBulkLoad? Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 13:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMongoDBBulkLoad-Exception-in-Thread-2-java-lang/m-p/2294308#M67204</guid>
      <dc:creator>Wchan1594662165</dc:creator>
      <dc:date>2020-09-24T13:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: tMongoDBBulkLoad Exception in Thread-2 java.lang.StringIndexOutofBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMongoDBBulkLoad-Exception-in-Thread-2-java-lang/m-p/2294309#M67205</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Could you please clarify in which Talend version/edition you are? Here exists a jira issue about "Authentication Fields missing in tMongoDBBulkLoad" and it is fixed in &lt;A href="https://jira.talendforge.org/issues/?jql=project+%3D+TDI+AND+fixVersion+%3D+7.2.2" alt="https://jira.talendforge.org/issues/?jql=project+%3D+TDI+AND+fixVersion+%3D+7.2.2" target="_blank"&gt;7.2.2&lt;/A&gt;, &lt;A href="https://jira.talendforge.org/issues/?jql=project+%3D+TDI+AND+fixVersion+%3D+7.4.1" alt="https://jira.talendforge.org/issues/?jql=project+%3D+TDI+AND+fixVersion+%3D+7.4.1" target="_blank"&gt;7.4.1&lt;/A&gt;, &lt;A href="https://jira.talendforge.org/issues/?jql=project+%3D+TDI+AND+fixVersion+%3D+7.3.2" alt="https://jira.talendforge.org/issues/?jql=project+%3D+TDI+AND+fixVersion+%3D+7.3.2" target="_blank"&gt;7.3.2&lt;/A&gt;, &lt;A href="https://jira.talendforge.org/issues/?jql=project+%3D+TDI+AND+fixVersion+%3D+7.3.1-R2020-06" alt="https://jira.talendforge.org/issues/?jql=project+%3D+TDI+AND+fixVersion+%3D+7.3.1-R2020-06" target="_blank"&gt;7.3.1-R2020-06&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 06:41:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMongoDBBulkLoad-Exception-in-Thread-2-java-lang/m-p/2294309#M67205</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-25T06:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: tMongoDBBulkLoad Exception in Thread-2 java.lang.StringIndexOutofBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMongoDBBulkLoad-Exception-in-Thread-2-java-lang/m-p/2294310#M67206</link>
      <description>&lt;P&gt;Hi Sabrina, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using Talend Data Fabric 7.3.1 (licensed) that was installed a few week ago. Thanks! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 13:47:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMongoDBBulkLoad-Exception-in-Thread-2-java-lang/m-p/2294310#M67206</guid>
      <dc:creator>Wchan1594662165</dc:creator>
      <dc:date>2020-09-25T13:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: tMongoDBBulkLoad Exception in Thread-2 java.lang.StringIndexOutofBoundsException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMongoDBBulkLoad-Exception-in-Thread-2-java-lang/m-p/2294311#M67207</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;With your subscription solution, could you please create a support case on talend support portal so that our colleagues from support team will deliver a patch to you if needed.&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Sep 2020 06:48:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMongoDBBulkLoad-Exception-in-Thread-2-java-lang/m-p/2294311#M67207</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-27T06:48:26Z</dc:date>
    </item>
  </channel>
</rss>

