You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vyacheslav Koptilin (JIRA)" <ji...@apache.org> on 2018/01/12 13:08:08 UTC

[jira] [Created] (IGNITE-7396) IgniteUtils.offheapSize may throw NullPointerException

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)