You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrew Mashenkov (JIRA)" <ji...@apache.org> on 2017/11/23 17:14:00 UTC
[jira] [Created] (IGNITE-7008) TcpDiscoverySharedFsIpFinder fails
with NPE if address can't be resolved.
Andrew Mashenkov created IGNITE-7008:
----------------------------------------
Summary: TcpDiscoverySharedFsIpFinder fails with NPE if address can't be resolved.
Key: IGNITE-7008
URL: https://issues.apache.org/jira/browse/IGNITE-7008
Project: Ignite
Issue Type: Bug
Components: general
Reporter: Andrew Mashenkov
Seems, we should add a check to registerAddresses() method if address has been resolved and use hostname otherwise.
2017-11-23 14:25:19,487 ERROR [tcp-disco-msg-worker-#2%null%] [Slf4jLogger.java:119] Runtime error caught during grid runnable execution: IgniteSpiThread [name=tcp-disco-msg-worker-#2%null%]
java.lang.NullPointerException: null
at org.apache.ignite.spi.discovery.tcp.ipfinder.sharedfs.TcpDiscoverySharedFsIpFinder.name(TcpDiscoverySharedFsIpFinder.java:277)
at org.apache.ignite.spi.discovery.tcp.ipfinder.sharedfs.TcpDiscoverySharedFsIpFinder.distinctNames(TcpDiscoverySharedFsIpFinder.java:260)
at org.apache.ignite.spi.discovery.tcp.ipfinder.sharedfs.TcpDiscoverySharedFsIpFinder.registerAddresses(TcpDiscoverySharedFsIpFinder.java:220)
at org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processNodeAddFinishedMessage(ServerImpl.java:4442)
at org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processNodeAddedMessage(ServerImpl.java:4052)
at org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processMessage(ServerImpl.java:2623)
at org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processMessage(ServerImpl.java:2437)
at org.apache.ignite.spi.discovery.tcp.ServerImpl$MessageWorkerAdapter.body(ServerImpl.java:6568)
at org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.body(ServerImpl.java:2523)
at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)