java.lang.IllegalArgumentException: Illegal initial capacity: -29933

DataStax JIRA | thisvieira | 4 years 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.

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Illegal initial capacity: -29933

    at java.util.HashMap.<init>()
  2. Java RT
    LinkedHashSet.<init>
    1. java.util.HashMap.<init>(HashMap.java:172)
    2. java.util.LinkedHashMap.<init>(LinkedHashMap.java:160)
    3. java.util.HashSet.<init>(HashSet.java:142)
    4. java.util.LinkedHashSet.<init>(LinkedHashSet.java:129)
    4 frames
  3. org.apache.cassandra
    SetType.compose
    1. org.apache.cassandra.db.marshal.SetType.compose(SetType.java:78)
    2. org.apache.cassandra.db.marshal.SetType.compose(SetType.java:29)
    2 frames
  4. DataStax Java Driver for Apache Cassandra - Core
    Row.getSet
    1. com.datastax.driver.core.Row.getSet(Row.java:624)
    2. com.datastax.driver.core.Row.getSet(Row.java:643)
    2 frames