You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Paul Grey (Jira)" <ji...@apache.org> on 2022/02/25 14:57:00 UTC

[jira] [Created] (NIFI-9727) Fix IndexOutOfBoundsException in CorrelationAttributePartitioner

Paul Grey created NIFI-9727:
-------------------------------

             Summary: Fix IndexOutOfBoundsException in CorrelationAttributePartitioner 
                 Key: NIFI-9727
                 URL: https://issues.apache.org/jira/browse/NIFI-9727
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Paul Grey


While preparing the PR for NIFI-9233, the system test suite surfaced an issue causing test failure.


2022-02-22 20:25:09,651 ERROR [Timer-Driven Process Thread-5] org.apache.nifi.controller.repository.StandardProcessSession Failed to commit session StandardProcessSession[id=4]. Will roll back.
java.lang.ArrayIndexOutOfBoundsException: -1161640559
	at org.apache.nifi.controller.queue.clustered.partition.CorrelationAttributePartitioner.getPartition(CorrelationAttributePartitioner.java:53)
	at org.apache.nifi.controller.queue.clustered.SocketLoadBalancedFlowFileQueue.getPartition(SocketLoadBalancedFlowFileQueue.java:654)
	at java.util.stream.Collectors.lambda$groupingBy$45(Collectors.java:907)
	at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)