java.lang.IllegalArgumentException

initialArraySize cannot be negative but was: -2147483648

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • Stack trace

    • java.lang.IllegalArgumentException: initialArraySize cannot be negative but was: -2147483648 at com.google.common.collect.CollectPreconditions.checkNonnegative(CollectPreconditions.java:39) at com.google.common.collect.Lists.newArrayListWithCapacity(Lists.java:174) at com.datastax.driver.core.HostConnectionPool.initAsync(HostConnectionPool.java:114) at com.datastax.driver.core.SessionManager.replacePool(SessionManager.java:323) at com.datastax.driver.core.SessionManager.maybeAddPool(SessionManager.java:359) at com.datastax.driver.core.SessionManager.createPools(SessionManager.java:119) at com.datastax.driver.core.SessionManager.initAsync(SessionManager.java:89) at com.datastax.driver.core.Cluster.connectAsync(Cluster.java:336) at com.datastax.driver.core.Cluster.connectAsync(Cluster.java:309) at com.datastax.driver.core.Cluster.connect(Cluster.java:251)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.