ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vyacheslav Koptilin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-7396) IgniteUtils.offheapSize may throw NullPointerException
Date Fri, 12 Jan 2018 13:08:00 GMT
Vyacheslav Koptilin created IGNITE-7396:
-------------------------------------------

             Summary: IgniteUtils.offheapSize may throw NullPointerException
                 Key: IGNITE-7396
                 URL: https://issues.apache.org/jira/browse/IGNITE-7396
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 2.4
            Reporter: Vyacheslav Koptilin
            Assignee: Vyacheslav Koptilin


In case of a newly joined node does not specify {{ATTR_DATA_REGIONS_OFFHEAP_SIZE}} via node
attributes, {{IgniteUtils.offheapSize()}} throws {{NullPointerException}}
{code}
[2018-01-11 12:57:14,257][ERROR][disco-event-worker-#222%cache%][GridDiscoveryManager] Unexpected
exception in discovery worker thread (ignored).
java.lang.NullPointerException
    at org.apache.ignite.internal.util.IgniteUtils.offheapSize(IgniteUtils.java:1250)
    at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager.ackTopology(GridDiscoveryManager.java:1485)
    at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager.access$9500(GridDiscoveryManager.java:166)
    at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoveryWorker.body0(GridDiscoveryManager.java:2644)
    at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoveryWorker.body(GridDiscoveryManager.java:2573)
    at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
    at java.lang.Thread.run(Thread.java:745)
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message