You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Dorian Bugeja (JIRA)" <ji...@apache.org> on 2019/02/12 16:45:01 UTC

[jira] [Created] (NIFI-6017) ArrayIndexOutOfBounds Load Balancer CorrelationAttributePartitioner

Dorian Bugeja created NIFI-6017:
-----------------------------------

             Summary: ArrayIndexOutOfBounds Load Balancer CorrelationAttributePartitioner
                 Key: NIFI-6017
                 URL: https://issues.apache.org/jira/browse/NIFI-6017
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 1.8.0
            Reporter: Dorian Bugeja


When trying to perform load balancing on queue using 'partition by attribute', the use of the hashCode() function can return a negative value which in turns, the '%' operation might return a negative value (which is used as index) which throws an ArrayIndexOutOfBounds exception. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)