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:45:00 UTC
[jira] [Updated] (IGNITE-9796) NPE if you call array() method on
empty GridLongList
[ https://issues.apache.org/jira/browse/IGNITE-9796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eduard Shangareev updated IGNITE-9796:
--------------------------------------
Summary: NPE if you call array() method on empty GridLongList (was: NPE if you call array on empty GridLongList)
> NPE if you call array() method 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
> Priority: Major
>
> {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)