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

ArrayIndexOutOfBounds Load Balancer CorrelationAttributePartitioner

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.8.0
    • 1.9.0
    • Core Framework
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: