You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksandr Polovtcev (Jira)" <ji...@apache.org> on 2023/10/21 15:16:00 UTC

[jira] [Commented] (IGNITE-20703) LeaseUpdaterTest causes a NullPointerException

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

Aleksandr Polovtcev commented on IGNITE-20703:
----------------------------------------------

Looks good, merged into main

> LeaseUpdaterTest causes a NullPointerException
> ----------------------------------------------
>
>                 Key: IGNITE-20703
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20703
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Roman Puchkovskiy
>            Assignee: Roman Puchkovskiy
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-beta2
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In [https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunUnitTests/7577194?hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandBuildProblemsSection=true&expandBuildChangesSection=true] the following can be seen in the logs:
>  
> LeaseUpdaterTest > testActiveDeactivateMultiThread() > repetition 10 of 20 STANDARD_ERROR
> [2023-10-20T10:35:45,058][WARN ][%test-node%lease-updater-25][LeaseUpdater] Lease updater is interrupted
> Exception in thread "%test-node%lease-updater-26" java.lang.NullPointerException
>   at org.apache.ignite.internal.placementdriver.LeaseUpdaterTest.lambda$setUp$0(LeaseUpdaterTest.java:130)
>   at org.mockito.internal.stubbing.StubbedInvocationMatcher.answer(StubbedInvocationMatcher.java:42)
>   at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:103)
>   at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
>   at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:34)
>   at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:82)
>   at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:56)
>   at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptAbstract(MockMethodInterceptor.java:161)
>   at org.apache.ignite.internal.metastorage.MetaStorageManager$MockitoMock$XTQ2X5zi.invoke(Unknown Source)
>  
> The NPE does not fail the test itself, but our CI sees it in the logs and fails a build.



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