ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ignite TC Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-9796) NPE if you call array() method on empty GridLongList
Date Wed, 10 Oct 2018 18:13:00 GMT

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

Ignite TC Bot commented on IGNITE-9796:
---------------------------------------

{panel:title=Possible Blockers|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Hadoop{color} [[tests 0 TIMEOUT , Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=2008411]]
* IgniteHadoopFileSystemClientBasedDualAsyncSelfTest.testClientReconnect (last started)

{color:#d04437}Cache 5{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=2008475]]
* IgniteCacheTestSuite5: IgniteCachePartitionLossPolicySelfTest.testReadOnlyAll - 0,0% fails
in last 100 master runs.

{color:#d04437}Data Structures{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=2008476]]
* IgniteCacheDataStructuresSelfTestSuite: IgniteReplicatedSemaphoreSelfTest.testFailover -
0,0% fails in last 100 master runs.

{panel}
[TeamCity Run All|http://ci.ignite.apache.org/viewLog.html?buildId=2008494&amp;buildTypeId=IgniteTests24Java8_RunAll]

> 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