java.lang.IllegalArgumentException: initialArraySize cannot be negative but was: -2147483648

DataStax JIRA | Andy Tolbert | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0
  2. 0

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      initialArraySize cannot be negative but was: -2147483648

      at com.google.common.collect.CollectPreconditions.checkNonnegative()
    2. Guava
      Lists.newArrayListWithCapacity
      1. com.google.common.collect.CollectPreconditions.checkNonnegative(CollectPreconditions.java:39)
      2. com.google.common.collect.Lists.newArrayListWithCapacity(Lists.java:174)
      2 frames
    3. DataStax Java Driver for Apache Cassandra - Core
      Cluster.connect
      1. com.datastax.driver.core.HostConnectionPool.initAsync(HostConnectionPool.java:114)
      2. com.datastax.driver.core.SessionManager.replacePool(SessionManager.java:323)
      3. com.datastax.driver.core.SessionManager.maybeAddPool(SessionManager.java:359)
      4. com.datastax.driver.core.SessionManager.createPools(SessionManager.java:119)
      5. com.datastax.driver.core.SessionManager.initAsync(SessionManager.java:89)
      6. com.datastax.driver.core.Cluster.connectAsync(Cluster.java:336)
      7. com.datastax.driver.core.Cluster.connectAsync(Cluster.java:309)
      8. com.datastax.driver.core.Cluster.connect(Cluster.java:251)
      8 frames