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

Aleksandr Polovtcev commented on IGNITE-19658:
----------------------------------------------

[~ptupitsyn] Thank you for pointing it out! The attached stacktrace is not 
related, though, it's valid because it comes from a test that validates 
exceptional behavior. I'll fix the remaining NPEs in a separate ticket.

> NullPointerException in MetaStorageListener.handlePaginationCommand
> -------------------------------------------------------------------
>
>                 Key: IGNITE-19658
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19658
>             Project: Ignite
>          Issue Type: Bug
>          Components: networking
>            Reporter: Pavel Tupitsyn
>            Assignee: Aleksandr Polovtcev
>            Priority: Blocker
>              Labels: ignite-3
>             Fix For: 3.0.0-beta2
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> *ItMetaStorageServiceTest.testRangeWithNullAsKeyTo*
> {code}
> 2023-06-06 07:40:23:613 +0300 
> [INFO][%imsst_trwnakt_20000%JRaft-ReadOnlyService-Disruptor-_stripe_1-0][ActionRequestProcessor]
>  Error occurred on a user's state machine
>     java.lang.NullPointerException
>       at 
> org.apache.ignite.internal.metastorage.server.raft.MetaStorageListener.handlePaginationCommand(MetaStorageListener.java:131)
>       at 
> org.apache.ignite.internal.metastorage.server.raft.MetaStorageListener.onRead(MetaStorageListener.java:99)
>       at 
> org.apache.ignite.raft.jraft.rpc.impl.ActionRequestProcessor$2.run(ActionRequestProcessor.java:130)
>       at 
> org.apache.ignite.raft.jraft.closure.ReadIndexClosure.run(ReadIndexClosure.java:95)
>       at 
> org.apache.ignite.raft.jraft.core.ReadOnlyServiceImpl.notifySuccess(ReadOnlyServiceImpl.java:446)
>       at 
> org.apache.ignite.raft.jraft.core.ReadOnlyServiceImpl$ReadIndexResponseClosure.run(ReadOnlyServiceImpl.java:194)
>       at 
> org.apache.ignite.raft.jraft.core.NodeImpl.readLeader(NodeImpl.java:1777)
>       at 
> org.apache.ignite.raft.jraft.core.NodeImpl.handleReadIndexRequest(NodeImpl.java:1722)
>       at 
> org.apache.ignite.raft.jraft.core.ReadOnlyServiceImpl.executeReadIndexEvents(ReadOnlyServiceImpl.java:245)
>       at 
> org.apache.ignite.raft.jraft.core.ReadOnlyServiceImpl$ReadIndexEventHandler.onEvent(ReadOnlyServiceImpl.java:138)
>       at 
> org.apache.ignite.raft.jraft.core.ReadOnlyServiceImpl$ReadIndexEventHandler.onEvent(ReadOnlyServiceImpl.java:121)
>       at 
> org.apache.ignite.raft.jraft.disruptor.StripedDisruptor$StripeEntryHandler.onEvent(StripedDisruptor.java:217)
>       at 
> org.apache.ignite.raft.jraft.disruptor.StripedDisruptor$StripeEntryHandler.onEvent(StripedDisruptor.java:181)
>       at 
> com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:137)
>       at java.base/java.lang.Thread.run(Thread.java:834)
> {code}
> https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_IntegrationTests_ModuleMetastorageClient/7273154?hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandBuildProblemsSection=true&expandBuildChangesSection=true



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

Reply via email to