[ https://issues.apache.org/jira/browse/IGNITE-1111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14727300#comment-14727300 ]
Yakov Zhdanov commented on IGNITE-1111: --------------------------------------- Sergey, I looked at the code here - https://www.codatlas.com/github.com/lambdalab-mirror/jdk7u-jdk/HEAD/src/windows/classes/java/net/DualStackPlainSocketImpl.java?line=250 It seems to be an issue somewhere in JDK code. We get NPE because of some private member in package local class is null. Very weird. Can you quickly search in JDK bug database and post the stack trace there if same bug missing? > Scalar ping pong example failed with NPE > ---------------------------------------- > > Key: IGNITE-1111 > URL: https://issues.apache.org/jira/browse/IGNITE-1111 > Project: Ignite > Issue Type: Bug > Affects Versions: sprint-7 > Reporter: Sergey Kozlov > Assignee: Sergey Kozlov > Fix For: ignite-1.4 > > > Note: sporadic failure. > ScalarPingPongExample failed once for Windows when started with one server > node by bin\ignite.bat examples\config\example-ignite.xml: > Please find below the example output: > {noformat} > [19:51:39,648][INFO][main][GridDiscoveryManager] Topology snapshot [ver=70, > server nodes=2, client nodes=0, CPUs=8, heap=2.0GB] > [19:51:39,700][INFO][main][GridDeploymentLocalStore] Class locally deployed: > class org.apache.ignite.scalar.examples.ScalarPingPongExample$$anon$1 > PONG > PONG > PONG > PONG > PONG > PONG > PONG > PONG > PONG > PONG > [19:51:39,722][INFO][main][GridTcpRestProtocol] Command protocol successfully > stopped: TCP binary > [19:51:39,726][INFO][main][GridJettyRestProtocol] Command protocol > successfully stopped: Jetty REST > [19:51:39,733][SEVERE][tcp-disco-sock-reader-#11%null][TcpDiscoverySpi] > Runtime error caught during grid runnable execution: Socket reader [id=147, > name=tcp-disco-sock-reader-#11%null, nodeId=null] > java.lang.NullPointerException > at > java.net.DualStackPlainSocketImpl.checkAndReturnNativeFD(DualStackPlainSocketImpl.java:250) > at > java.net.DualStackPlainSocketImpl.socketSetOption(DualStackPlainSocketImpl.java:179) > at > java.net.AbstractPlainSocketImpl.setOption(AbstractPlainSocketImpl.java:269) > at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:176) > at java.net.Socket.setKeepAlive(Socket.java:1268) > at > org.apache.ignite.spi.discovery.tcp.ServerImpl$SocketReader.body(ServerImpl.java:4089) > at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62) > [19:51:39,734][INFO][main][GridCacheProcessor] Stopped cache: > ignite-marshaller-sys-cache > [19:51:39,735][INFO][main][GridCacheProcessor] Stopped cache: ignite-sys-cache > [19:51:39,735][INFO][main][GridCacheProcessor] Stopped cache: > ignite-atomics-sys-cache > [19:51:39,735][INFO][main][GridCacheProcessor] Stopped cache: datastructures_0 > [19:51:39,735][INFO][main][GridCacheProcessor] Stopped cache: datastructures_1 > [19:51:39,736][INFO][main][GridDeploymentLocalStore] Removed undeployed > class: GridDeployment [ts=1436457099529, depMode=SHARED, > clsLdr=sun.misc.Launcher$AppClassLoader@3f677737, > clsLdrId=757a3837e41-e889dd6a-3dcc-4a3f-8716-59348d37edc2, userVer=0, > loc=true, > sampleClsName=org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionFullMap, > pendingUndeploy=false, undeployed=true, usage=0] > [19:51:39,738][INFO][main][IgniteKernal] > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)