Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11615

IgniteBaselineAffinityTopologyActivationTest sometimes fails due to NPE on node stop

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8
    • Component/s: None

      Description

      I observe the following NPE in the test:

      [13:24:30]W:		 [org.apache.ignite:ignite-core] java.lang.NullPointerException
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.CacheGroupContext.onKernalStop(CacheGroupContext.java:742)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.GridCacheProcessor.onKernalStop(GridCacheProcessor.java:1158)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.IgniteKernal.stop0(IgniteKernal.java:2335)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.IgniteKernal.stop(IgniteKernal.java:2283)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.stop0(IgnitionEx.java:2570)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.stop(IgnitionEx.java:2533)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.IgnitionEx.stop(IgnitionEx.java:330)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.Ignition.stop(Ignition.java:223)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.testframework.junits.GridAbstractTest.stopGrid(GridAbstractTest.java:1187)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.testframework.junits.GridAbstractTest.stopAllGrids(GridAbstractTest.java:1230)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.IgniteBaselineAffinityTopologyActivationTest.afterTest(IgniteBaselineAffinityTopologyActivationTest.java:126)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.testframework.junits.GridAbstractTest.tearDown(GridAbstractTest.java:1804)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.testframework.junits.JUnit3TestLegacySupport.runTestCase(JUnit3TestLegacySupport.java:70)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.testframework.junits.GridAbstractTest$2.evaluate(GridAbstractTest.java:185)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.testframework.junits.GridAbstractTest.evaluateInsideFixture(GridAbstractTest.java:2579)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.testframework.junits.GridAbstractTest.access$500(GridAbstractTest.java:152)
      [13:24:30]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.testframework.junits.GridAbstractTest$BeforeFirstAndAfterLastTestRule$1.evaluate(GridAbstractTest.java:2559)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                agoncharuk Alexey Goncharuk
                Reporter:
                agoncharuk Alexey Goncharuk
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m