[jira] [Commented] (IGNITE-9796) NPE if you call array() method on empty GridLongList

2018-10-11 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/IGNITE-9796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)


[jira] [Commented] (IGNITE-9796) NPE if you call array() method on empty GridLongList

2018-10-10 Thread Ignite TC Bot (JIRA)


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

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

{panel:title=No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
[TeamCity Run 
All|http://ci.ignite.apache.org/viewLog.html?buildId=2008494buildTypeId=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)


[jira] [Commented] (IGNITE-9796) NPE if you call array() method on empty GridLongList

2018-10-10 Thread Ignite TC Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/IGNITE-9796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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=2008494buildTypeId=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)


[jira] [Commented] (IGNITE-9796) NPE if you call array() method on empty GridLongList

2018-10-04 Thread Eduard Shangareev (JIRA)


[ 
https://issues.apache.org/jira/browse/IGNITE-9796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)


[jira] [Commented] (IGNITE-9796) NPE if you call array() method on empty GridLongList

2018-10-04 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on IGNITE-9796:


GitHub user EdShangGG opened a pull request:

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

IGNITE-9796 NPE if you call array() method on empty GridLongList



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/gridgain/apache-ignite ignite-9796

Alternatively you can review and apply these changes as the patch at:

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

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #4917


commit 534a0b0f4b7cd570fd10fcf69d8dcaf8fd2b944b
Author: Eduard Shangareev 
Date:   2018-10-04T21:45:42Z

IGNITE-9796 NPE if you call array() method 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)