You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Sergey Kozlov (JIRA)" <ji...@apache.org> on 2015/07/09 18:51:04 UTC

[jira] [Created] (IGNITE-1111) Scalar ping pong example failed with NPE

Sergey Kozlov created IGNITE-1111:
-------------------------------------

             Summary: 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: Yakov Zhdanov
             Fix For: sprint-8


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)