[
https://issues.apache.org/jira/browse/IGNITE-26982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Egor Kuts resolved IGNITE-26982.
--------------------------------
Resolution: Duplicate
> NPE on trying to access the commit timestamp in tx state COMMITTED
> ------------------------------------------------------------------
>
> Key: IGNITE-26982
> URL: https://issues.apache.org/jira/browse/IGNITE-26982
> Project: Ignite
> Issue Type: Bug
> Reporter: Denis Chudov
> Priority: Major
> Labels: MakeTeamcityGreenAgain, ignite-3
> Attachments: _Integration_Tests_Module_Transactions_23818.log.zip
>
>
> ItTxResourcesVacuumTest.testCommitPartitionPrimaryChangesBeforeVacuum failed
> with NPE:
> https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_IntegrationTests_ModuleTransactions/9608968
> {code:java}
> [2025-11-06T05:21:54,682][WARN
> ][%itrvt_tcppcbv_3344%partition-operations-0][ReplicaManager] Failed to
> process replica request [request=ReadOnlySingleRowPkReplicaRequestImpl
> [coordinatorId=1b4823cb-088f-40ff-a468-8f39c8fdf406,
> groupId=ZonePartitionIdMessageImpl [partitionId=3, zoneId=21],
> primaryKey=java.nio.HeapByteBuffer[pos=0 lim=3 cap=3],
> readTimestamp=HybridTimestamp [physical=2025-11-06 11:21:48:526 +0000,
> logical=0, composite=115502488520359936], requestType=RO_GET,
> schemaVersion=1, tableId=22, timestamp=null,
> transactionId=019a58e6-bf59-0000-efec-923100000001]].java.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:2168)
> at
> org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.resolveWriteIntentReadability(PartitionReplicaListener.java:3557)[2025-11-06T05:21:54,685][INFO
> ][Test worker][Cluster] Shutting the cluster down
> [nodes=[itrvt_tcppcbv_3344, itrvt_tcppcbv_3345, itrvt_tcppcbv_3346]] 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)
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)