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

ExampleNodeStartup fails with NPe

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: examples
    • Labels:
      None

      Description

      1. Start 3 or more nodes in IDEA and sporadically one prints out NPE:

      [2017-06-14 15:34:52,510][ERROR][sys-#35%null%][GridCacheIoManager] Failed processing message [senderId=d6187078-9af2-464f-a86b-9a8f3f4e53ee, msg=GridDhtPartitionsFullMessage [parts={-2100569601=GridDhtPartitionFullMap [nodeId=d6187078-9af2-464f-a86b-9a8f3f4e53ee, nodeOrder=1, updateSeq=12, size=2], 689859866=GridDhtPartitionFullMap [nodeId=d6187078-9af2-464f-a86b-9a8f3f4e53ee, nodeOrder=1, updateSeq=12, size=2]}, partCntrs=o.a.i.i.processors.cache.distributed.dht.preloader.IgniteDhtPartitionCountersMap@4494aed2, partHistSuppliers=null, partsToReload=null, topVer=AffinityTopologyVersion [topVer=-1, minorTopVer=0], exs={}, compress=false, partCnt=2, super=GridDhtPartitionsAbstractMessage [exchId=null, lastVer=null, flags=1, super=GridCacheMessage [msgId=8, depInfo=null, err=null, skipPrepare=false]]]]
      java.lang.NullPointerException
      	at org.apache.ignite.internal.processors.affinity.GridAffinityAssignment.getIds(GridAffinityAssignment.java:170)
      	at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl.update(GridDhtPartitionTopologyImpl.java:1147)
      	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager.processFullPartitionUpdate(GridCachePartitionExchangeManager.java:1272)
      	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager.access$1400(GridCachePartitionExchangeManager.java:124)
      	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$3.onMessage(GridCachePartitionExchangeManager.java:329)
      	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$3.onMessage(GridCachePartitionExchangeManager.java:327)
      	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$MessageHandler.apply(GridCachePartitionExchangeManager.java:2195)
      	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$MessageHandler.apply(GridCachePartitionExchangeManager.java:2177)
      	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:926)
      	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:445)
      	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:364)
      	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:300)
      	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$100(GridCacheIoManager.java:103)
      	at org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:290)
      	at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1554)
      	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1182)
      	at org.apache.ignite.internal.managers.communication.GridIoManager.access$4200(GridIoManager.java:124)
      	at org.apache.ignite.internal.managers.communication.GridIoManager$9.run(GridIoManager.java:1095)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

            • Assignee:
              skozlov Sergey Kozlov
              Reporter:
              skozlov Sergey Kozlov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: