Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CDC06166565 for ; Tue, 25 Jul 2017 15:13:24 +0200 (CEST) Received: (qmail 51644 invoked by uid 500); 25 Jul 2017 13:13:08 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 51139 invoked by uid 99); 25 Jul 2017 13:13:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jul 2017 13:13:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0667118070A for ; Tue, 25 Jul 2017 13:13:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Mseibt8ARvCm for ; Tue, 25 Jul 2017 13:13:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E88B35FB98 for ; Tue, 25 Jul 2017 13:13:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D5126E0E4D for ; Tue, 25 Jul 2017 13:13:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id D481423F46 for ; Tue, 25 Jul 2017 13:13:00 +0000 (UTC) Date: Tue, 25 Jul 2017 13:13:00 +0000 (UTC) From: "Dmitriy Sorokin (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (IGNITE-4181) The several runs of ServicesExample causes NPE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-4181?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitriy Sorokin reassigned IGNITE-4181: --------------------------------------- Assignee: Dmitriy Sorokin (was: Andrey Kuznetsov) > The several runs of ServicesExample causes NPE > ---------------------------------------------- > > Key: IGNITE-4181 > URL: https://issues.apache.org/jira/browse/IGNITE-4181 > Project: Ignite > Issue Type: Bug > Components: general > Affects Versions: 1.6, 1.7, 2.0 > Environment: Windows 10, Oracle JDK 7 > Reporter: Sergey Kozlov > Assignee: Dmitriy Sorokin > Labels: newbie > Fix For: 2.2 > > > 0. Open example project in IDEA > 1. Start 2-3 {{ExampleNodeStartup}} > 2. Run {{ServicesExample}} several times. > Sometimes it causes NullPointerException: > {noformat} > Executing closure [mapSize=3D10] > Service was cancelled: myNodeSingletonService > [15:37:20,020][INFO ][srvc-deploy-#24%null%][GridServiceProcessor] Cancel= led service instance [name=3DmyNodeSingletonService, execId=3D88a92a4d-c1cb= -4a9b-8930-c67ac7f42bf3] > [15:37:20,032][INFO ][sys-#33%null%][GridCacheProcessor] Stopped cache: m= yNodeSingletonService > [15:37:20,033][INFO ][exchange-worker-#23%null%][GridCachePartitionExchan= geManager] Skipping rebalancing (nothing scheduled) [top=3DAffinityTopology= Version [topVer=3D10, minorTopVer=3D4], evt=3DDISCOVERY_CUSTOM_EVT, node=3D= 5faac72a-72ab-4277-9643-0e962973b3f4] > [15:37:20,045][INFO ][sys-#39%null%][GridCacheProcessor] Stopped cache: m= yClusterSingletonService > [15:37:20,046][INFO ][exchange-worker-#23%null%][GridCachePartitionExchan= geManager] Skipping rebalancing (nothing scheduled) [top=3DAffinityTopology= Version [topVer=3D10, minorTopVer=3D5], evt=3DDISCOVERY_CUSTOM_EVT, node=3D= 478f1752-fdce-42c6-aef6-55a5f4c08d90] > [15:37:20,062][INFO ][disco-event-worker-#20%null%][GridDiscoveryManager]= Node left topology: TcpDiscoveryNode [id=3D4f9cbc67-d756-4c25-9ee4-aee6528= da024, addrs=3D[0:0:0:0:0:0:0:1, 127.0.0.1, 172.25.4.107, 2001:0:9d38:6ab8:= 34b2:9f3e:3c6f:269], sockAddrs=3D[/2001:0:9d38:6ab8:34b2:9f3e:3c6f:269:0, /= 127.0.0.1:0, /0:0:0:0:0:0:0:1:0, work-pc/172.25.4.107:0], discPort=3D0, ord= er=3D10, intOrder=3D7, lastExchangeTime=3D1478522239236, loc=3Dfalse, ver= =3D1.7.3#20161107-sha1:5132ac87, isClient=3Dtrue] > [15:37:20,063][INFO ][disco-event-worker-#20%null%][GridDiscoveryManager]= Topology snapshot [ver=3D11, servers=3D3, clients=3D0, CPUs=3D8, heap=3D11= .0GB] > [15:37:20,064][INFO ][sys-#44%null%][GridCacheProcessor] Stopped cache: m= yMultiService > [15:37:20,066][INFO ][exchange-worker-#23%null%][GridCachePartitionExchan= geManager] Skipping rebalancing (nothing scheduled) [top=3DAffinityTopology= Version [topVer=3D10, minorTopVer=3D6], evt=3DDISCOVERY_CUSTOM_EVT, node=3D= 5faac72a-72ab-4277-9643-0e962973b3f4] > [15:37:20,076][INFO ][exchange-worker-#23%null%][GridCacheProcessor] Star= ted cache [name=3DmyClusterSingletonService, mode=3DPARTITIONED] > [15:37:20,115][INFO ][exchange-worker-#23%null%][GridCachePartitionExchan= geManager] Skipping rebalancing (nothing scheduled) [top=3DAffinityTopology= Version [topVer=3D10, minorTopVer=3D7], evt=3DDISCOVERY_CUSTOM_EVT, node=3D= 478f1752-fdce-42c6-aef6-55a5f4c08d90] > [15:37:20,121][INFO ][exchange-worker-#23%null%][GridCachePartitionExchan= geManager] Skipping rebalancing (nothing scheduled) [top=3DAffinityTopology= Version [topVer=3D11, minorTopVer=3D0], evt=3DNODE_LEFT, node=3D4f9cbc67-d7= 56-4c25-9ee4-aee6528da024] > [15:37:20,133][INFO ][exchange-worker-#23%null%][GridCacheProcessor] Star= ted cache [name=3DmyMultiService, mode=3DPARTITIONED] > [15:37:20,135][ERROR][exchange-worker-#23%null%][GridDhtPartitionsExchang= eFuture] Failed to reinitialize local partitions (preloading will be stoppe= d): GridDhtPartitionExchangeId [topVer=3DAffinityTopologyVersion [topVer=3D= 11, minorTopVer=3D1], nodeId=3D5faac72a, evt=3DDISCOVERY_CUSTOM_EVT] > java.lang.NullPointerException > =09at org.apache.ignite.internal.processors.cache.CacheAffinitySharedMana= ger.initStartedCacheOnCoordinator(CacheAffinitySharedManager.java:743) > =09at org.apache.ignite.internal.processors.cache.CacheAffinitySharedMana= ger.onCacheChangeRequest(CacheAffinitySharedManager.java:413) > =09at org.apache.ignite.internal.processors.cache.distributed.dht.preload= er.GridDhtPartitionsExchangeFuture.onCacheChangeRequest(GridDhtPartitionsEx= changeFuture.java:565) > =09at org.apache.ignite.internal.processors.cache.distributed.dht.preload= er.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.jav= a:448) > =09at org.apache.ignite.internal.processors.cache.GridCachePartitionExcha= ngeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1447) > =09at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.ja= va:110) > =09at java.lang.Thread.run(Thread.java:745) > [15:37:20,142][ERROR][exchange-worker-#23%null%][GridCachePartitionExchan= geManager] Failed to wait for completion of partition map exchange (preload= ing will not start): GridDhtPartitionsExchangeFuture [dummy=3Dfalse, forceP= reload=3Dfalse, reassign=3Dfalse, discoEvt=3DDiscoveryCustomEvent [customMs= g=3Dnull, affTopVer=3DAffinityTopologyVersion [topVer=3D11, minorTopVer=3D1= ], super=3DDiscoveryEvent [evtNode=3DTcpDiscoveryNode [id=3D5faac72a-72ab-4= 277-9643-0e962973b3f4, addrs=3D[0:0:0:0:0:0:0:1, 127.0.0.1, 172.25.4.107, 2= 001:0:9d38:6ab8:34b2:9f3e:3c6f:269], sockAddrs=3D[work-pc/172.25.4.107:4750= 1, /127.0.0.1:47501, /0:0:0:0:0:0:0:1:47501, /2001:0:9d38:6ab8:34b2:9f3e:3c= 6f:269:47501], discPort=3D47501, order=3D3, intOrder=3D3, lastExchangeTime= =3D1478522196962, loc=3Dfalse, ver=3D1.7.3#20161107-sha1:5132ac87, isClient= =3Dfalse], topVer=3D11, nodeId8=3Dbbcf9d48, msg=3Dnull, type=3DDISCOVERY_CU= STOM_EVT, tstamp=3D1478522240108]], crd=3DTcpDiscoveryNode [id=3Dbbcf9d48-9= 80f-43a1-9219-2456baf49262, addrs=3D[0:0:0:0:0:0:0:1, 127.0.0.1, 172.25.4.1= 07, 2001:0:9d38:6ab8:34b2:9f3e:3c6f:269], sockAddrs=3D[/2001:0:9d38:6ab8:34= b2:9f3e:3c6f:269:47500, /127.0.0.1:47500, /0:0:0:0:0:0:0:1:47500, work-pc/1= 72.25.4.107:47500], discPort=3D47500, order=3D1, intOrder=3D1, lastExchange= Time=3D1478522240139, loc=3Dtrue, ver=3D1.7.3#20161107-sha1:5132ac87, isCli= ent=3Dfalse], exchId=3DGridDhtPartitionExchangeId [topVer=3DAffinityTopolog= yVersion [topVer=3D11, minorTopVer=3D1], nodeId=3D5faac72a, evt=3DDISCOVERY= _CUSTOM_EVT], added=3Dtrue, initFut=3DGridFutureAdapter [resFlag=3D2, res= =3Dfalse, startTime=3D1478522240108, endTime=3D1478522240128, ignoreInterru= pts=3Dfalse, state=3DDONE], init=3Dfalse, topSnapshot=3Dnull, lastVer=3Dnul= l, partReleaseFut=3Dnull, affChangeMsg=3Dnull, skipPreload=3Dfalse, clientO= nlyExchange=3Dfalse, initTs=3D1478522240118, centralizedAff=3Dfalse, evtLat= ch=3D0, remaining=3D[478f1752-fdce-42c6-aef6-55a5f4c08d90, 5faac72a-72ab-42= 77-9643-0e962973b3f4], srvNodes=3D[TcpDiscoveryNode [id=3Dbbcf9d48-980f-43a= 1-9219-2456baf49262, addrs=3D[0:0:0:0:0:0:0:1, 127.0.0.1, 172.25.4.107, 200= 1:0:9d38:6ab8:34b2:9f3e:3c6f:269], sockAddrs=3D[/2001:0:9d38:6ab8:34b2:9f3e= :3c6f:269:47500, /127.0.0.1:47500, /0:0:0:0:0:0:0:1:47500, work-pc/172.25.4= .107:47500], discPort=3D47500, order=3D1, intOrder=3D1, lastExchangeTime=3D= 1478522240139, loc=3Dtrue, ver=3D1.7.3#20161107-sha1:5132ac87, isClient=3Df= alse], TcpDiscoveryNode [id=3D478f1752-fdce-42c6-aef6-55a5f4c08d90, addrs= =3D[0:0:0:0:0:0:0:1, 127.0.0.1, 172.25.4.107, 2001:0:9d38:6ab8:34b2:9f3e:3c= 6f:269], sockAddrs=3D[work-pc/172.25.4.107:47502, /2001:0:9d38:6ab8:34b2:9f= 3e:3c6f:269:47502, /127.0.0.1:47502, /0:0:0:0:0:0:0:1:47502], discPort=3D47= 502, order=3D2, intOrder=3D2, lastExchangeTime=3D1478522194286, loc=3Dfalse= , ver=3D1.7.3#20161107-sha1:5132ac87, isClient=3Dfalse], TcpDiscoveryNode [= id=3D5faac72a-72ab-4277-9643-0e962973b3f4, addrs=3D[0:0:0:0:0:0:0:1, 127.0.= 0.1, 172.25.4.107, 2001:0:9d38:6ab8:34b2:9f3e:3c6f:269], sockAddrs=3D[work-= pc/172.25.4.107:47501, /127.0.0.1:47501, /0:0:0:0:0:0:0:1:47501, /2001:0:9d= 38:6ab8:34b2:9f3e:3c6f:269:47501], discPort=3D47501, order=3D3, intOrder=3D= 3, lastExchangeTime=3D1478522196962, loc=3Dfalse, ver=3D1.7.3#20161107-sha1= :5132ac87, isClient=3Dfalse]], super=3DGridFutureAdapter [resFlag=3D1, res= =3Djava.lang.NullPointerException, startTime=3D1478522240108, endTime=3D147= 8522240128, ignoreInterrupts=3Dfalse, state=3DDONE]] > class org.apache.ignite.IgniteCheckedException: null > =09at org.apache.ignite.internal.util.IgniteUtils.cast(IgniteUtils.java:7= 154) > =09at org.apache.ignite.internal.util.future.GridFutureAdapter.get0(GridF= utureAdapter.java:196) > =09at org.apache.ignite.internal.util.future.GridFutureAdapter.get(GridFu= tureAdapter.java:137) > =09at org.apache.ignite.internal.processors.cache.GridCachePartitionExcha= ngeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1453) > =09at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.ja= va:110) > =09at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.NullPointerException > =09at org.apache.ignite.internal.processors.cache.CacheAffinitySharedMana= ger.initStartedCacheOnCoordinator(CacheAffinitySharedManager.java:743) > =09at org.apache.ignite.internal.processors.cache.CacheAffinitySharedMana= ger.onCacheChangeRequest(CacheAffinitySharedManager.java:413) > =09at org.apache.ignite.internal.processors.cache.distributed.dht.preload= er.GridDhtPartitionsExchangeFuture.onCacheChangeRequest(GridDhtPartitionsEx= changeFuture.java:565) > =09at org.apache.ignite.internal.processors.cache.distributed.dht.preload= er.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.jav= a:448) > =09at org.apache.ignite.internal.processors.cache.GridCachePartitionExcha= ngeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1447) > =09... 2 more > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)