[ 
https://issues.apache.org/jira/browse/IGNITE-26688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Lapin resolved IGNITE-26688.
--------------------------------------
    Resolution: Duplicate

The issue was fixed in https://issues.apache.org/jira/browse/IGNITE-26669

> Flaky 
> org.apache.ignite.distributed.ItTxDistributedTestSingleNode.testTxClosureUncaughtExceptionAsync
> -----------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-26688
>                 URL: https://issues.apache.org/jira/browse/IGNITE-26688
>             Project: Ignite
>          Issue Type: Improvement
>          Components: raft ai3
>            Reporter: Iurii Gerzhedovich
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain, ignite-3
>
> The test 
> [org.apache.ignite.distributed.ItTxDistributedTestSingleNode.testTxClosureUncaughtExceptionAsync|https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTestsJdk1721/9543872]
>  is flaky.
> NPE in PartitionReplicaListener
> {code:java}
> 04:05:25     
> org.apache.ignite.distributed.ItTxDistributedTestSingleNode.testTxClosureUncaughtExceptionAsync()
> 04:05:25       org.apache.ignite.lang.IgniteException: IGN-CMN-65535 
> TraceId:bda8d7df
> 04:05:25       org.apache.ignite.lang.IgniteException: IGN-CMN-65535 
> TraceId:bda8d7df
>         at 
> [email protected]/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:733)
>         at 
> app//org.apache.ignite.internal.util.ExceptionUtils$1.copy(ExceptionUtils.java:952)
>         at 
> app//org.apache.ignite.internal.util.ExceptionUtils$ExceptionFactory.createCopy(ExceptionUtils.java:886)
>         at 
> app//org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:688)
>         at 
> app//org.apache.ignite.internal.util.ViewUtils.copyExceptionWithCauseIfPossible(ViewUtils.java:91)
>         at 
> app//org.apache.ignite.internal.util.ViewUtils.ensurePublicException(ViewUtils.java:71)
>         at 
> app//org.apache.ignite.internal.util.ViewUtils.sync(ViewUtils.java:54)
>         at 
> app//org.apache.ignite.internal.table.RecordBinaryViewImpl.get(RecordBinaryViewImpl.java:89)
>         at 
> app//org.apache.ignite.internal.table.RecordBinaryViewImpl.get(RecordBinaryViewImpl.java:62)
>         at 
> app//org.apache.ignite.internal.table.TxAbstractTest.testTxClosureUncaughtExceptionAsync(TxAbstractTest.java:563)
>         at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
>         at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1596)
>         at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1596)
>       Caused by: org.apache.ignite.lang.IgniteException: IGN-CMN-65535 
> TraceId:bda8d7df
>         at 
> app//org.apache.ignite.internal.lang.IgniteExceptionMapperUtil.lambda$mapToPublicException$2(IgniteExceptionMapperUtil.java:88)
>         at 
> app//org.apache.ignite.internal.lang.IgniteExceptionMapperUtil.mapCheckingResultIsPublic(IgniteExceptionMapperUtil.java:141)
>         at 
> app//org.apache.ignite.internal.lang.IgniteExceptionMapperUtil.mapToPublicException(IgniteExceptionMapperUtil.java:137)
>         at 
> app//org.apache.ignite.internal.lang.IgniteExceptionMapperUtil.mapToPublicException(IgniteExceptionMapperUtil.java:88)
>         at 
> app//org.apache.ignite.internal.lang.IgniteExceptionMapperUtil.lambda$convertToPublicFuture$3(IgniteExceptionMapperUtil.java:178)
>         at 
> [email protected]/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
>         at 
> [email protected]/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:911)
>         at 
> [email protected]/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
>         at 
> [email protected]/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2194)
>         at 
> app//org.apache.ignite.internal.replicator.ReplicaService.lambda$sendToReplicaRaw$8(ReplicaService.java:257)
>         at 
> [email protected]/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:863)
>         at 
> [email protected]/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:841)
>         at 
> [email protected]/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
>         at 
> [email protected]/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2179)
>         at 
> app//org.apache.ignite.internal.network.DefaultMessagingService.onInvokeResponse(DefaultMessagingService.java:640)
>         at 
> app//org.apache.ignite.internal.network.DefaultMessagingService.handleInvokeResponse(DefaultMessagingService.java:533)
>         at 
> app//org.apache.ignite.internal.network.DefaultMessagingService.lambda$handleMessageFromNetwork$5(DefaultMessagingService.java:465)
>         at 
> [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
>         at 
> [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
>         at [email protected]/java.lang.Thread.run(Thread.java:1583)
>       Caused by: java.lang.NullPointerException
>         at 
> org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.lambda$resolveWriteIntentReadability$205(PartitionReplicaListener.java:3555)
>         at 
> java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
>         at 
> java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
>         at 
> java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2179)
>         at 
> org.apache.ignite.internal.table.distributed.replicator.TransactionStateResolver.lambda$resolveTxStateFromTxCoordinator$5(TransactionStateResolver.java:226)
>         ... 10 more {code}
>  



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

Reply via email to