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

DataStax JIRA | Andy Tolbert | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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