Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6017

ArrayIndexOutOfBounds Load Balancer CorrelationAttributePartitioner

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.9.0
    • Component/s: Core Framework
    • Labels:
      None

      Description

      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. 

        Attachments

          Activity

            People

            • Assignee:
              markap14 Mark Payne
              Reporter:
              SunSatION Dorian Bugeja
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: