ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eduard Shangareev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-9796) NPE if you call array() method on empty GridLongList
Date Thu, 04 Oct 2018 22:08:00 GMT

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

Eduard Shangareev commented on IGNITE-9796:
-------------------------------------------

[~DmitriyGovorukhin], please, take a look.

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

Mime
View raw message