[ 
https://issues.apache.org/jira/browse/IGNITE-24292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17922498#comment-17922498
 ] 

Pavel Tupitsyn commented on IGNITE-24292:
-----------------------------------------

Cherry-picked to ignite-3.0: 
https://github.com/apache/ignite-3/commit/6ad2ce00a5c4e6865a9edb65d7cbb31f43ff050f

> Fix IndexOutOfBoundsException from jraft IteratorImpl#done
> ----------------------------------------------------------
>
>                 Key: IGNITE-24292
>                 URL: https://issues.apache.org/jira/browse/IGNITE-24292
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Kirill Tkalenko
>            Assignee: Kirill Tkalenko
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Need to fix *java.lang.IndexOutOfBoundsException* from stackTrace on 
> [TC|https://ci.ignite.apache.org/viewLog.html?buildId=8798819&buildTypeId=ApacheIgnite3xGradle_Test_IntegrationTests_ModuleIndex&tab=buildLog]:
> {noformat}
> [10:34:15]W:           [:ignite-index:integrationTest] 
> [2025-01-21T10:34:15,330][ERROR][%iinfrtct_n_3344%JRaft-FSMCaller-Disruptor_stripe_3-0][StripedDisruptor]
>  Handle disruptor event error 
> [name=%iinfrtct_n_3344%JRaft-FSMCaller-Disruptor-, 
> event=org.apache.ignite.raft.jraft.core.FSMCallerImpl$ApplyTask@51627860, 
> hasHandler=false]
> [10:34:15]W:           [:ignite-index:integrationTest] 
> java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1
> [10:34:15]W:           [:ignite-index:integrationTest]        at 
> java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) 
> ~[?:?]
> [10:34:15]W:           [:ignite-index:integrationTest]        at 
> java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
>  ~[?:?]
> [10:34:15]W:           [:ignite-index:integrationTest]        at 
> java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266) 
> ~[?:?]
> [10:34:15]W:           [:ignite-index:integrationTest]        at 
> java.base/java.util.Objects.checkIndex(Objects.java:359) ~[?:?]
> [10:34:15]W:           [:ignite-index:integrationTest]        at 
> java.base/java.util.ArrayList.get(ArrayList.java:427) ~[?:?]
> [10:34:15]W:           [:ignite-index:integrationTest]        at 
> org.apache.ignite.raft.jraft.core.IteratorImpl.done(IteratorImpl.java:126) 
> ~[ignite-raft-3.0.0-SNAPSHOT.jar:?]
> [10:34:15]W:           [:ignite-index:integrationTest]        at 
> org.apache.ignite.raft.jraft.core.IteratorWrapper.done(IteratorWrapper.java:77)
>  ~[ignite-raft-3.0.0-SNAPSHOT.jar:?]
> [10:34:15]W:           [:ignite-index:integrationTest]        at 
> org.apache.ignite.internal.raft.server.impl.JraftServerImpl$DelegatingStateMachine.onApply(JraftServerImpl.java:793)
>  ~[ignite-raft-3.0.0-SNAPSHOT.jar:?]
> [10:34:15]W:           [:ignite-index:integrationTest]        at 
> org.apache.ignite.raft.jraft.core.FSMCallerImpl.doApplyTasks(FSMCallerImpl.java:577)
>  ~[ignite-raft-3.0.0-SNAPSHOT.jar:?]
> [10:34:15]W:           [:ignite-index:integrationTest]        at 
> org.apache.ignite.raft.jraft.core.FSMCallerImpl.doCommitted(FSMCallerImpl.java:543)
>  ~[ignite-raft-3.0.0-SNAPSHOT.jar:?]
> [10:34:15]W:           [:ignite-index:integrationTest]        at 
> org.apache.ignite.raft.jraft.core.FSMCallerImpl.runApplyTask(FSMCallerImpl.java:462)
>  ~[ignite-raft-3.0.0-SNAPSHOT.jar:?]
> [10:34:15]W:           [:ignite-index:integrationTest]        at 
> org.apache.ignite.raft.jraft.core.FSMCallerImpl$ApplyTaskHandler.onEvent(FSMCallerImpl.java:131)
>  ~[ignite-raft-3.0.0-SNAPSHOT.jar:?]
> [10:34:15]W:           [:ignite-index:integrationTest]        at 
> org.apache.ignite.raft.jraft.core.FSMCallerImpl$ApplyTaskHandler.onEvent(FSMCallerImpl.java:125)
>  ~[ignite-raft-3.0.0-SNAPSHOT.jar:?]
> [10:34:15]W:           [:ignite-index:integrationTest]        at 
> org.apache.ignite.raft.jraft.disruptor.StripedDisruptor$StripeEntryHandler.onEvent(StripedDisruptor.java:326)
>  ~[ignite-raft-3.0.0-SNAPSHOT.jar:?]
> [10:34:15]W:           [:ignite-index:integrationTest]        at 
> org.apache.ignite.raft.jraft.disruptor.StripedDisruptor$StripeEntryHandler.onEvent(StripedDisruptor.java:283)
>  ~[ignite-raft-3.0.0-SNAPSHOT.jar:?]
> [10:34:15]W:           [:ignite-index:integrationTest]        at 
> com.lmax.disruptor.BatchEventProcessor.processEvents(BatchEventProcessor.java:167)
>  [disruptor-4.0.0.jar:?]
> [10:34:15]W:           [:ignite-index:integrationTest]        at 
> com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:122) 
> [disruptor-4.0.0.jar:?]
> [10:34:15]W:           [:ignite-index:integrationTest]        at 
> java.base/java.lang.Thread.run(Thread.java:833) [?:?]
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to