<?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 Re: anyDelineatedValue nifi expression is giving ArrayIndexOutOfBoundException in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/anyDelineatedValue-nifi-expression-is-giving/m-p/237545#M199358</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/48523/hegdemahendra.html" nodeid="48523" target="_blank"&gt;@Mahendra Hegde&lt;/A&gt;, I've built the flow as described. It works as expected without any exception.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="107557-1554337878645.png" style="width: 1410px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14221i03CBB9A7E9765EEC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="107557-1554337878645.png" alt="107557-1554337878645.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="107568-1554337930682.png" style="width: 2172px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14222iD879C155A7BA82E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="107568-1554337930682.png" alt="107568-1554337930682.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I just have formatted the value of condition for RouteOnAttribute.&lt;/P&gt;&lt;P&gt;I've tested on latest build (1.10.0-SNAPSHOT).&lt;/P&gt;&lt;P&gt;Please verify your version. Please let us know version number and share the exception (logs).&lt;/P&gt;</description>
    <pubDate>Sat, 17 Aug 2019 23:13:10 GMT</pubDate>
    <dc:creator>bdesert</dc:creator>
    <dc:date>2019-08-17T23:13:10Z</dc:date>
    <item>
      <title>anyDelineatedValue nifi expression is giving ArrayIndexOutOfBoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/anyDelineatedValue-nifi-expression-is-giving/m-p/237544#M199357</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am observing quite strange behaviour of anyDelineatedValue expression when I use it with 'OR' operation.&lt;/P&gt;&lt;P&gt;If I use 'AND' operation there is no issues.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Input attribute value:&lt;/P&gt;&lt;P&gt;org.entitlement.list=AA,CC,DD,FF&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Expression used in RouteOnAttribte/UpdateAttribute processor :&lt;/P&gt;&lt;P&gt;${anyDelineatedValue("${org.entitlement.list}", ","):equals('BB'):or(${anyDelineatedValue("${org.entitlement.list}", ","):contains('EE')})}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Above expression is giving ArrayIndexOutOfBoundException for OR operation for the given input (where both the values which expression is looking is not present)&lt;/P&gt;&lt;P&gt;If I use 'AND' operation expression works fine. What is the difference here? &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If I pass BB or EE in the input then expression wont give exception !&lt;/P&gt;&lt;P&gt;Looks like defect, can some one please suggest if anything wrong in this?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mahendra&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 11:54:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/anyDelineatedValue-nifi-expression-is-giving/m-p/237544#M199357</guid>
      <dc:creator>hegdemahendra</dc:creator>
      <dc:date>2019-04-03T11:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: anyDelineatedValue nifi expression is giving ArrayIndexOutOfBoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/anyDelineatedValue-nifi-expression-is-giving/m-p/237545#M199358</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/48523/hegdemahendra.html" nodeid="48523" target="_blank"&gt;@Mahendra Hegde&lt;/A&gt;, I've built the flow as described. It works as expected without any exception.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="107557-1554337878645.png" style="width: 1410px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14221i03CBB9A7E9765EEC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="107557-1554337878645.png" alt="107557-1554337878645.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="107568-1554337930682.png" style="width: 2172px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14222iD879C155A7BA82E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="107568-1554337930682.png" alt="107568-1554337930682.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I just have formatted the value of condition for RouteOnAttribute.&lt;/P&gt;&lt;P&gt;I've tested on latest build (1.10.0-SNAPSHOT).&lt;/P&gt;&lt;P&gt;Please verify your version. Please let us know version number and share the exception (logs).&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 23:13:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/anyDelineatedValue-nifi-expression-is-giving/m-p/237545#M199358</guid>
      <dc:creator>bdesert</dc:creator>
      <dc:date>2019-08-17T23:13:10Z</dc:date>
    </item>
  </channel>
</rss>

