[
https://issues.apache.org/jira/browse/GEODE-10092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17502497#comment-17502497
]
Geode Integration commented on GEODE-10092:
-------------------------------------------
Seen in [distributed-test-openjdk8
#1312|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-mass-test-run/jobs/distributed-test-openjdk8/builds/1312]
... see [test
results|http://files.apachegeode-ci.info/builds/apache-develop-mass-test-run/1.16.0-build.0115/test-results/distributedTest/1646457440/]
or download
[artifacts|http://files.apachegeode-ci.info/builds/apache-develop-mass-test-run/1.16.0-build.0115/test-artifacts/1646457440/distributedtestfiles-openjdk8-1.16.0-build.0115.tgz].
> 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)