[ 
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)

Reply via email to