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

Pavel Konstantinov updated IGNITE-5020:
---------------------------------------
    Description: 
Start 2 server nodes
Start client
Stop server nodes
{code}
[11:12:58,181][INFO][tcp-client-disco-msg-worker-#5%tester%][TcpDiscoverySpi] 
Client node disconnected from cluster, will try to reconnect with new id 
[newId=62cb8b71-4fe1-4fc7-b60b-236063ce9571, 
prevId=a48cdc72-d9b2-46db-b07f-3250610df1f8, locNode=TcpDiscoveryNode 
[id=a48cdc72-d9b2-46db-b07f-3250610df1f8, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 
192.168.1.40, 192.168.56.1], sockAddrs=[/192.168.1.40:0, /0:0:0:0:0:0:0:1:0, 
/127.0.0.1:0, /192.168.56.1:0], discPort=0, order=4, intOrder=0, 
lastExchangeTime=1492575133264, loc=true, ver=2.0.0#20170418-sha1:6a1d263d, 
isClient=true]]
[11:12:59,580][INFO][sys-#29%tester%][GridCacheProcessor] Stopped cache: 
igfs-data
[11:12:59,586][INFO][sys-#34%tester%][GridCacheProcessor] Stopped cache: 
offheap-sorted-100
[11:12:59,588][INFO][sys-#31%tester%][GridCacheProcessor] Stopped cache: 
c_replicated
[11:12:59,591][INFO][sys-#30%tester%][GridCacheProcessor] Stopped cache: 
c_partitioned2
[11:12:59,591][INFO][sys-#31%tester%][GridCacheProcessor] Stopped cache: 
offheap-fifo-100
[11:12:59,597][INFO][sys-#34%tester%][GridCacheProcessor] Stopped cache: 
oh_partitioned
[11:12:59,597][INFO][sys-#29%tester%][GridCacheProcessor] Stopped cache: 
near-lru-100
[11:12:59,601][INFO][sys-#35%tester%][GridCacheProcessor] Stopped cache: 
ttl_partitioned
[11:12:59,603][INFO][sys-#32%tester%][GridCacheProcessor] Stopped cache: 
c_partitioned3
[11:12:59,603][INFO][sys-#33%tester%][GridCacheProcessor] Stopped cache: 
offheap-lru-100
[11:12:59,604][INFO][sys-#27%tester%][GridCacheProcessor] Stopped cache: 
near-sorted-100
[11:12:59,608][INFO][sys-#32%tester%][GridCacheProcessor] Stopped cache: 
c_partitioned
[11:12:59,608][SEVERE][exchange-worker-#36%tester%][GridDhtPartitionsExchangeFuture]
 Failed to reinitialize local partitions (preloading will be stopped): 
GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=7, 
minorTopVer=0], nodeId=62cb8b71, evt=NODE_JOINED]
java.lang.NullPointerException
        at 
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.fetchAffinityOnJoin(CacheAffinitySharedManager.java:953)
        at 
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onClientEvent(CacheAffinitySharedManager.java:649)
        at 
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onClientNodeEvent(GridDhtPartitionsExchangeFuture.java:739)
        at 
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:549)
        at 
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1806)
        at 
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        at java.lang.Thread.run(Thread.java:745)
{code}
Start server node

  was:
{code}
[11:12:58,181][INFO][tcp-client-disco-msg-worker-#5%tester%][TcpDiscoverySpi] 
Client node disconnected from cluster, will try to reconnect with new id 
[newId=62cb8b71-4fe1-4fc7-b60b-236063ce9571, 
prevId=a48cdc72-d9b2-46db-b07f-3250610df1f8, locNode=TcpDiscoveryNode 
[id=a48cdc72-d9b2-46db-b07f-3250610df1f8, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 
192.168.1.40, 192.168.56.1], sockAddrs=[/192.168.1.40:0, /0:0:0:0:0:0:0:1:0, 
/127.0.0.1:0, /192.168.56.1:0], discPort=0, order=4, intOrder=0, 
lastExchangeTime=1492575133264, loc=true, ver=2.0.0#20170418-sha1:6a1d263d, 
isClient=true]]
[11:12:59,580][INFO][sys-#29%tester%][GridCacheProcessor] Stopped cache: 
igfs-data
[11:12:59,586][INFO][sys-#34%tester%][GridCacheProcessor] Stopped cache: 
offheap-sorted-100
[11:12:59,588][INFO][sys-#31%tester%][GridCacheProcessor] Stopped cache: 
c_replicated
[11:12:59,591][INFO][sys-#30%tester%][GridCacheProcessor] Stopped cache: 
c_partitioned2
[11:12:59,591][INFO][sys-#31%tester%][GridCacheProcessor] Stopped cache: 
offheap-fifo-100
[11:12:59,597][INFO][sys-#34%tester%][GridCacheProcessor] Stopped cache: 
oh_partitioned
[11:12:59,597][INFO][sys-#29%tester%][GridCacheProcessor] Stopped cache: 
near-lru-100
[11:12:59,601][INFO][sys-#35%tester%][GridCacheProcessor] Stopped cache: 
ttl_partitioned
[11:12:59,603][INFO][sys-#32%tester%][GridCacheProcessor] Stopped cache: 
c_partitioned3
[11:12:59,603][INFO][sys-#33%tester%][GridCacheProcessor] Stopped cache: 
offheap-lru-100
[11:12:59,604][INFO][sys-#27%tester%][GridCacheProcessor] Stopped cache: 
near-sorted-100
[11:12:59,608][INFO][sys-#32%tester%][GridCacheProcessor] Stopped cache: 
c_partitioned
[11:12:59,608][SEVERE][exchange-worker-#36%tester%][GridDhtPartitionsExchangeFuture]
 Failed to reinitialize local partitions (preloading will be stopped): 
GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=7, 
minorTopVer=0], nodeId=62cb8b71, evt=NODE_JOINED]
java.lang.NullPointerException
        at 
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.fetchAffinityOnJoin(CacheAffinitySharedManager.java:953)
        at 
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onClientEvent(CacheAffinitySharedManager.java:649)
        at 
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onClientNodeEvent(GridDhtPartitionsExchangeFuture.java:739)
        at 
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:549)
        at 
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1806)
        at 
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        at java.lang.Thread.run(Thread.java:745)
{code}


> Client node failed with NPE
> ---------------------------
>
>                 Key: IGNITE-5020
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5020
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Pavel Konstantinov
>            Priority: Blocker
>             Fix For: 2.0
>
>
> Start 2 server nodes
> Start client
> Stop server nodes
> {code}
> [11:12:58,181][INFO][tcp-client-disco-msg-worker-#5%tester%][TcpDiscoverySpi] 
> Client node disconnected from cluster, will try to reconnect with new id 
> [newId=62cb8b71-4fe1-4fc7-b60b-236063ce9571, 
> prevId=a48cdc72-d9b2-46db-b07f-3250610df1f8, locNode=TcpDiscoveryNode 
> [id=a48cdc72-d9b2-46db-b07f-3250610df1f8, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 
> 192.168.1.40, 192.168.56.1], sockAddrs=[/192.168.1.40:0, /0:0:0:0:0:0:0:1:0, 
> /127.0.0.1:0, /192.168.56.1:0], discPort=0, order=4, intOrder=0, 
> lastExchangeTime=1492575133264, loc=true, ver=2.0.0#20170418-sha1:6a1d263d, 
> isClient=true]]
> [11:12:59,580][INFO][sys-#29%tester%][GridCacheProcessor] Stopped cache: 
> igfs-data
> [11:12:59,586][INFO][sys-#34%tester%][GridCacheProcessor] Stopped cache: 
> offheap-sorted-100
> [11:12:59,588][INFO][sys-#31%tester%][GridCacheProcessor] Stopped cache: 
> c_replicated
> [11:12:59,591][INFO][sys-#30%tester%][GridCacheProcessor] Stopped cache: 
> c_partitioned2
> [11:12:59,591][INFO][sys-#31%tester%][GridCacheProcessor] Stopped cache: 
> offheap-fifo-100
> [11:12:59,597][INFO][sys-#34%tester%][GridCacheProcessor] Stopped cache: 
> oh_partitioned
> [11:12:59,597][INFO][sys-#29%tester%][GridCacheProcessor] Stopped cache: 
> near-lru-100
> [11:12:59,601][INFO][sys-#35%tester%][GridCacheProcessor] Stopped cache: 
> ttl_partitioned
> [11:12:59,603][INFO][sys-#32%tester%][GridCacheProcessor] Stopped cache: 
> c_partitioned3
> [11:12:59,603][INFO][sys-#33%tester%][GridCacheProcessor] Stopped cache: 
> offheap-lru-100
> [11:12:59,604][INFO][sys-#27%tester%][GridCacheProcessor] Stopped cache: 
> near-sorted-100
> [11:12:59,608][INFO][sys-#32%tester%][GridCacheProcessor] Stopped cache: 
> c_partitioned
> [11:12:59,608][SEVERE][exchange-worker-#36%tester%][GridDhtPartitionsExchangeFuture]
>  Failed to reinitialize local partitions (preloading will be stopped): 
> GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=7, 
> minorTopVer=0], nodeId=62cb8b71, evt=NODE_JOINED]
> java.lang.NullPointerException
>         at 
> org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.fetchAffinityOnJoin(CacheAffinitySharedManager.java:953)
>         at 
> org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onClientEvent(CacheAffinitySharedManager.java:649)
>         at 
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onClientNodeEvent(GridDhtPartitionsExchangeFuture.java:739)
>         at 
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:549)
>         at 
> org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1806)
>         at 
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
>         at java.lang.Thread.run(Thread.java:745)
> {code}
> Start server node



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to