Egor Kuts created IGNITE-27014:
----------------------------------

             Summary: NPE in 
org.apache.ignite.tx.distributed.ItTxResourcesVacuumTest#testCommitPartitionPrimaryChangesBeforeVacuum
                 Key: IGNITE-27014
                 URL: https://issues.apache.org/jira/browse/IGNITE-27014
             Project: Ignite
          Issue Type: Bug
            Reporter: Egor Kuts
            Assignee: Egor Kuts


ava.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot 
invoke 
"org.apache.ignite.internal.hlc.HybridTimestamp.compareTo(org.apache.ignite.internal.hlc.HybridTimestamp)"
 because the return value of 
"org.apache.ignite.internal.tx.TransactionMeta.commitTimestamp()" is null
at 
java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at 
java.base/java.util.concurrent.CompletableFuture.uniApplyNow(CompletableFuture.java:687)
at 
java.base/java.util.concurrent.CompletableFuture.uniApplyStage(CompletableFuture.java:662)
at 
java.base/java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:2200)
at 
org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.resolveWriteIntentReadability(PartitionReplicaListener.java:3557)
at 
org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.lambda$resolveRowByPkForReadOnly$79(PartitionReplicaListener.java:1986)
at 
org.apache.ignite.internal.util.IgniteUtils.inBusyLockAsync(IgniteUtils.java:941)
at 
org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.resolveRowByPkForReadOnly(PartitionReplicaListener.java:1985)
at 
org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.lambda$processReadOnlySingleEntryAction$34(PartitionReplicaListener.java:1096)
at 
java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1187)
at 
java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2341)
at 
org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.processReadOnlySingleEntryAction(PartitionReplicaListener.java:1096)
at 
org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.processOperationRequest(PartitionReplicaListener.java:808)
at 
org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.processOperationRequestWithTxOperationManagementLogic(PartitionReplicaListener.java:3760)
at 
org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.processRequest(PartitionReplicaListener.java:600)
at 
org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.processRequestInContext(PartitionReplicaListener.java:533)
at 
org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.process(PartitionReplicaListener.java:525)
at 
org.apache.ignite.internal.partition.replicator.ZonePartitionReplicaListener.lambda$processTableAwareRequest$3(ZonePartitionReplicaListener.java:275)
at 
java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1187)
at 
java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2341)
at 
org.apache.ignite.internal.partition.replicator.ZonePartitionReplicaListener.processTableAwareRequest(ZonePartitionReplicaListener.java:259)
at 
org.apache.ignite.internal.partition.replicator.ZonePartitionReplicaListener.processRequest(ZonePartitionReplicaListener.java:226)
at 
org.apache.ignite.internal.partition.replicator.ZonePartitionReplicaListener.lambda$invoke$0(ZonePartitionReplicaListener.java:209)
at 
java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
at 
java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at 
java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614)
at 
java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:653)
at 
java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.NullPointerException: Cannot invoke 
"org.apache.ignite.internal.hlc.HybridTimestamp.compareTo(org.apache.ignite.internal.hlc.HybridTimestamp)"
 because the return value of 
"org.apache.ignite.internal.tx.TransactionMeta.commitTimestamp()" is null
at 
org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.canReadFromWriteIntent(PartitionReplicaListener.java:3590)
at 
org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.lambda$resolveWriteIntentReadability$205(PartitionReplicaListener.java:3562)
at 
java.base/java.util.concurrent.CompletableFuture.uniApplyNow(CompletableFuture.java:684)
... 29 more



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

Reply via email to