[
https://issues.apache.org/jira/browse/GEODE-10092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17499256#comment-17499256
]
ASF subversion and git services commented on GEODE-10092:
---------------------------------------------------------
Commit 0c14807fb5151bfd1ec2ae14005a5a03429be638 in geode's branch
refs/heads/support/1.15 from Jinmei Liao
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=0c14807 ]
GEODE-10092: add more logging for future debug when region size gets below 0.
(#7402)
(cherry picked from commit 5ed8bd9378f6f13c803226a873fae6891d0a51ed)
> 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)