[ https://issues.apache.org/jira/browse/IGNITE-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16958979#comment-16958979 ]
Dmitriy Sorokin commented on IGNITE-1606: ----------------------------------------- Ultimately, I chose the second solution with leaving injected loggers non-nullified, see [PR#7004|[https://github.com/apache/ignite/pull/7004].] Ticket is ready for code review. > NPE during node stop due to nullified logger in TcpCommunicationSpi > ------------------------------------------------------------------- > > Key: IGNITE-1606 > URL: https://issues.apache.org/jira/browse/IGNITE-1606 > Project: Ignite > Issue Type: Bug > Components: general > Reporter: Valentin Kulichenko > Assignee: Dmitriy Sorokin > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > Probably we should check other components as well. Not sure why we need to > nullify logger. > {noformat} > Exception in thread "ignite-#101%sys-t1-1%" java.lang.NullPointerException > at > org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage0(TcpCommunicationSpi.java:1896) > at > org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage(TcpCommunicationSpi.java:1880) > at > org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:1066) > at > org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:1214) > at > org.apache.ignite.internal.processors.continuous.GridContinuousProcessor.sendWithRetries(GridContinuousProcessor.java:1071) > at > org.apache.ignite.internal.processors.continuous.GridContinuousProcessor.sendWithRetries(GridContinuousProcessor.java:1034) > at > org.apache.ignite.internal.processors.continuous.GridContinuousProcessor.sendWithRetries(GridContinuousProcessor.java:1017) > at > org.apache.ignite.internal.processors.continuous.GridContinuousProcessor.processNotification(GridContinuousProcessor.java:851) > at > org.apache.ignite.internal.processors.continuous.GridContinuousProcessor.access$1500(GridContinuousProcessor.java:85) > at > org.apache.ignite.internal.processors.continuous.GridContinuousProcessor$8.onMessage(GridContinuousProcessor.java:556) > at > org.apache.ignite.internal.managers.communication.GridIoManager$GridCommunicationMessageSet.unwind(GridIoManager.java:2302) > at > org.apache.ignite.internal.managers.communication.GridIoManager.unwindMessageSet(GridIoManager.java:992) > at > org.apache.ignite.internal.managers.communication.GridIoManager.access$1700(GridIoManager.java:106) > at > org.apache.ignite.internal.managers.communication.GridIoManager$6.run(GridIoManager.java:961) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)