com.datastax.driver.core.exceptions.DriverInternalError: An unexpected error occured server side on /127.0.1.1: java.lang.IllegalArgumentException: Illegal Capacity: -1

DataStax JIRA | Joaquin Casares | 3 years ago
  1. 0

    setfetchsize in datastax java : when fetchSize == rowcount then it fails with exception DriverInternalError

    Stack Overflow | 2 years ago | niharika
    com.datastax.driver.core.exceptions.DriverInternalError: An unexpected error occurred server side on /122.248.212.139:9042: java.lang.IllegalArgumentException: Illegal Capacity: -1
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    This test failed on the new 2.0 branch when, I believe, failList attempts to use L_Q on a cluster with a SS keyspace, instead of an NTS keyspace. {CODE} Starting com.datastax.driver.core.ConsistencyTest.testRFOneDowngradingCL [1/1]... 0 [main] INFO com.datastax.driver.core.Cluster - New Cassandra host /127.0.1.2 added 8 [main] INFO com.datastax.driver.core.Cluster - New Cassandra host /127.0.1.3 added 2551 [main] INFO com.datastax.driver.core.CCMBridge - Force stopping: 127.0.1.2 3778 [main] INFO com.datastax.driver.core.TestUtils - Waiting for stopped node: 127.0.1.2 126921 [main] WARN com.datastax.driver.core.Cluster - Re-preparing already prepared query SELECT * FROM test WHERE k = ?. Please note that preparing the same query more than once is generally an anti-pattern and will likely affect performance. Consider preparing the statement only once. 156347 [main] INFO com.datastax.driver.core.CCMBridge - Error during tests, kept C* logs in /var/folders/mh/h_jxf_b943x5tl9kv_hf2j3h0000gn/T/1388701344772-0 com.datastax.driver.core.exceptions.DriverInternalError: An unexpected error occured server side on /127.0.1.1: java.lang.ClassCastException: org.apache.cassandra.locator.SimpleStrategy cannot be cast to org.apache.cassandra.locator.NetworkTopologyStrategy at com.datastax.driver.core.exceptions.DriverInternalError.copy(DriverInternalError.java:42) at com.datastax.driver.core.DefaultResultSetFuture.extractCauseFromExecutionException(DefaultResultSetFuture.java:256) at com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:172) at com.datastax.driver.core.SessionManager.execute(SessionManager.java:74) at com.datastax.driver.core.AbstractPoliciesTest.query(AbstractPoliciesTest.java:164) at com.datastax.driver.core.AbstractPoliciesTest.query(AbstractPoliciesTest.java:152) at com.datastax.driver.core.ConsistencyTest.testRFOneDowngradingCL(ConsistencyTest.java:405) {CODE}

    DataStax JIRA | 3 years ago | Joaquin Casares
    com.datastax.driver.core.exceptions.DriverInternalError: An unexpected error occured server side on /127.0.1.1: java.lang.ClassCastException: org.apache.cassandra.locator.SimpleStrategy cannot be cast to org.apache.cassandra.locator.NetworkTopologyStrategy
  4. 0

    This test failed on the new 2.0 branch when, I believe, failList attempts to use L_Q on a cluster with a SS keyspace, instead of an NTS keyspace. {CODE} Starting com.datastax.driver.core.ConsistencyTest.testRFOneDowngradingCL [1/1]... 0 [main] INFO com.datastax.driver.core.Cluster - New Cassandra host /127.0.1.2 added 8 [main] INFO com.datastax.driver.core.Cluster - New Cassandra host /127.0.1.3 added 2551 [main] INFO com.datastax.driver.core.CCMBridge - Force stopping: 127.0.1.2 3778 [main] INFO com.datastax.driver.core.TestUtils - Waiting for stopped node: 127.0.1.2 126921 [main] WARN com.datastax.driver.core.Cluster - Re-preparing already prepared query SELECT * FROM test WHERE k = ?. Please note that preparing the same query more than once is generally an anti-pattern and will likely affect performance. Consider preparing the statement only once. 156347 [main] INFO com.datastax.driver.core.CCMBridge - Error during tests, kept C* logs in /var/folders/mh/h_jxf_b943x5tl9kv_hf2j3h0000gn/T/1388701344772-0 com.datastax.driver.core.exceptions.DriverInternalError: An unexpected error occured server side on /127.0.1.1: java.lang.ClassCastException: org.apache.cassandra.locator.SimpleStrategy cannot be cast to org.apache.cassandra.locator.NetworkTopologyStrategy at com.datastax.driver.core.exceptions.DriverInternalError.copy(DriverInternalError.java:42) at com.datastax.driver.core.DefaultResultSetFuture.extractCauseFromExecutionException(DefaultResultSetFuture.java:256) at com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:172) at com.datastax.driver.core.SessionManager.execute(SessionManager.java:74) at com.datastax.driver.core.AbstractPoliciesTest.query(AbstractPoliciesTest.java:164) at com.datastax.driver.core.AbstractPoliciesTest.query(AbstractPoliciesTest.java:152) at com.datastax.driver.core.ConsistencyTest.testRFOneDowngradingCL(ConsistencyTest.java:405) {CODE}

    DataStax JIRA | 3 years ago | Joaquin Casares
    com.datastax.driver.core.exceptions.DriverInternalError: An unexpected error occured server side on /127.0.1.1: java.lang.ClassCastException: org.apache.cassandra.locator.SimpleStrategy cannot be cast to org.apache.cassandra.locator.NetworkTopologyStrategy

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.datastax.driver.core.exceptions.DriverInternalError

      An unexpected error occured server side on /127.0.1.1: java.lang.IllegalArgumentException: Illegal Capacity: -1

      at com.datastax.driver.core.exceptions.DriverInternalError.copy()
    2. DataStax Java Driver for Apache Cassandra - Core
      FetchingTest.simplePagingTest
      1. com.datastax.driver.core.exceptions.DriverInternalError.copy(DriverInternalError.java:42)
      2. com.datastax.driver.core.DefaultResultSetFuture.extractCauseFromExecutionException(DefaultResultSetFuture.java:256)
      3. com.datastax.driver.core.ArrayBackedResultSet.fetchMoreResultsBlocking(ArrayBackedResultSet.java:197)
      4. com.datastax.driver.core.ArrayBackedResultSet.isExhausted(ArrayBackedResultSet.java:135)
      5. com.datastax.driver.core.FetchingTest.simplePagingTest(FetchingTest.java:57)
      5 frames