[
https://issues.apache.org/jira/browse/NIFI-9727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17498204#comment-17498204
]
ASF subversion and git services commented on NIFI-9727:
-------------------------------------------------------
Commit e74991e7059adfd5528e615131590a2e98c2b836 in nifi's branch
refs/heads/main from Paul Grey
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=e74991e ]
NIFI-9727 - IndexOutOfBoundsException in CorrelationAttributePartitioner
This closes #5804
Signed-off-by: David Handermann <[email protected]>
> 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
> Assignee: Paul Grey
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)