Alexey Goncharuk created IGNITE-7639: ----------------------------------------
Summary: NullPointerException in publicApiActiveState Key: IGNITE-7639 URL: https://issues.apache.org/jira/browse/IGNITE-7639 Project: Ignite Issue Type: Bug Components: cache Affects Versions: 2.4 Reporter: Alexey Goncharuk Assignee: Alexey Goncharuk Fix For: 2.5 This exception is observed in the test: {code} [2018-02-05 19:50:38,330][ERROR][main][root] Test failed. java.lang.NullPointerException at org.apache.ignite.internal.processors.cluster.DiscoveryDataClusterState.activeStateChanging(DiscoveryDataClusterState.java:159) at org.apache.ignite.internal.processors.cluster.GridClusterStateProcessor.publicApiActiveState(GridClusterStateProcessor.java:182) at org.apache.ignite.internal.processors.cache.IgniteClusterActivateDeactivateTest.clientReconnectClusterDeactivated(IgniteClusterActivateDeactivateTest.java:831) at org.apache.ignite.internal.processors.cache.IgniteClusterActivateDeactivateTest.testClientReconnectClusterDeactivateInProgress(IgniteClusterActivateDeactivateTest.java:772) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:176) at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:2001) at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:133) at org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1916) at java.lang.Thread.run(Thread.java:745) {code} The reason is that cluster state is transferred to a joining node and prevState is null in this case. -- This message was sent by Atlassian JIRA (v7.6.3#76005)