[ 
https://issues.apache.org/jira/browse/IGNITE-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Semen Boikov resolved IGNITE-5486.
----------------------------------
    Resolution: Fixed
      Assignee: Sergey Kozlov  (was: Semen Boikov)

Should be fixed in 5bf876f67362e6745756b051ac6e56d60015a093.

> ExampleNodeStartup fails with NPe
> ---------------------------------
>
>                 Key: IGNITE-5486
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5486
>             Project: Ignite
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 2.1
>            Reporter: Sergey Kozlov
>            Assignee: Sergey Kozlov
>             Fix For: 2.1
>
>
> 1. Start 3 or more nodes in IDEA and sporadically one prints out NPE:
> {noformat}
> [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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to