You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Eduard Shangareev (JIRA)" <ji...@apache.org> on 2018/10/04 21:26:00 UTC
[jira] [Created] (IGNITE-9796) NPE if you call array on empty
GridLongList
Eduard Shangareev created IGNITE-9796:
-----------------------------------------
Summary: NPE if you call array on empty GridLongList
Key: IGNITE-9796
URL: https://issues.apache.org/jira/browse/IGNITE-9796
Project: Ignite
Issue Type: Bug
Reporter: Eduard Shangareev
Assignee: Eduard Shangareev
{code}
/**
*
*/
public void testArray() {
GridLongList list = new GridLongList();
long[] array = list.array();
assertNotNull(array);
assertEquals(0, array.length);
}
{code}
That is it, current version of GridLongList would cause NPE.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)