[ 
https://issues.apache.org/jira/browse/IGNITE-9796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16646090#comment-16646090
 ] 

ASF GitHub Bot commented on IGNITE-9796:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/ignite/pull/4917


> 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
>             Fix For: 2.8
>
>
> {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