<?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>question GetFile failed to start : java.lang.IndexOutOfBoundsException: in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/GetFile-failed-to-start-java-lang-IndexOutOfBoundsException/m-p/293383#M216671</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Attached is the java stack. I am getting this error in the nifi.log whenever i am starting GetFile processor which is first processort in my list. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;2020-04-07 01:17:01,371 ERROR [Timer-Driven Process Thread-5] o.a.nifi.processors.standard.InvokeHTTP InvokeHTTP[id=51048885-0171-1000-9a41-00f55a11ae71] Failed to properly initialize Processor. If still scheduled to run, NiFi will attempt to initialize and run the Processor again after the 'Administrative Yield Duration' has elapsed. Failure is due to java.lang.IndexOutOfBoundsException: Index: 0, Size: 0: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.IndexOutOfBoundsException: Index: 0, Size: 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.util.ArrayList.rangeCheck(ArrayList.java:657)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.util.ArrayList.get(ArrayList.java:433)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.nifi.processors.standard.InvokeHTTP.setUpClient(InvokeHTTP.java:665)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.lang.reflect.Method.invoke(Method.java:498)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:142)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:130)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:75)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:52)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.nifi.controller.StandardProcessorNode.lambda$initiateStart$4(StandardProcessorNode.java:1532)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.nifi.engine.FlowEngine$3.call(FlowEngine.java:123)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.util.concurrent.FutureTask.run(FutureTask.java:266)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.lang.Thread.run(Thread.java:748)&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;&lt;SPAN&gt;Please share solution if any and also the reason for the error.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Rups.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Apr 2020 05:29:02 GMT</pubDate>
    <dc:creator>Rups</dc:creator>
    <dc:date>2020-04-07T05:29:02Z</dc:date>
    <item>
      <title>GetFile failed to start : java.lang.IndexOutOfBoundsException:</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GetFile-failed-to-start-java-lang-IndexOutOfBoundsException/m-p/293383#M216671</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Attached is the java stack. I am getting this error in the nifi.log whenever i am starting GetFile processor which is first processort in my list. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;2020-04-07 01:17:01,371 ERROR [Timer-Driven Process Thread-5] o.a.nifi.processors.standard.InvokeHTTP InvokeHTTP[id=51048885-0171-1000-9a41-00f55a11ae71] Failed to properly initialize Processor. If still scheduled to run, NiFi will attempt to initialize and run the Processor again after the 'Administrative Yield Duration' has elapsed. Failure is due to java.lang.IndexOutOfBoundsException: Index: 0, Size: 0: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.IndexOutOfBoundsException: Index: 0, Size: 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.util.ArrayList.rangeCheck(ArrayList.java:657)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.util.ArrayList.get(ArrayList.java:433)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.nifi.processors.standard.InvokeHTTP.setUpClient(InvokeHTTP.java:665)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.lang.reflect.Method.invoke(Method.java:498)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:142)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:130)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:75)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:52)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.nifi.controller.StandardProcessorNode.lambda$initiateStart$4(StandardProcessorNode.java:1532)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.nifi.engine.FlowEngine$3.call(FlowEngine.java:123)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.util.concurrent.FutureTask.run(FutureTask.java:266)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.lang.Thread.run(Thread.java:748)&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;&lt;SPAN&gt;Please share solution if any and also the reason for the error.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Rups.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 05:29:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GetFile-failed-to-start-java-lang-IndexOutOfBoundsException/m-p/293383#M216671</guid>
      <dc:creator>Rups</dc:creator>
      <dc:date>2020-04-07T05:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: GetFile failed to start : java.lang.IndexOutOfBoundsException:</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GetFile-failed-to-start-java-lang-IndexOutOfBoundsException/m-p/293391#M216676</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/76350"&gt;@Rups&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for asking this question about NiFi&amp;nbsp;&lt;SPAN&gt;InvokeHTTP.setUpClient throwing&amp;nbsp;IndexOutOfBoundsException.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you please specify your exact NiFi version, so I can look up the source code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If the source code of your NiFi version is the same as the code I found, the exception was coming from this line:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/InvokeHTTP.java#L665" target="_blank"&gt;https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/InvokeHTTP.java#L665&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first interpretation is that the issue might be related to SSL. Is SSL fully enabled and configured in your environment, please?&lt;BR /&gt;&lt;BR /&gt;Thank you:&lt;BR /&gt;Ferenc&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 08:17:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GetFile-failed-to-start-java-lang-IndexOutOfBoundsException/m-p/293391#M216676</guid>
      <dc:creator>Bender</dc:creator>
      <dc:date>2020-04-07T08:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: GetFile failed to start : java.lang.IndexOutOfBoundsException:</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GetFile-failed-to-start-java-lang-IndexOutOfBoundsException/m-p/293392#M216677</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/76350"&gt;@Rups&lt;/a&gt;&amp;nbsp;can you please check if you provided all the required parameters from [1], especially check for the "&lt;SPAN&gt;SSL Context Service" parameter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.5.0/org.apache.nifi.processors.standard.InvokeHTTP/" target="_blank"&gt;[1] https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.5.0/org.apache.nifi.processors.standard.InvokeHTTP/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 08:24:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GetFile-failed-to-start-java-lang-IndexOutOfBoundsException/m-p/293392#M216677</guid>
      <dc:creator>Bender</dc:creator>
      <dc:date>2020-04-07T08:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: GetFile failed to start : java.lang.IndexOutOfBoundsException:</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GetFile-failed-to-start-java-lang-IndexOutOfBoundsException/m-p/293565#M216757</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Ferenc,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using&amp;nbsp;nifi-1.11.4. The SSL is working for other team members running on the same version. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am importing the flow from Nifi registry over HTTP. All flows are using parameter context.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes, your guess might be correct as without SSL , the processor comes up perfectly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please let me know what specific information you need regarding SSL. I will get from the platform team.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I do not want to face this situation&amp;nbsp;when flow are deployed on production.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Rups.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 04:42:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GetFile-failed-to-start-java-lang-IndexOutOfBoundsException/m-p/293565#M216757</guid>
      <dc:creator>Rups</dc:creator>
      <dc:date>2020-04-09T04:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: GetFile failed to start : java.lang.IndexOutOfBoundsException:</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GetFile-failed-to-start-java-lang-IndexOutOfBoundsException/m-p/293938#M216945</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/76350"&gt;@Rups&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for marking my earlier post as a solution about&amp;nbsp;&lt;SPAN&gt;suggesting setting "&lt;/SPAN&gt;&lt;SPAN&gt;SSL Context Service" parameter to resolve the issue. It is motivating to know when a suggestion actually helps. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do I understand correctly that your workflow is operating now as expected?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks again:&lt;BR /&gt;Ferenc&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 09:12:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GetFile-failed-to-start-java-lang-IndexOutOfBoundsException/m-p/293938#M216945</guid>
      <dc:creator>Bender</dc:creator>
      <dc:date>2020-04-14T09:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: GetFile failed to start : java.lang.IndexOutOfBoundsException:</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GetFile-failed-to-start-java-lang-IndexOutOfBoundsException/m-p/294526#M217309</link>
      <description>&lt;P&gt;Yup working now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; Now i am stuck up in PutMongo to update the existing document in collection. Please see my question and help me . need a push here &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 15:34:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GetFile-failed-to-start-java-lang-IndexOutOfBoundsException/m-p/294526#M217309</guid>
      <dc:creator>Rups</dc:creator>
      <dc:date>2020-04-22T15:34:49Z</dc:date>
    </item>
  </channel>
</rss>

