You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dmitriy Govorukhin (JIRA)" <ji...@apache.org> on 2017/09/08 08:15:00 UTC

[jira] [Updated] (IGNITE-6307) If getAll() fails with NPE, onHeap entry is not removed, for local cache

     [ https://issues.apache.org/jira/browse/IGNITE-6307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitriy Govorukhin updated IGNITE-6307:
---------------------------------------
    Component/s: cache

> If getAll() fails with NPE, onHeap entry is not removed, for local cache
> ------------------------------------------------------------------------
>
>                 Key: IGNITE-6307
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6307
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 2.0
>            Reporter: Dmitriy Govorukhin
>             Fix For: 2.3
>
>
> GridCacheLocalFullApiSelfTest.testGetAllWithNulls
> {code}
>     final Set<String> c = new HashSet<>();
>         c.add("key1");
>         c.add(null);
>         GridTestUtils.assertThrows(log, new Callable<Void>() {
>             @Override public Void call() throws Exception {
>                 cache.getAll(c);
>                 return null;
>             }
>         }, NullPointerException.class, null);
> {code}
> After getAll, entry with "key1" will be in heap map, it is dependent of order in collection for getAll();



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