You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/01/27 11:47:39 UTC

[jira] [Commented] (IGNITE-2453) GridCacheStopSelfTest reveal NPE at GridNearTxFinishFuture for backup node is null

    [ https://issues.apache.org/jira/browse/IGNITE-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15119021#comment-15119021 ] 

ASF GitHub Bot commented on IGNITE-2453:
----------------------------------------

GitHub user VladimirErshov opened a pull request:

    https://github.com/apache/ignite/pull/427

    IGNITE-2453 Fixed single primary and single backup failure cause NPE …

    …at future for backup

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/VladimirErshov/ignite ignite-2453

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/427.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #427
    
----
commit 32d1524345e47cb13b68fc8890f1689584d6b4de
Author: vershov <ve...@gridgain.com>
Date:   2016-01-27T10:45:03Z

    IGNITE-2453 Fixed single primary and single backup failure cause NPE at future for backup

----


> GridCacheStopSelfTest reveal NPE at GridNearTxFinishFuture for backup node is null
> ----------------------------------------------------------------------------------
>
>                 Key: IGNITE-2453
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2453
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>            Reporter: Vladimir Ershov
>            Assignee: Vladimir Ershov
>            Priority: Critical
>         Attachments: Ignite_Tests_Ignite_Binary_Objects_Cache_300_artifacts.zip
>
>
> We have to fix case with backup == null here 
> GridNearTxFinishFuture#checkBackup()
> to prevent this:
> {noformat}
> [02:11:50,554][ERROR][disco-event-worker-#70746%cache.GridCacheStopSelfTest0%][GridEventStorageManager] Unexpected exception in listener notification for event: DiscoveryEvent [evtNode=TcpDiscoveryNode [id=81c3f225-1185-487a-8b28-c48afd300002, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47502], discPort=47502, order=3, intOrder=3, lastExchangeTime=1453774307067, loc=false, ver=1.5.1#19700101-sha1:00000000, isClient=false], topVer=7, nodeId8=92550fcc, msg=Node left: TcpDiscoveryNode [id=81c3f225-1185-487a-8b28-c48afd300002, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47502], discPort=47502, order=3, intOrder=3, lastExchangeTime=1453774307067, loc=false, ver=1.5.1#19700101-sha1:00000000, isClient=false], type=NODE_LEFT, tstamp=1453774310538]
> java.lang.NullPointerException
> 	at org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxFinishFuture$CheckBackupMiniFuture.onNodeLeft(GridNearTxFinishFuture.java:883)
> 	at org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxFinishFuture.onNodeLeft(GridNearTxFinishFuture.java:139)
> 	at org.apache.ignite.internal.processors.cache.GridCacheMvccManager$3.onEvent(GridCacheMvccManager.java:217)
> 	at org.apache.ignite.internal.managers.eventstorage.GridEventStorageManager.notifyListeners(GridEventStorageManager.java:770)
> 	at org.apache.ignite.internal.managers.eventstorage.GridEventStorageManager.notifyListeners(GridEventStorageManager.java:755)
> 	at org.apache.ignite.internal.managers.eventstorage.GridEventStorageManager.record(GridEventStorageManager.java:295)
> 	at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoveryWorker.recordEvent(GridDiscoveryManager.java:1974)
> 	at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoveryWorker.body0(GridDiscoveryManager.java:2181)
> 	at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoveryWorker.body(GridDiscoveryManager.java:2014)
> 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
> 	at java.lang.Thread.run(Thread.java:745)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)