com.datastax.driver.core.exceptions.InvalidTypeException: Invalid 32-bits integer value, expecting 4 bytes but got 8

DataStax JIRA | Igor | 2 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.

    1 unregistered visitors

    Root Cause Analysis

    1. com.datastax.driver.core.exceptions.InvalidTypeException

      Invalid 32-bits integer value, expecting 4 bytes but got 8

      at com.datastax.driver.core.TypeCodec$IntCodec.deserializeNoBoxing()
    2. DataStax Java Driver for Apache Cassandra - Core
      ArrayBackedRow.getInt
      1. com.datastax.driver.core.TypeCodec$IntCodec.deserializeNoBoxing(TypeCodec.java:529)
      2. com.datastax.driver.core.ArrayBackedRow.getInt(ArrayBackedRow.java:80)
      3. com.datastax.driver.core.ArrayBackedRow.getInt(ArrayBackedRow.java:84)
      3 frames