ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy Govorukhin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-11293) NPE in TcpCommunicationSpi
Date Tue, 12 Feb 2019 13:00:00 GMT

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

Dmitriy Govorukhin commented on IGNITE-11293:
---------------------------------------------

[~ibessonov] Looks good to me, merged to master. Thanks for your contribution!

> NPE in TcpCommunicationSpi
> --------------------------
>
>                 Key: IGNITE-11293
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11293
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Ivan Bessonov
>            Assignee: Ivan Bessonov
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain
>             Fix For: 2.8
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Sometimes this exception is happening during "stopAllGrids" method execution in tests:
> {code:java}
> java.lang.NullPointerException
> at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage0(TcpCommunicationSpi.java:2787)
> at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage(TcpCommunicationSpi.java:2717)
> at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:1648)
> at org.apache.ignite.internal.managers.communication.GridIoManager.sendOrderedMessage(GridIoManager.java:1757)
> at org.apache.ignite.internal.processors.cache.GridCacheIoManager.sendOrderedMessage(GridCacheIoManager.java:1303)
> at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionDemander.lambda$null$1(GridDhtPartitionDemander.java:505)
> at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6892)
> at org.apache.ignite.internal.processors.closure.GridClosureProcessor$1.body(GridClosureProcessor.java:827)
> at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> {code}
> Reason is the interruption thrown from TcpCommunicationSpi#reserveClient, SPI is already
in invalid state at this point so "log" and some other fields are nulls.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message