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

Jinmei Liao edited comment on GEODE-10092 at 3/9/22, 7:43 PM:
--------------------------------------------------------------

The test that failed with the invalid region size log is: 
RenameDunitTest.givenCrashDuringRename_thenDoesNotLeaveInconsistencies,

Note in this test, the negative region size is reported on a server, but the 
the original ticket is on the client, so this may not be the same code path 
that caused this problem.




was (Author: jinmeiliao):
The test that failed with the invalid region size log is: 
RenameDunitTest.givenCrashDuringRename_thenDoesNotLeaveInconsistencies,

> IllegalArgumentException: Illegal Capacity (with a negative value) thrown 
> from EntriesSet.toArray() in client
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-10092
>                 URL: https://issues.apache.org/jira/browse/GEODE-10092
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Jinmei Liao
>            Priority: Major
>              Labels: needsTriage, pull-request-available
>
> In some case, we see the following stack trace when executing 
> entriesSet.toArray() call: Exception java.lang.IllegalArgumentException: 
> Illegal Capacity: -40
>       at java.util.ArrayList.<init>(ArrayList.java:157)
>       at 
> org.apache.geode.internal.cache.EntriesSet.toArray(EntriesSet.java:251)
>       at 
> org.apache.geode.internal.cache.EntriesSet.toArray(EntriesSet.java:245)
> looks like the entriesSet.size() call will sometimes returns a negative value.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to